Re: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 5

Nigel Cunningham
2005-08-08T07:05:20Z

Hi.

On Mon, 2005-08-08 at 12:44, Srivatsa Vaddagiri wrote:
> On Mon, Aug 08, 2005 at 11:30:23AM +1000, Con Kolivas wrote:
> > Tony said he had it lying around somewhere and needed to find time to dust it
> > off and get it up to speed.
>
> PPC64 is on my ToDo list as well. Will take it up after the dyn-tick is cleaned
> up for SMP.

An SMP related area you might want to look at (if you haven't already)
is hotplug cpu support. There seems to be some interaction between
dynticks and hotplug that prevents a CPU from getting to set its state
to CPU_DEAD (despite being in the idle function), while the thread
seeking to down it sits in __cpu_die waiting. I observed the issue while
testing Suspend2 - about 1 in 5 resumes would lock solid or have a big
delay at resume time (never when suspending, interestingly). Turning off
dynticks allowed me to do 15 successful resumes on the trot.

Regards.

Nigel
--
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.