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>

index | next in thread | raw e-mail

Hi!

Did you ever get a solution for this?  I’m having the same problem on a PowerMac G4 “quicksilver” machine.

Thanks!
Rick


> On Tue, Apr 08, 2014 at 10:41:44AM -0400, John Baldwin wrote:
> > It wouldn’t 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.
> 
> 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.
> 
> Does not look I can do much about it though:
> 
>   $ 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
> 
> ./danfe


home | help

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