Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Change default cpufreq governer to ondemand? [solved]

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
beerisgoodmate
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 129
Joined: Fri May 20, 2005 5:49 am

Change default cpufreq governer to ondemand? [solved]

  • Quote

Post by beerisgoodmate » Sat Oct 21, 2006 7:54 am

I have a Dell m70 laptop with a pentium M processor.

I can happily change the cpu governor using eg:
cpufreq-set -g ondemand

But Whenever I reboot my laptop it is reset set to userspace, with the frequency set to 2GHz. This gives terrible battery life and means the fans are often noisy.

This is how my kernel is configured:

Code: Select all

[*] CPU Frequency scaling                       
[ ]   Enable CPUfreq debugging                                         
<*>   CPU frequency translation statistics                             
[ ]     CPU frequency translation statistics details                   
      Default CPUFreq governor (userspace)  --->                       
<*>   'performance' governor                                           
<*>   'powersave' governor                                             
---   'userspace' governor for userspace frequency scaling             
<*>   'ondemand' cpufreq policy governor                               
 <*>   'conservative' cpufreq governor
under default governor, I can only choose between userspace and performance.

Is there away to set default to ondemand or conservative?

using gentoo-sources-2.6.18
Last edited by beerisgoodmate on Sat Oct 21, 2006 8:46 am, edited 1 time in total.
Top
mbar
Advocate
Advocate
User avatar
Posts: 2000
Joined: Wed Jan 19, 2005 9:45 am
Location: Poland

  • Quote

Post by mbar » Sat Oct 21, 2006 8:21 am

In cpufrequtils you have relevant config file (edit /etc/conf.d/cpufrequtils), then rc-update add cpufrequtils boot.
Or you can add "echo "ondemand" >> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" to local.start file.
Top
beerisgoodmate
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 129
Joined: Fri May 20, 2005 5:49 am

  • Quote

Post by beerisgoodmate » Sat Oct 21, 2006 8:48 am

great thanks, quickest solve I have ever had.

supprised I couldn't find such a simple solution on the forums, I had already edited the config file but hadn't added it boot.

:D
Top
Post Reply

3 posts • Page 1 of 1

Return to “Kernel & Hardware”

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