Port-macppc archive

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

Re: ntpd working for anyone on SMP macs?



> Stupid question: is ntpd working for anyone using a SMP macppc machine?
> 
> For me it syncs for a short while, but then loses sync again.
> Typical ntpq -p output:
> 
>      remote           refid      st t when poll reach   delay   offset  jitter
> ==============================================================================
>  emmas.aprisoft. 78.46.53.2       3 u   57   64   37    0.218  +112.63 305.039
> 
> 
> Something wrong with the cpu cycle counters?
> 
> Martin

Seems to work reasonably well for me:

bramley: {1} ntpq -c pe
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*anduin.net      129.242.4.241    2 u  692 1024  377   23.746   -3.680  82.747
+takk.signal.no  194.58.203.20    2 u  441 1024  377   32.550   +2.862 194.160
 time.cloudflare .INIT.          16 u    - 1024    0    0.000   +0.000   0.000
+time.cloudflare 10.128.9.5       3 u  257 1024  377   22.577   +1.419  97.178
bramley: {2} 
bramley: {2} ntpq -c hostname\ no -c pe
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*185.42.170.200  129.242.4.241    2 u  707 1024  377   23.746   -3.680  82.747
+80.89.32.122    194.58.203.20    2 u  456 1024  377   32.550   +2.862 194.160
 2606:4700:f1::1 .INIT.          16 u    - 1024    0    0.000   +0.000   0.000
+162.159.200.1   10.128.9.5       3 u  272 1024  377   22.577   +1.419  97.178
bramley: {3}

bramley: {3} ntpq -c rv
associd=0 status=0615 leap_none, sync_ntp, 1 event, clock_sync,
version="ntpd 4.2.8p14-o Mon May 25 15:53:34 EDT 2020 (import)",
processor="macppc", system="NetBSD/9.99.88", leap=00, stratum=3,
precision=-19, rootdelay=45.459, rootdisp=82.291, refid=185.42.170.200,
reftime=e5894331.76b6eb19  Wed, Jan 12 2022 13:08:17.463,
clock=e5894a72.ae5e6a2a  Wed, Jan 12 2022 13:39:14.681, peer=26953,
tc=10, mintc=3, offset=-0.765959, frequency=+22.848, sys_jitter=7.399404,
clk_jitter=3.758, clk_wander=0.182
bramley: {4} 

bramley: {5} dmesg | grep cpu
[     1.000000] cpu0 at mainbus0: 7455 (Revision 3.3), ID 0 (primary)
[     1.000000] cpu0: HID0 0x84d0c1bc<EMCP,TBEN,HIGH_BAT_EN,NAP,DPM,ICE,DCE,XBSEN,SGE,BTIC,LRSTK,FOLD,BHT>, powersave: 1
[     1.000000] cpu0: 1250.00 MHz, 256KB L2 cache no parity, 2MB no-parity L3 cache (DDR SRAM) at 6:1 ratio
[     1.000000] cpu1 at mainbus0: 7455 (Revision 3.3), ID 1
[     1.000000] cpu1: HID0 0x84d0c1bc<EMCP,TBEN,HIGH_BAT_EN,NAP,DPM,ICE,DCE,XBSEN,SGE,BTIC,LRSTK,FOLD,BHT>, powersave: 1
[     1.000000] cpu1: 1250.00 MHz, 256KB L2 cache no parity, 2MB no-parity L3 cache (DDR SRAM) at 6:1 ratio
[     1.099998] cpu1 started
bramley: {6}

bramley: {6} uname -a
NetBSD bramley.urc.uninett.no 9.99.88 NetBSD 9.99.88 (GENERIC.MP) #0: Wed Sep 15 13:16:57 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/macppc/compile/GENERIC.MP macppc
bramley: {7}

bramley: {7} sysctl -a | grep timecount
kern.timecounter.choice = clockinterrupt(q=0, f=100 Hz) mftb(q=100, f=41658945 Hz) dummy(q=-1000000, f=1000000 Hz)
kern.timecounter.hardware = mftb
kern.timecounter.timestepwarnings = 0
bramley: {8}

This is with a dual-CPU Apple PowerMac G4 "mirror drive doors" system.
...and I've not kept it fully up to date...

Regards,

- Havard


Home | Main Index | Thread Index | Old Index