[linux-pm] Use of parallel init threads for slow devices start ups?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

While doing some startup time profiling it is noticed we spend a lot of
time in the idle loop.  As there is only one thread initializing devices
there is no one to schedule during device start ups.  So for example an
external sensor might need a couple seconds to power up.

Does anyone want to give an opinion on forking off a parallel thread to
handle slower devices which are not dependent?

The init could be deferred but you still need to eat the wait time.  Its
nicest if a few devices can be doing their waiting at the same time.

This is true for boot time and for device resume time...

Regards,
Richard W.



[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux