[lkml]   [2005]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3
On Fri, 5 Aug 2005 22:37, Srivatsa Vaddagiri wrote:
> On Wed, Aug 03, 2005 at 06:05:28AM +0000, Con Kolivas wrote:
> > This is the dynamic ticks patch for i386 as written by Tony Lindgen
> > <> and Tuukka Tikkanen <>.
> > Patch for 2.6.13-rc5
> >
> > There were a couple of things that I wanted to change so here is an
> > updated version. This code should have stabilised enough for general
> > testing now.
> Con,
> I have been looking at some of the requirement of tickless idle CPUs in
> core kernel areas like scheduler and RCU. Basically, both power management
> and virtualization benefit if idle CPUs can cut off useless timer ticks.
> Especially from a virtualization standpoint, I think it makes sense that we
> enable this feature on a per-CPU basis i.e let individual CPUs cut off
> their ticks as and when they become idle. The benefit of this is more
> visible in platforms that host lot of (SMP) VMs on the same machine. Most
> of the time, these VMs may be partially idle (some CPUs in it are idle,
> some not) and it is good that we quiesce the timer ticks on the partial set
> of idle CPUs. Both S390 and Xen ports of Linux kernel have this ability
> today (S390 has it in mainline already and Xen has it out of tree).

Hi Srivatsa.

Thanks very much for your comments. The actual codebase for dynticks I've
never staked any claim to as it isn't mine. The demand for such a feature in
the kernel on multiple architectures appears to have reached critical mass
with mainline now considering another Hz change. This is why I decided to
champion this patch at this time by polishing and tweaking it (in purely
cosmetic ways). I mostly agree with your comments about limitations of this
patch and would like to see changes like those you describe done in an
arch-neutral fashion as well. I have not the hardware resources to develop
such code and would be more than happy if have generated enough interest in
dynticks for you to develop it further via whatever means. Knowing arm and
S390 already have dynticks makes it more important that cross-arch code is
consolidated sooner rather than later.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-08-05 15:22    [W:0.235 / U:4.824 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site