hwinfo --cpu (Tyan K8E) gives less GHZ than other motherboards

Hello I got a Tyan K8E and loaded SuSE 9.3 on it. With the original BIOS (1.0), hwinfo --cpu reports 1.0GHz. With the latest and greatest BIOS 2.01, hwinfo --cpu reports 1.8GHz. This is with an AMD Athlon 64 3000+. Two other motherboards (Gigabyte and Asus) report 2.0GHz with the same CPU. I wrote a device driver and also compared TSCs and jiffies and got the same results. Does anyone else see this? No answer from Tyan yet. TIA & Cheers

On Wednesday 17 August 2005 07:37, Pierre Patino wrote:
Hello I got a Tyan K8E and loaded SuSE 9.3 on it. With the original BIOS (1.0), hwinfo --cpu reports 1.0GHz. With the latest and greatest BIOS 2.01, hwinfo --cpu reports 1.8GHz. This is with an AMD Athlon 64 3000+. Two other motherboards (Gigabyte and Asus) report 2.0GHz with the same CPU. I wrote a device driver and also compared TSCs and jiffies and got the same results. Does anyone else see this? No answer from Tyan yet.
The actual speed on an Athlon64 and recent Opterons can be changed - the powersaved is responsible for that. There's nothing wrong with lower reported clock speeds. That's what I get:
/usr/sbin/hwinfo --cpu 01: None 00.0: 10103 CPU [Created at cpu.290] Unique ID: rdCR.j8NaKXDZtZ6 Hardware Class: cpu Arch: X86-64 Vendor: "AuthenticAMD" Model: 15.4.8 "AMD Athlon(tm) 64 Processor 3200+" Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,pni,syscall,nx,mmxext,lm,3dnowext,3dnow Clock: 2000 MHz Cache: 1024 kb Config Status: cfg=no, avail=yes, need=no, active=unknown
(this is a loaded machine, running a background job) # /usr/sbin/hwinfo --cpu 01: None 00.0: 10103 CPU [Created at cpu.290] Unique ID: rdCR.j8NaKXDZtZ6 Hardware Class: cpu Arch: X86-64 Vendor: "AuthenticAMD" Model: 15.5.10 "AMD Opteron(tm) Processor 246" Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,pni,syscall,nx,mmxext,lm,3dnowext,3dnow Clock: 995 MHz Cache: 1024 kb Config Status: cfg=no, avail=yes, need=no, active=unknown 02: None 01.0: 10103 CPU [Created at cpu.290] Unique ID: wkFv.j8NaKXDZtZ6 Hardware Class: cpu Arch: X86-64 Vendor: "AuthenticAMD" Model: 15.5.10 "AMD Opteron(tm) Processor 246" Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,pni,syscall,nx,mmxext,lm,3dnowext,3dnow Clock: 995 MHz Cache: 1024 kb Config Status: cfg=new, avail=yes, need=no, active=unknown This is a dual-CPU server, unloaded at the moment. Try to run a "cat /dev/zero >/dev/null" in the background, and tell us what hwinfo --cpu reports then. -- Bernd Paysan "If you want it done right, you have to do it yourself" http://www.jwdt.com/~paysan/

