Re: eventtimers hiccups

From: Julian Elischer <julian_at_freebsd.org>
Date: Fri, 24 Dec 2010 20:57:28 -0800
On 12/24/10 6:31 AM, Stefan Farfeleder wrote:
> Hi,
>
> since the new eventtimers code was committed, my notebook (Dell
> Precision m4400) sometimes hangs for 10-30 seconds, mostly during load.
> In these periods I can move the mouse pointer but time (as perceived by
> time(1)) seems to be halted. This is accompanied by lots of calcru:
> runtime went backwards message, though sometimes they only show up when
> shutting down.
>
> I now set kern.eventtimer.periodic=1 and have not experienced such
> freezes since then. But it would be nice if the default settigs would
> work. Is there something I could do to help fixing this?
> BTW, I'm not using powerd.
>

I also need to set

kern.eventtimer.periodic=1

if I want my kernel to boot under Xen.

unfortunately it doesn't fix the problem when it doen't shut down.
(this is a Xen VPS from rootbsd.com)



> sysctl kern.eventtimer gives this output:
> kern.eventtimer.choice: HPET(450) HPET1(440) HPET2(440) HPET3(440) LAPIC(400) i8254(100) RTC(0)
> kern.eventtimer.et.LAPIC.flags: 15
> kern.eventtimer.et.LAPIC.frequency: 0
> kern.eventtimer.et.LAPIC.quality: 400
> kern.eventtimer.et.HPET.flags: 3
> kern.eventtimer.et.HPET.frequency: 14318180
> kern.eventtimer.et.HPET.quality: 450
> kern.eventtimer.et.HPET1.flags: 3
> kern.eventtimer.et.HPET1.frequency: 14318180
> kern.eventtimer.et.HPET1.quality: 440
> kern.eventtimer.et.HPET2.flags: 3
> kern.eventtimer.et.HPET2.frequency: 14318180
> kern.eventtimer.et.HPET2.quality: 440
> kern.eventtimer.et.HPET3.flags: 3
> kern.eventtimer.et.HPET3.frequency: 14318180
> kern.eventtimer.et.HPET3.quality: 440
> kern.eventtimer.et.RTC.flags: 17
> kern.eventtimer.et.RTC.frequency: 32768
> kern.eventtimer.et.RTC.quality: 0
> kern.eventtimer.et.i8254.flags: 1
> kern.eventtimer.et.i8254.frequency: 1193182
> kern.eventtimer.et.i8254.quality: 100
> kern.eventtimer.periodic: 1
> kern.eventtimer.timer: HPET
> kern.eventtimer.idletick: 0
> kern.eventtimer.singlemul: 2
>
> Cheers,
> Stefan
>
>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
Received on Sat Dec 25 2010 - 03:57:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:10 UTC