public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] pm: device parallel resume mechanism
@ 2008-12-19  6:34 Zhang Rui
  2008-12-19 17:15 ` Rafael J. Wysocki
  0 siblings, 1 reply; 4+ messages in thread
From: Zhang Rui @ 2008-12-19  6:34 UTC (permalink / raw)
  To: linux-pm, linux-acpi, linux-pci
  Cc: Rafael J. Wysocki, Len Brown, Barnes, Jesse, Zhang, Rui

Hi, all,

The resume process can be split into 3 parts, BIOS resume time, kernel
resume time and X/application resume time.
And device resume takes most of the kernel resume time.
this patch set introduces a new mechanism to resume device in parallel
which can reduce the device resume time a lot.

In this proposal, some devices can create its own workqueue for
parallel resume. And for all the other devices that depends on this
device, their resume methods are queued in the same workqueue.
And we flush all the workqueues before resuming X/applications.

As the devices vary from different platforms. it's hard to give an exact
number of how much time it can reduce.
Here are some of my test results:
1. eeepc901, kernel resume time can be reduced from about 2.1 seconds to
1.6 seconds.
2. a SantaRosa testbox, kernel resume time can be reduced from about
3.5s to 2s.

please review this patch. Any comments are welcome. :)

thanks,
rui

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-12-22 20:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-19  6:34 [RFC PATCH 0/3] pm: device parallel resume mechanism Zhang Rui
2008-12-19 17:15 ` Rafael J. Wysocki
2008-12-22  3:12   ` Zhang Rui
2008-12-22 20:19     ` Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox