public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Updated dynamic tick patches
@ 2005-08-31 18:49 Erik Andrén
  2005-09-02  8:52 ` Srivatsa Vaddagiri
  0 siblings, 1 reply; 10+ messages in thread
From: Erik Andrén @ 2005-08-31 18:49 UTC (permalink / raw)
  To: linux-kernel

Great job Srivatsa,
Does these patches compile nicely against 2.6.13?
Otherwise would it be possible for you to repost patches made against 
2.6.13 instead for more public testing?

With best regards
Erik Andrén

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Updated dynamic tick patches
@ 2005-08-31 16:58 Srivatsa Vaddagiri
  2005-09-01  5:23 ` Con Kolivas
  0 siblings, 1 reply; 10+ messages in thread
From: Srivatsa Vaddagiri @ 2005-08-31 16:58 UTC (permalink / raw)
  To: linux-kernel
  Cc: arjan, s0348365, kernel, tytso, cfriesen, rlrevell, trenn, george,
	johnstul, akpm

I have cleaned up dynamic tick patch that Con last posted. One issue
that is still to be addressed precisely is recovering lost ticks.

This is supposedly much easier with something like ACPI PM timer, but
I found that the code which calculates lost ticks in timer_pm.c is
not accurate. I have attempted to fix it (in the patch that follows).
With the fix, time has remained stable for ~36 hrs on one machine,
but the same fix does not help in another machine (time speeds up
by couple of seconds after 4-6 hrs). Hence I consider that it needs 
some more rework. Suggestion on accurate lost-tick recovery are wellcome.

Using TSC to recover ticks also is more tricky and hence I have not
enabled TSC support in these patches.

This patch does not address those machines where all CPUs have to
be put to sleep simulaneously (otherwise they dont work well
or something like that), as pointed out by Tony. We could
add support for such machines in another release if they
are common enough to come by.


Following patches related to dynamic tick are posted in separate mails,
for convenience of review. The first patch probably applies w/o dynamic
tick consideration also.

Patch 1/3  -> Fixup lost tick calculation in timer_pm.c
Patch 2/3  -> Dyn-tick cleanups
Patch 3/3  -> Use lost tick information in dyn-tick time recovery 

These patches are against 2.6.13-rc6-mm2.

Con, would be great if you can upload a consolidated new version of
dyn-tick patch on your website!


-- 


Thanks and Regards,
Srivatsa Vaddagiri,
Linux Technology Center,
IBM Software Labs,
Bangalore, INDIA - 560017

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-09-03 10:16 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-31 18:49 Updated dynamic tick patches Erik Andrén
2005-09-02  8:52 ` Srivatsa Vaddagiri
  -- strict thread matches above, loose matches on Subject: below --
2005-08-31 16:58 Srivatsa Vaddagiri
2005-09-01  5:23 ` Con Kolivas
2005-09-01 13:07   ` Tony Lindgren
2005-09-01 13:19     ` David Weinehall
2005-09-01 13:46       ` Tony Lindgren
2005-09-01 14:11     ` Srivatsa Vaddagiri
2005-09-02 17:34     ` Srivatsa Vaddagiri
2005-09-03 10:16       ` Tony Lindgren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox