Re: [opensuse] opensuse 10.2 cpu info wrong
Hi Andreas,
Thank for your your insight. I did some tests on my machine and sure enough, under heavier loads it shows
the CPU clock speeds as 2GHZ (as it should be).
What I did not realize earlier was that cpuinfo is not a static file but is in fact updated by the system every 1 minute.
Thanks again.
Vahe
----- Original Message ----
From: Andreas Jaeger
Folks,
I am not sure this is an opensuse 10.2, or motherboard, or bios bug, but when I cat /proc/cpuinfo, I get two different speeds listed for two identical cpus on in my system (look at the listed cpu MHz entries) :
more /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 33 model name : Dual Core AMD Opteron(tm) Processor 270 stepping : 2 cpu MHz : 1000.000
That is the frequency the cpu currently runs at. We power down the cpu when it's idle. Give it some more to do and it will increase again. The feature is called cpu frequency scaling, you can control it with the powersave command. Everything is working fine ;-) Andreas -- Andreas Jaeger, Director Platform/openSUSE, aj@suse.de SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126 ____________________________________________________________________________________ Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Vahe Avedissian wrote:
Hi Andreas,
Thank for your your insight. I did some tests on my machine and sure enough, under heavier loads it shows the CPU clock speeds as 2GHZ (as it should be).
What I did not realize earlier was that cpuinfo is not a static file but is in fact updated by the system every 1 minute.
Thanks again.
Vahe
----- Original Message ---- From: Andreas Jaeger
To: Vahe Avedissian Cc: opensuse@opensuse.org Sent: Wednesday, September 26, 2007 10:29:46 AM Subject: Re: [opensuse] opensuse 10.2 cpu info wrong Vahe Avedissian
writes: Folks,
I am not sure this is an opensuse 10.2, or motherboard, or bios bug, but when I cat /proc/cpuinfo, I get two different speeds listed for two identical cpus on in my system (look at the listed cpu MHz entries) :
more /proc/cpuinfo processor : 0 vendor_id : AuthenticAMD cpu family : 15 model : 33 model name : Dual Core AMD Opteron(tm) Processor 270 stepping : 2 cpu MHz : 1000.000
That is the frequency the cpu currently runs at. We power down the cpu when it's idle. Give it some more to do and it will increase again.
The feature is called cpu frequency scaling, you can control it with the powersave command.
Everything is working fine ;-)
Andreas
The "files" in /proc are not really files. Think of the /proc structure as index keys for accessing actual kernel data structures. The read system call actually returns the current data from the specified data structure. You would have to scrounge through the kernel source to find the update period. I don't remember if it is triggered by an interrupt, or has a timer. I am pretty sure that it doesn't happen at every jiffy. Bill Anderson WW7BA -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Bill Anderson
-
Vahe Avedissian