AMD Cool 'n Quiet

Share your success stories with others

Moderator: Pablo

Post Reply
mx-5
Contributor
Posts: 52
Joined: Thu Jul 26, 2007 6:16 pm

AMD Cool 'n Quiet

Post by mx-5 » Mon Jun 29, 2009 7:07 am

I have an Athlon 64 3000+ in my Asus A8N-VM CSM and using 68b6. Cpuinfo shows that my CPU is running at full 1800MHz. I know this machine can run at 1000MHz with lower wattage and power draw with Cool 'n Quiet enabled. Can this be done in minimyth?
Thanks.

tsjoender
Contributor
Posts: 87
Joined: Mon Nov 05, 2007 9:45 am
Location: Friesland, The Netherlands

Re: AMD Cool 'n Quiet

Post by tsjoender » Mon Jun 29, 2009 8:29 am

Not really used it myself (although I should from a green point of view), but this should get you started:

http://www.minimyth.org/document-minimy ... Y_GOVERNOR

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: AMD Cool 'n Quiet

Post by Pablo » Tue Jun 30, 2009 5:07 am

tsjoender is correct. If you set MM_CPU_FREQUENCY_GOVERNOR='userspace', then MiniMyth will use powernowd to control the processor speed. I use it on all my AMD systems.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

mx-5
Contributor
Posts: 52
Joined: Thu Jul 26, 2007 6:16 pm

Re: AMD Cool 'n Quiet

Post by mx-5 » Sat Jul 04, 2009 6:19 pm

Thank you for the line to put in.
I've added that and it doesn't seem to make any difference. At idle, I telnet in to check /proc/cpuinfo, and it still shows 1800mhz. I also have a Kill-a-watt to measure and the system is still drawing the same power as before.
I have also tried using 'powersave' and same result. I take it this setting will force the pc to run at lowest power mode all the time (1000mhz and 1.1v). PC's BIOS has Cool 'n Quiet enabled.
Any suggestions?

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: AMD Cool 'n Quiet

Post by Pablo » Sat Jul 04, 2009 6:58 pm

Odd, as it works for me on the same motherboard with an AMD Althlon 64 3200+. What does powernow-k8 report? You sound be able to find the information in /var/log/messages by searching for powernow-k8.

As for forcing the use of the lowest speed, MM_CPU_FREQUENCY_GOVERNOR='powersave' should do it.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

mx-5
Contributor
Posts: 52
Joined: Thu Jul 26, 2007 6:16 pm

Re: AMD Cool 'n Quiet

Post by mx-5 » Sat Jul 11, 2009 2:37 am

Thanks Pablo. Here's the powernow-k8 section from /var/log/messages

Jul 10 18:15:19 (none) user.warn kernel: NVRM: loading NVIDIA UNIX x86 Kernel Module 185.18.14 Wed May 27 02:23:13 PDT 2009
Jul 10 18:15:19 (none) user.info kernel: powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3000+ processors (1 cpu cores) (version 2.20.00)
Jul 10 18:15:19 (none) user.info kernel: powernow-k8: 0 : fid 0xa (1800 MHz), vid 0x6
Jul 10 18:15:19 (none) user.info kernel: powernow-k8: 1 : fid 0x2 (1000 MHz), vid 0x12
Jul 10 18:15:19 (none) user.info kernel: processor ACPI_CPU:00: registered as cooling_device0
Jul 10 18:15:19 (none) user.info kernel: powernow-k8: Found 1 AMD Athlon(tm) 64 Processor 3000+ processors (1 cpu cores) (version 2.20.00)
Jul 10 18:15:19 (none) user.info kernel: powernow-k8: 0 : fid 0xa (1800 MHz), vid 0x6
Jul 10 18:15:19 (none) user.info kernel: powernow-k8: 1 : fid 0x2 (1000 MHz), vid 0x12

I'm using MM_CPU_FREQUENCY_GOVERNOR='userspace'.

Here's what I get from /proc/cpuinfo with the machine idle.

processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 47
model name : AMD Athlon(tm) 64 Processor 3000+
stepping : 2
cpu MHz : 1808.245
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow up pni lahf_lm
bogomips : 3617.17
clflush size : 64
power management: ts fid vid ttp tm stc

So it looks like it's still running at full 1800MHz. Any ideas?

Thanks.

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Re: AMD Cool 'n Quiet

Post by Pablo » Sat Jul 11, 2009 9:46 pm

Odd. If you use

Code: Select all

MM_CPU_FREQUENCY_GOVERNOR='powersave'
then does it run at the lower frequency. If so, then I suspect that there is something wrong with powernowd. If no, then I suspect there is something in the system's hardware preventing the use of the lower frequency supported by the CPU.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

mx-5
Contributor
Posts: 52
Joined: Thu Jul 26, 2007 6:16 pm

Re: AMD Cool 'n Quiet

Post by mx-5 » Sun Jul 12, 2009 2:02 am

Same results with 'powersave'.
Verified BIOS settings and C'nQ is enabled.
I've had this machine running Windows before and I've seen C'nQ work.
I'm going to try Ubuntu 9.04 on this box when I have time to see if I need to do anything to get C'nQ working.

mx-5
Contributor
Posts: 52
Joined: Thu Jul 26, 2007 6:16 pm

Re: AMD Cool 'n Quiet

Post by mx-5 » Tue Jul 14, 2009 2:45 pm

Grabbed a SATA hd and installed Jaunty on it. After a few apt-get's, I was able to see the voltage on this board while stressing it. Looks like my system would run as follow:

idle:
1000mhz
1.17v
~60w

cpu stressed:
1800mhz
1.47v
~90w

Under minimyth, cpuinfo always show 1800mhz, but since the machine draws ~60w at idle, I have a feeling the voltage drops down. So I'm happy to with the fact that the machine is at a lower power draw in minimyth despite what cpuinfo reports for freqency.

Post Reply