Re: "sysctl-like" command for finding processor speed?
Paul de Weerd <paul@mail.me.maar.nu> wrote this (and much more):
...
> A sysctl would be usefull for an architecture independant
> solution,
...
Problem is that CPU clockrate isn't architecture independent. Even
with the pentium, there is the CPU core speed and the bus speed. With
many laptops, the CPU clock rate can change depending on the battery
and power (APM/ACPI) settings. Clock speed between even AMD and Intel
parts aren't, strictly speaking, comparable, and clock rates between
sparc, ppc, and intel are of course just silly. There's always been a
tradeoff between synchronous and asynchronouse digital logic, even back
in the days of vacuum tube computers, and I heard a rumour that sun is
designing an "asynchronous" CPU (which might conceivably mean no clock
at all.)
What might be useful is the whole "CPU" line that comes out of the
kernel, much like the "kern.version" string that already exists. I'm
not sure it's useful for much past labels on automated benchmark
results though.
-Marcus Watts
Received on Fri Feb 28 07:12:02 2003
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 13:33:19 EDT
|