Re: [PATCHSET] Announce: High-res timers, tickless/dyntick and dynamic HZ -V4

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

 



On Fri, 2006-06-30 at 20:07 +0200, Pavel Machek wrote:
> Hi!
> 
> > > I briefly tested -dyntick5 on my thinkpad, and it seems to work
> > > okay... but timer still seems to tick at 250Hz.
> > 
> > > ...am I doing something wrong?
> > 
> > can you send me the bootlog and your .config file please ?
> 
> ...attached. (I do not have to enable anything in sysfs/commandline to
> enable noidlehz, right?).

Right. 

You trapped into the no apic on SMP trap. I did not come around to fix
that yet. What happens that you don't have lapic on the commandline and
BIOS has lapic disabled. Therefor Linux switches to IPI broadcasting if
the PIT interrupt, which does not work with idle_hz and highres timer as
those are per cpu. I will fix that for SMP kernels which bring up only
one CPU.

You can work around that for now by either using an UP kernel or
enabling local APIC, which is recommended anyway because the APIC timer
is faster to access and has longer max time than PIT.

> On a related note, swapoff -a, echo disk > /sys/power/state is enough
> to kill the machine in timer_resume code with this patch applied.
> 									Pavel

Will look into that. Thanks,

	tglx


-
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]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux