Updated dynamic tick patches
From: Srivatsa Vaddagiri (vatsa_at_in.ibm.com)
Date: 08/31/05
- Previous message: Srivatsa Vaddagiri: "[PATCH 1/3] Updated dynamic tick patches - Fix lost tick calculation in timer_pm.c"
- Next in thread: Srivatsa Vaddagiri: "[PATCH 3/3] Updated dynamic tick patches - Recover walltime upon wakeup"
- Reply: Srivatsa Vaddagiri: "[PATCH 3/3] Updated dynamic tick patches - Recover walltime upon wakeup"
- Reply: Srivatsa Vaddagiri: "[PATCH 1/3] Updated dynamic tick patches - Fix lost tick calculation in timer_pm.c"
- Reply: Srivatsa Vaddagiri: "[PATCH 2/3] Updated dynamic tick patches - Cleanup"
- Maybe reply: Erik Andrén: "Re: Updated dynamic tick patches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 31 Aug 2005 22:28:43 +0530 To: linux-kernel@vger.kernel.org
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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Srivatsa Vaddagiri: "[PATCH 1/3] Updated dynamic tick patches - Fix lost tick calculation in timer_pm.c"
- Next in thread: Srivatsa Vaddagiri: "[PATCH 3/3] Updated dynamic tick patches - Recover walltime upon wakeup"
- Reply: Srivatsa Vaddagiri: "[PATCH 3/3] Updated dynamic tick patches - Recover walltime upon wakeup"
- Reply: Srivatsa Vaddagiri: "[PATCH 1/3] Updated dynamic tick patches - Fix lost tick calculation in timer_pm.c"
- Reply: Srivatsa Vaddagiri: "[PATCH 2/3] Updated dynamic tick patches - Cleanup"
- Maybe reply: Erik Andrén: "Re: Updated dynamic tick patches"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- RE: [rfc patch] Re: sched: incorrect argument used in task_hot()
... reference timestamp at both tick and sched times to prevent said ...
evaluation and timestamp adjustment accuracy for task migration. ... Patch on top
of yours. ... (Linux-Kernel) - [PATCH 1/3] Updated dynamic tick patches - Fix lost tick calculation in timer_pm.c
... > tick consideration also. ... of microseconds that has elapsed since
the last tick. ... Following patch is in that direction. ... -static u32
offset_delay; ... (Linux-Kernel) - Re: setitimer timer expires too early
... > tick, we can wait just one tick, but not if we are 800 usecs inside the ...
My patch, which uses human-time (or at least more so ... on adding timers, take
the ceiling of the interval into which it could be added ... send the line "unsubscribe linux-kernel"
in ... (Linux-Kernel) - Re: clockevents: fix resume logic
... We need to make sure, that the clockevent devices are resumed, before ... event
devices before resuming the tick / oneshot functionality. ... This patch broke the
jinxed vaio. ... (Linux-Kernel) - Re: Warning: DBXpress recovery program
... If you are otherwise fully patched at Windows Updates, then download this patch
and you won't have to worry about losing messages. ... folders to be lost if you interrupt
the compacting process. ... I know almost a dozen persons who have tried the recovery program
... (microsoft.public.windows.inetexplorer.ie6_outlookexpress)