OpenVZ Forum


Home » General » Support » *BUG+PATCH REPORTED* 2.6.20.12-ovz007.1 on AMD X2 AM2: cpufreq does not change freq
*BUG+PATCH REPORTED* 2.6.20.12-ovz007.1 on AMD X2 AM2: cpufreq does not change freq [message #14614] Tue, 03 July 2007 13:03 Go to previous message
tobbi is currently offline  tobbi
Messages: 3
Registered: July 2007
Junior Member
Hello,

here is what I did:

Hardware:
- Mainboard: Asus M2N-SLI Deluxe, chipset Nvidia nForce 570
- CPU: AMD Athlon64 X2 4600+ EE, socket AM2

Kernel:
- Fetched 2.6.20 vanilla from
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.20.tar .bz2
- Applied patch-ovz007.1-combined from
http://download.openvz.org/kernel/branches/2.6.20/2.6.20-ovz 007.1/patches//patch-ovz007.1-combined.gz
- Activated cpufreq with drivers powernow3d-k2 and ahci-p-states
- Activated CONFIG_ATA (new SATA/PATA framework), deactivated CONFIG_IDE (old PATA/SATA framework)
- Deactivated modules (I compile everything in)
- Deactivated support for 32-bit binaries

- Booted from grub with root=/dev/sde2 vga=0x307
- Userland is Gentoo, pure 64-bit
- dmesg says that cpufreq found states for 2.4, 2.2, 2.0, 1.8 and 1.0 GHz
- disk i/o is fast (80 MB/sec for all sata drives)
- network performance is good (40..50 MB/sec on both gigabit interfaces)
- lm_sensors works, shows plausible temperatures and fan speeds
- CPU frequency is 2.4 GHz for both cores, as expected

Problem:
- Set cpufreq governor to "ondemand", both cores are 99.7..100% idle
- CPU frequency is still 2.4 GHz for both cores, but should be 1 GHz
- Set cpufreq governor to "userspace"
- Set frequency for both cores (cpu0 and cpu1) to 1 Ghz using scaling_setspeed
- CPU frequency is still 2.4 GHz for both cores, but should be 1 GHz

Questions:
- Doesn't ovz007.1 support cpufreq, or is it a bug, or did I overlook something?
- How can I get cpufreq to work?

I cannot use 2.6.18 because it's drivers don't support the nForce 570 SATA interfaces.
If needed, I can post /proc/config.gz and dmesg output tonight.
Thanks for help!

-- Tobbi

[Updated on: Thu, 12 July 2007 00:09]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Compression while migrating?
Next Topic: kde on openvz
Goto Forum:
  


Current Time: Tue Sep 10 06:32:47 GMT 2024

Total time taken to generate the page: 0.04580 seconds