The project has some excellent "getting started" documentation describing how to configure a system and run the suspend resume analysis script which should be read before diving in too deep.
For the impatient, one can do try it out using the following:
git clone https://github.com/01org/suspendresume.git
cd suspendresume
sudo ./analyze_suspend.py
..and manually resume once after the machine has completed a successful suspend.
This will create a directory containing dumps of the kernel log and ftrace output as well as an html web page that one can read into your favourite web browser to view the results. One can zoom in/out of the web page to drill down and see where the delays are occurring, an example from the SuspendResume project page is shown below:
example webpage (from https://01.org/suspendresume) |
It is a useful project, kudos to Intel for producing it. I thoroughly recommend using it to identify the delays in suspend/resume.
No comments:
Post a Comment