Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

Strange cpufreq effects

Have an x86-64 problem? Post here.
Locked
Advanced search
2 posts • Page 1 of 1
Author
Message
loftwyr
l33t
l33t
User avatar
Posts: 970
Joined: Wed Dec 29, 2004 2:51 am
Location: 43°38'23.62"N 79°27'8.60"W

Strange cpufreq effects

  • Quote

Post by loftwyr » Mon Dec 19, 2005 11:30 pm

I have enabled cpufreq in my kernel with everything turned on and emerged cpufreqd and cpudyn.

strangely, I get different readings in /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_min_freq and scaling_min_freq

Here's what dmesg says:

Code: Select all

powernow-k8: Found 2 AMD Athlon 64 / Opteron processors (version 1.50.4)
powernow-k8:    0 : fid 0xe (2200 MHz), vid 0x8 (1350 mV)
powernow-k8:    1 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)
cpuinfo_min_freq is 1000000 but scaling_min_freq is 1452000.

1.45 GHz isn't on the powernow list yet that's what my system slows to. If I try to adjust scaling_min_freq 1000000 to my machine locks up.

What am I doing wrong or is this just some weird bug?

I'm using a GA-K8NF-9 with an AMD X2 4200+ and the latest kernel.
My emerge --info
Have you run revdep-rebuild lately? It's in gentoolkit and it's worth a shot if things don't work well.
Celebrating 5 years of Gentoo-ing.
Top
mudrii
l33t
l33t
Posts: 789
Joined: Thu Jun 26, 2003 12:27 am
Location: Singapore
Contact:
Contact mudrii
Website

  • Quote

Post by mudrii » Tue Dec 20, 2005 5:28 am

OK
so your problem you have AMD dual core that mean 2 CPU you should apply cpufreqd for both cores not only for one.
run cpufreqd for each CPU

Code: Select all

Enable CPU scaling
modprobe powernow-k8
modprobe cpufreq-ondemand
echo ondemand > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo ondemand > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor 
copy above lines in /etc/conf.d/local.start
and on the next reboot you will have working cpu freq scaling for both cores.

Output
powernow-k8: 0 : fid 0xe (2200 MHz), vid 0x8 (1350 mV)
powernow-k8: 1 : fid 0x2 (1000 MHz), vid 0x12 (1100 mV)

mean that you 2 in 1 CPU can scale from 2200 Mhz to 1000 Mhz

And scaling will work auto depend on CPU load so it will not required any intervention from user side.
www.gentoo.ro
Top
Locked

2 posts • Page 1 of 1

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic