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

2005-08-12 Thread George Anzinger
Bill Davidsen wrote: George Anzinger wrote: Srivatsa Vaddagiri wrote: On Tue, Aug 09, 2005 at 12:36:58PM -0700, George Anzinger wrote: IMNOHO, this is the ONLY way to keep proper time. As soon as you reprogram the PIT you have lost track of the time. George, Can't TSC (or equivale

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

2005-08-11 Thread Bill Davidsen
George Anzinger wrote: Srivatsa Vaddagiri wrote: On Tue, Aug 09, 2005 at 12:36:58PM -0700, George Anzinger wrote: IMNOHO, this is the ONLY way to keep proper time. As soon as you reprogram the PIT you have lost track of the time. George, Can't TSC (or equivalent) serve as a backup wh

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

2005-08-10 Thread George Anzinger
Srivatsa Vaddagiri wrote: On Tue, Aug 09, 2005 at 12:36:58PM -0700, George Anzinger wrote: IMNOHO, this is the ONLY way to keep proper time. As soon as you reprogram the PIT you have lost track of the time. George, Can't TSC (or equivalent) serve as a backup while PIT is disabled, e

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

2005-08-10 Thread Srivatsa Vaddagiri
On Tue, Aug 09, 2005 at 12:36:58PM -0700, George Anzinger wrote: > IMNOHO, this is the ONLY way to keep proper time. As soon as you > reprogram the PIT you have lost track of the time. George, Can't TSC (or equivalent) serve as a backup while PIT is disabled, especially considering that

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

2005-08-09 Thread George Anzinger
Srivatsa Vaddagiri wrote: On Sun, Aug 07, 2005 at 03:12:21PM +1000, Con Kolivas wrote: Respin of the dynamic ticks patch for i386 by Tony Lindgen and Tuukka Tikkanen with further code cleanups. Are were there yet? Con, I am afraid until SMP correctness is resolved, then this is not i

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

2005-08-08 Thread Daniel Petrini
Hi Folkert, Yes, there are some utilities. You can use pmstats-0.2 (look for the link in past messages) or timertop (sent some minutes ago in LKML). Regards, Daniel On 8/8/05, Folkert van Heusden <[EMAIL PROTECTED]> wrote: > Are there any tools for checking the current number of ticks? > I curren

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

2005-08-08 Thread Folkert van Heusden
Are there any tools for checking the current number of ticks? I currently do: #!/bin/sh S1=`cat /proc/interrupts | grep "^ 0: " | awk '{ print $2; }'` sleep 1 S2=`cat /proc/interrupts | grep "^ 0: " | awk '{ print $2; }'` echo $((S2-S1)) But that gives me output like this on a quiet system with

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

2005-08-08 Thread Srivatsa Vaddagiri
On Mon, Aug 08, 2005 at 12:38:23AM -0700, Tony Lindgren wrote: > It should not matter when the PIT gets reprogrammed, as the system time is > not updated from PIT timer. Jiffies are calculated from a second timer, such > as ACPI PM timer or TSC. I am more worried about timer latencies and its effe

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

2005-08-08 Thread Tony Lindgren
* Srivatsa Vaddagiri <[EMAIL PROTECTED]> [050807 09:58]: > On Sun, Aug 07, 2005 at 03:12:21PM +1000, Con Kolivas wrote: > > Respin of the dynamic ticks patch for i386 by Tony Lindgen and Tuukka > > Tikkanen > > with further code cleanups. Are were there yet? > > Con, > I am afraid until SM

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

2005-08-08 Thread Nigel Cunningham
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 a

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

2005-08-07 Thread Srivatsa Vaddagiri
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. -- Thanks and Regards, Srivat

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

2005-08-07 Thread Gabriel Devenyi
Along the same lines, is there an x86_64 patch around? On August 07, 2005 21:30, Con Kolivas wrote: > On Mon, 8 Aug 2005 11:20 am, Kyle Moffett wrote: > > On Aug 7, 2005, at 19:51:25, Con Kolivas wrote: > > > On Mon, 8 Aug 2005 02:58, Srivatsa Vaddagiri wrote: > > >> Con, > > >> I am afraid un

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

2005-08-07 Thread Con Kolivas
On Mon, 8 Aug 2005 11:20 am, Kyle Moffett wrote: > On Aug 7, 2005, at 19:51:25, Con Kolivas wrote: > > On Mon, 8 Aug 2005 02:58, Srivatsa Vaddagiri wrote: > >> Con, > >> I am afraid until SMP correctness is resolved, then this is not > >> in a position to go in (unless you want to enable it onl

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

2005-08-07 Thread Kyle Moffett
On Aug 7, 2005, at 19:51:25, Con Kolivas wrote: On Mon, 8 Aug 2005 02:58, Srivatsa Vaddagiri wrote: Con, I am afraid until SMP correctness is resolved, then this is not in a position to go in (unless you want to enable it only for UP, which I think should not be our target). I am working

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

2005-08-07 Thread Con Kolivas
On Mon, 8 Aug 2005 02:58, Srivatsa Vaddagiri wrote: > On Sun, Aug 07, 2005 at 03:12:21PM +1000, Con Kolivas wrote: > > Respin of the dynamic ticks patch for i386 by Tony Lindgen and Tuukka > > Tikkanen with further code cleanups. Are were there yet? > > Con, > I am afraid until SMP correctnes

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

2005-08-07 Thread Srivatsa Vaddagiri
On Sun, Aug 07, 2005 at 03:12:21PM +1000, Con Kolivas wrote: > Respin of the dynamic ticks patch for i386 by Tony Lindgen and Tuukka > Tikkanen > with further code cleanups. Are were there yet? Con, I am afraid until SMP correctness is resolved, then this is not in a position to go in (u

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

2005-08-06 Thread Con Kolivas
Respin of the dynamic ticks patch for i386 by Tony Lindgen and Tuukka Tikkanen with further code cleanups. Are were there yet? Cheers, Con --- This is the dynamic ticks patch for i386 as written by Tony Lindgen <[EMAIL PROTECTED]> and Tuukka Tikkanen <[EMAIL PROTECTED]>, and modified by Con Ko