|
From: Patrick B. <der...@gm...> - 2007-07-18 08:55:34
|
> Sounds like a good feature: to the extent per-process power states are
> useful, it really should be implemented per-thread.
Fortunately, since linux implement thread as LWP, the dpmstate info embedded
within the task_struct is available for threads too. Threads already inherit
dpmstate from their thread leader... anyway the procfs DPM interface doesn't
export that param for task but just for processes. The simple patch I've
posted previously add that feature so that we find a dpmstate attrib even
within proc task subdirs.
> From what I've
> seen of DPM implementations, the per-process power states haven't been
> heavily used for whatever reason, possibly that assigning
> power/performance tradeoffs to particular processes is an advanced
> topic and most folks are primarily concerned with the basics.
Me I'm just investigating on those issues.... and I confirm: it's not trivial.
The main issue we are focusing is how to "understand" power/performances
threadoff for each process. The idea up-to-now is to try infering that
information by looking at how processes "use" OS services...
Another issue is related to overhead compensation: how much frequently we
could change OP without losing benefits of operating at the best OP for each
task.
> It would be interesting to see a usage of per-thread power states.
Regards,
Patrick
--
<---------------------------------------------------------------------------------------------------------->
DERKLING
LRU 338214 (http://counter.li.org)
make linux | more > user-firendly
<---------------------------------------------------------------------------------------------------------->
Patrick Bellasi <derkling at users dot sourceforge dot net>
PhD Student on Computer Science at Politecnico di Milano
Contacts:
- ICQ 344672588
- MSN derkling at yahoo dot it
- Skype derkling
Personal Sites:
- Bookmarks http://del.icio.us/derkling
- Bibliography http://www.bibsonomy.org/user/derkling
- Music taste http://www.last.fm/user/derkling/
Privacy:
- GnuPG 0x72ABC1EE (keyserver.linux.it)
pub 1024D/72ABC1EE 2003-12-04 Patrick Bellasi
Key fingerprint: 3958 7B5F 36EC D1F8 C752 9589 C3B7 FD49 72AB C1EE
<---------------------------------------------------------------------------------------------------------->
|