Hallo allemaal,
Men eerste post op dit forum, ik lees al een tijdje mee en ik draai al best een tijd op kubuntu, sinds kort heb ik een verse installatie van kubuntu 9.04 beta gedaan. Alles werkt eigenlijk perfect alleen bij het finetunen toch een klein probleempje : De cpu frequency klopt niet met mijn bios settings. Hier ben ik achter gekomen door het spelen met een conky-achtige plasmoid, die het cpufreq-info commando gebruikt voor bepaalde stats.
Even wat info over het systeem : betreft een Asus p5b-deluxe met Intel E6600 core2 duo processor. Laatste bios is geflashed. Default is de processor 2400Mhz (266*9), deze heb ik eigenlijk al sinds ik hem heb draaien op 3GHz (333*9). Dit heeft altijd goed gewerkt zowel in verschillende windows versies als eerdere ubuntu versies. De linux kernel is 2.6.28-11-generic #41-Ubuntu (laatste volgens mij).
De output van cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
stepping : 6
cpu MHz : 1596.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx ecx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5999.76
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
processor : 1
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
stepping : 6
cpu MHz : 1596.000
cache size : 4096 KB
physical id : 0
siblings : 2
core id : 1
cpu cores : 2
apicid : 1
initial apicid : 1
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni dtes64 monitor ds_cpl vmx ecx16 xtpr pdcm lahf_lm tpr_shadow
bogomips : 5999.98
clflush size : 64
cache_alignment : 64
address sizes : 36 bits physical, 48 bits virtual
power management:
en output van cpufreq-info
cpufrequtils 004: cpufreq-info (C) Dominik Brodowski 2004-2006
Report errors and bugs to cpufreq@lists.linux.org.uk, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 0
hardware limits: 1.60 GHz - 2.39 GHz
available frequency steps: 2.39 GHz, 1.60 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 1.60 GHz and 2.39 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.60 GHz.
cpufreq stats: 2.39 GHz:19.40%, 1.60 GHz:80.60% (21)
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which need to switch frequency at the same time: 1
hardware limits: 1.60 GHz - 2.39 GHz
available frequency steps: 2.39 GHz, 1.60 GHz
available cpufreq governors: conservative, ondemand, userspace, powersave, performance
current policy: frequency should be within 1.60 GHz and 2.39 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 1.60 GHz.
cpufreq stats: 2.39 GHz:19.35%, 1.60 GHz:80.65% (19)
Het probleem is dus niet de 1.6GHz scaled mode, want hij was idle toen ik dat commando intypte, dit hoort natuurlijk zo. Zoals je ziet geeft deze dus 2.4 GHz als maximale waarde aan bij cpufreq-info. Terwijl in de bios deze op 3GHz staat, in dmesg heb ik het volgende gevonden
dmesg | grep MHz
[ 0.000000] Detected 2999.882 MHz processor.
[ 0.404075] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
Bij het booten ziet hij dus wel de goede snelheid maar ergens later krijgt hij andere settings en herkent hij de overclock niet lijkt het. Nog enkele gegevens welke in diverse google topic's over cpuspeeds genoemd staan
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies
2394000 1596000
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
ondemand
Wat erg vreemd is dat in een virtualbox met windowsxp op deze machine, de cpu wel 3GHz aangeeft
Dit zou eigenlijk niet moeten kunnen maar toch is het echt zo. Heeft iemand enig idee hoe het kan dat cpufreq-info deze waarden geeft en eventueel hoe dit op te lossen cq aante passen is ? Ik heb al verschillende topics via google doorgespit en uiteindelijk ook de laatste bios geflashed maar de oplossing kom ik niet achter.
Bedankt alvast