Bernd Paysan wrote:
On Wednesday 17 August 2005 07:37, Pierre Patino wrote:
Hello I got a Tyan K8E and loaded SuSE 9.3 on it. With the original BIOS (1.0), hwinfo --cpu reports 1.0GHz. With the latest and greatest BIOS 2.01, hwinfo --cpu reports 1.8GHz. This is with an AMD Athlon 64 3000+. Two other motherboards (Gigabyte and Asus) report 2.0GHz with the same CPU. I wrote a device driver and also compared TSCs and jiffies and got the same results. Does anyone else see this? No answer from Tyan yet.
The actual speed on an Athlon64 and recent Opterons can be changed - the powersaved is responsible for that. There's nothing wrong with lower reported clock speeds. That's what I get:
/usr/sbin/hwinfo --cpu
01: None 00.0: 10103 CPU [Created at cpu.290] Unique ID: rdCR.j8NaKXDZtZ6 Hardware Class: cpu Arch: X86-64 Vendor: "AuthenticAMD" Model: 15.4.8 "AMD Athlon(tm) 64 Processor 3200+" Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,pni,syscall,nx,mmxext,lm,3dnowext,3dnow Clock: 2000 MHz Cache: 1024 kb Config Status: cfg=no, avail=yes, need=no, active=unknown
(this is a loaded machine, running a background job)
# /usr/sbin/hwinfo --cpu 01: None 00.0: 10103 CPU [Created at cpu.290] Unique ID: rdCR.j8NaKXDZtZ6 Hardware Class: cpu Arch: X86-64 Vendor: "AuthenticAMD" Model: 15.5.10 "AMD Opteron(tm) Processor 246" Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,pni,syscall,nx,mmxext,lm,3dnowext,3dnow Clock: 995 MHz Cache: 1024 kb Config Status: cfg=no, avail=yes, need=no, active=unknown
02: None 01.0: 10103 CPU [Created at cpu.290] Unique ID: wkFv.j8NaKXDZtZ6 Hardware Class: cpu Arch: X86-64 Vendor: "AuthenticAMD" Model: 15.5.10 "AMD Opteron(tm) Processor 246" Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,pni,syscall,nx,mmxext,lm,3dnowext,3dnow Clock: 995 MHz Cache: 1024 kb Config Status: cfg=new, avail=yes, need=no, active=unknown
This is a dual-CPU server, unloaded at the moment.
Try to run a "cat /dev/zero >/dev/null" in the background, and tell us what hwinfo --cpu reports then.
I ran the test as you suggested. The result is the same -- 1.8GHz. Where did the 200MHz go? According to the BIOS settings, the powersaving feature is disabled.

On Fri, 2005-08-19 at 20:47 -0700, Pierre Patino wrote:
I ran the test as you suggested. The result is the same -- 1.8GHz. Where did the 200MHz go? According to the BIOS settings, the powersaving feature is disabled.
Try something that really sucks cpu :) $ cat /proc/cpuinfo | grep MHz $ md5sum /dev/zero & $ sleep 1 $ cat /proc/cpuinfo | grep MHz $ kill %1 # or whatever On my Athlon 64 3000+ cpuinfo goes from 1 GHz to 2 GHz. Does your BIOS report at boot the right Opteron model? The only problem with frequency I have with SuSE 9.3 is that when I suspend to disk my laptop, after I resume frequency is stuck at the lowest possible frequency and I cannot seem to change it until I reboot, but this is a Centrino 1.7 GHz so not amd64 :). Laurent

Laurent GUERBY wrote:
On Fri, 2005-08-19 at 20:47 -0700, Pierre Patino wrote:
I ran the test as you suggested. The result is the same -- 1.8GHz. Where did the 200MHz go? According to the BIOS settings, the powersaving feature is disabled.
Try something that really sucks cpu :)
$ cat /proc/cpuinfo | grep MHz $ md5sum /dev/zero & $ sleep 1 $ cat /proc/cpuinfo | grep MHz $ kill %1 # or whatever
On my Athlon 64 3000+ cpuinfo goes from 1 GHz to 2 GHz.
Does your BIOS report at boot the right Opteron model?
The only problem with frequency I have with SuSE 9.3 is that when I suspend to disk my laptop, after I resume frequency is stuck at the lowest possible frequency and I cannot seem to change it until I reboot, but this is a Centrino 1.7 GHz so not amd64 :).
Laurent
So you get no messages from "powersave -f" after a resume. When you reboot do you see any changes between successive "powersave -A" and "powersave -f"? On my AMD64 XP3000+ laptop, it switches between 797.763 and 1794.967 Mhz. Regards Sid. -- Sid Boyce ... Hamradio License G3VBV, Keen licensed Private Pilot Retired IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist Microsoft Windows Free Zone - Linux used for all Computing Tasks

On Sat, 2005-08-20 at 10:40 +0100, Sid Boyce wrote:
Laurent GUERBY wrote:
The only problem with frequency I have with SuSE 9.3 is that when I suspend to disk my laptop, after I resume frequency is stuck at the lowest possible frequency and I cannot seem to change it until I reboot, but this is a Centrino 1.7 GHz so not amd64 :). So you get no messages from "powersave -f" after a resume. When you reboot do you see any changes between successive "powersave -A" and "powersave -f"?
These commands have no effect after resume, my Pentium M clock is stuck at 600Mhz, I have to reboot to get changing frequencies back (and then powersave works like a charm). Laurent
participants (4)
-
Bernd Paysan
-
Laurent GUERBY
-
Pierre Patino
-
Sid Boyce