Port-macppc archive

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

Re: Clock disciplining



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 27, 2010, at 7:44 PM, der Mouse wrote:

(And, yes, there is a question mark in the CPU device name - it
surprised me too, but it works with dev and it works with
find-device.)
You have a G3 upgrade, do you?
Older Apple OF versions know only about 601, 603 and 604 CPUs,
everything else becomes 60?

I think so, but I'm not really competent to be sure.  There are
indications that I thought I do; my kernel config name includes "G3",
for example.  The kernel says

cpu0 at mainbus0: 750 (Revision 2.2), ID 0 (primary)
cpu0: HID0 8090c0a4<EMCP,DOZE,DPM,ICE,DCE,SGE,BTIC,BHT>, powersave: 1
cpu0: 305.88 MHz, no-parity 512KB WB L2 cache (PB SRAM) at 2:1 ratio

Yes, the PowerPC 750 family is what Apple likes to call 'G3' - we don't call our SuperSPARCs TMS390 either, do we? ;)

That's another thing that had occurred to me, but without looking I
couldn't tell how feasible it was to make that value run-time variable. (I've often enough seen things that are set up once at startup and then
end up with tantacles everywhere, so changing them live is messy.  If
timebase-frequency is not one of them, great; a sysctl would be a
splendid alternative.  I'll have to have a look.)

I think the value that actually counts is the number of decrementer ticks between timer interrupts. And I'm reasonably sure that even in SMP kernels all CPUs use the same variable here.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBTRlcHMpnzkX8Yg2nAQISqggAi9gLWtsbZksbwK6s6WZz+BGp6KXvxKrs
kMJFIgk7Kl8RNQv/Gjy8RnFcMb6LBrNozCvOPH4wsbZO5coqIHI5946j2l6h2ADo
efhpBAV1pzNHss9As7Q1s0JmYdE6NdlEp+ztry0ZNPcwuEpnBJx8izizcTEv/d2H
Ea0NRFhbmdqL+sa+LDNYvtLd/+U/w5JDhtKvDRohOoUCRv+0cxojL0jEUZRsCgJn
sxTzyCcvvH8+LbncPKCB8IWTkIUNrm9LooCUaQAcHP484b5bXF0ePvtonVT/d9ff
ufwfC3vgQcQxls/Tx+uumZ+gbfnjdyt8nQaqoQn7fOb4/Tlh8+5K+A==
=8Njk
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index