Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Vaidyanathan Srinivasan
Date: Monday, April 19, 2010 - 9:50 pm

* Peter Zijlstra <peterz@infradead.org> [2010-04-19 21:01:41]:


Indicating required system capacity to the loadbalance and using that
information to evacuate cores or socket was the basic idea.  

Ref: http://lkml.org/lkml/2009/5/13/173

The challenges with that approach is the predictable evacuation or
forced idleness is not guaranteed.


Integrating with the load balancer will make the design cleaner and
avoid forcefully running an idle thread.  The scheduler should
schedule 'nothing' so that idleness can happen and cpuidle governor
can take care of idle states.


Well, this is an ideal goal.  Injecting some amount of idle time
across all cores/threads preferably with overlapping time window will
save quite a lot of power on x86.  But atleast overlapping idle times
among sibling threads are required to get any power savings.

This proposed approach does not yet have the ability to do overlapping
idle times, though they may randomly occur.


Atleast integrating this with ACPI cpu aggregation driver can be a good
first step.  Both the drivers and code are for the same power capping
purpose using idle time injection and running an high priority idle
thread for short duration.

ACPI Processor Aggregator Driver for 2.6.32-rc1
Ref: http://lkml.org/lkml/2009/10/3/13

--Vaidy

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/3] [kidled]: introduce kidled., Salman, (Tue Apr 13, 5:08 pm)
[PATCH 2/3] [kidled]: Add eager injection., Salman, (Tue Apr 13, 5:08 pm)
Re: [PATCH 1/3] [kidled]: introduce kidled., Andi Kleen, (Wed Apr 14, 2:49 am)
Re: [PATCH 1/3] [kidled]: introduce kidled., Salman Qazi, (Wed Apr 14, 8:41 am)
Re: [PATCH 1/3] [kidled]: introduce kidled., Peter Zijlstra, (Thu Apr 15, 12:46 am)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Arjan van de Ven, (Sat Apr 17, 10:57 am)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Vaidyanathan Srinivasan, (Mon Apr 19, 9:50 pm)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Vaidyanathan Srinivasan, (Mon Apr 19, 10:00 pm)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Arjan van de Ven, (Tue Apr 20, 10:08 pm)
Re: [PATCH 0/3] [idled]: Idle Cycle Injector for power capping, Vaidyanathan Srinivasan, (Thu Apr 22, 12:02 pm)