Re: [ck] [PATCH] dynamic-tick patch modified for SMP

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

 



On Sat, 13 Aug 2005 21:37, Srivatsa Vaddagiri wrote:
> On Sat, Aug 13, 2005 at 04:51:07PM +1000, Con Kolivas wrote:
> > I'm sorry to say this doesn't appear to skip any ticks on my single P4
> > with SMP/SMT enabled.
>
> Con,
> 	I had enabled skipping ticks only in default_idle routine. So if
> you have a different idle route (which I suspect is the case), it will not
> skip ticks (since dyn_tick_reprogram_timer will not be called).
> Can you try this patch?

Indeed this fixes it on my P4 so that it does skip ticks. However presumably 
due to the code change I am having the reverse behaviour from previously - it 
pauses for ages when using PIT - worse so than previously in that if I dont 
generate interrupts with my mouse or keyboard it just sits there 
indefinitely. Having said that, it seems to work fine in APIC mode. 

Without any modifications yet (I won't touch the code while you're busy with 
it), here is a rolled up patch of yours on top of mine for those wanting to 
try all the code:

http://ck.kolivas.org/patches/dyn-ticks/2.6.13-rc6-dtck-2.patch

Cheers,
Con
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]
  Powered by Linux