Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 May 2007 14:09:12 +0200 (CEST)
From:      Martin Dieringer <martin.dieringer@gmx.de>
To:        Ian Smith <smithi@nimnet.asn.au>
Cc:        Clayton Milos <clay@milos.co.za>, freebsd-stable@freebsd.org, Jeremy Chadwick <koitsu@freebsd.org>
Subject:   Re: clock too slow - big time offset with ntpdate
Message-ID:  <20070502140536.K860@thinkpad.dieringer.dyndns.org>
In-Reply-To: <20070502132901.L860@thinkpad.dieringer.dyndns.org>
References:  <Pine.BSF.3.96.1070502190217.7307B-100000@gaia.nimnet.asn.au> <20070502132901.L860@thinkpad.dieringer.dyndns.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 2 May 2007, Martin Dieringer wrote:

> On Wed, 2 May 2007, Ian Smith wrote:
>
>> On Wed, 2 May 2007, Martin Dieringer wrote:
>> > On Tue, 1 May 2007, Martin Dieringer wrote:
>> >
>> > > On Tue, 1 May 2007, Clayton Milos wrote:
>> > >
>> > >>> Hi,
>> > >>>
>> > >>> I get about half a second time offsets after 10 seconds, and more
>> > >>> than 100s after half an hour or so.
>> > >>> I think it has to do with powerd, if I kill that, the time stays 
>> correct.
>> > >>> It happens both on a Compaq nc4000 and an IBM ThinkPad T42p laptop.
>> > >>>
>> > >>> Can this be solved?
>> > >>> thanks
>> > >>> m.
>> > >>
>> > >> This has got to do with the speed stepping of the CPU to save battery.
>> > >> Far as I know there's no fix yet.
>> > >>
>> > >> Guys is it possible to hack powerd to change a sysctl variable when it
>> > >> changes the CPU frequency or isn't it that simple?
>> > >
>> > >
>> > > Another effect of the problem seems to be the intermittent sound
>> > > output. Playback is ok when powerd is killed.
>> > > When changing freq by sysctl, I still get hickups in sound, so this
>> > > would be no solution.
>> >
>> > the hiccups have reappeared, so they are not related to powerd.
>> >
>> > I still have 0.5 seconds time offsets after 10 minutes, on the
>> > thinkpad, without powerd...
>> 
>> I'm wondering if this might have to do with power_profile's settings of
>> hw.acpi.cpu.cx_lowest when moving from AC to battery power?
>
>
> I don't have these values, are they ACPI?
> I switched off ACPI on both machines, but I use APM.



Might this have to do with it?
Now I got following while playing sound on the Compaq:

kernel: calcru: runtime went backwards from 183711700 usec to 183167434 usec for pid 12 (swi4: clock sio)

here I have a working clock, but also intermittent sound output

m.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070502140536.K860>