Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 2015 14:36:52 -0800
From:      Rick Thomas <rbthomas@pobox.com>
To:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Cc:        danfe@nsu.ru
Subject:   Re: System clock falls behind quickly on Mac mini G4
Message-ID:  <9BE10E2F-D281-4E4F-9575-1A41F61AA068@pobox.com>

next in thread | raw e-mail | index | archive | help
Hi!

Did you ever get a solution for this?  I=92m having the same problem on =
a PowerMac G4 =93quicksilver=94 machine.

Thanks!
Rick


> On Tue, Apr 08, 2014 at 10:41:44AM -0400, John Baldwin wrote:
> > It wouldn=92t be tsc_freq on a powerpc box.  You'd need to see what =
your
> > time counter is and what frequency it is using (kern.timecounter =
nodes)
> > and see if that is adjustable.
>=20
> Yup, sorry; I forgot that our TSC maps to actual x86 Time Stamp =
Counter,
> not being some aggregated MI relatively high-precision time keeping =
thing.
>=20
> Does not look I can do much about it though:
>=20
>   $ sysctl kern.timecounter
>   kern.timecounter.fast_gettime: 1
>   kern.timecounter.tick: 2
>   kern.timecounter.choice: timebase(0) dummy(-1000000)
>   kern.timecounter.hardware: timebase
>   kern.timecounter.alloweddeviation: 5
>   kern.timecounter.stepwarnings: 0
>   kern.timecounter.tc.timebase.mask: 4294967295
>   kern.timecounter.tc.timebase.counter: 3224483187
>   kern.timecounter.tc.timebase.frequency: 41620907
>   kern.timecounter.tc.timebase.quality: 0
>=20
> ./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9BE10E2F-D281-4E4F-9575-1A41F61AA068>