[lkml]   [2005]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] i386 No-Idle-Hz aka Dynamic-Ticks 3
On Thu, 4 Aug 2005 05:54, Jeffrey Hundstad wrote:
> 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.
> >
> >The sysfs interface was moved to its own directory
> >in /sys/devices/system/dyn_tick and split into separate files to
> >enable/disable dynamic ticks and usage of apic on the fly. It makes sense
> > to enable dynamic ticks and usage of apic by default if they're actually
> > built into the kernel so that is now done.
> I am successfully running the dynamic tick patch on an old IBM ThinkPad
> A22m. When I enable the APIC support console beeps, you know bash -c
> 'echo -e "\a"', takes a REALLY long time to finish. I'm assuming this
> is a badly written program and not a kernel problem. Correct?

I think the config option which recommends leaving apic support off and
describes this behaviour should make it clearer. Indeed I found running with
apic on produced weird results unlike running with PIT.

> BTW: how do you know what HZ your machine is running at?

vmstat 5 will show you the average interrupts per second over 5 seconds in the
"in" column. The interrupts are obviously more than your Hz but often only a
little more.

The pmstats script by Tony will tell you more accurately:

[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-08-03 23:20    [W:0.213 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site