DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 3rd June 2008
chill's Avatar
chill chill is offline
Fdisk Soldier
 
Join Date: Jun 2008
Location: Federal Republic of the US
Posts: 74
Thanked 6 Times in 6 Posts
Default cpu scaling

Hi my laptop runs hot and my fan never stops. I want to load the cpufreq(4) driver to scale the frequency down when idle and up when needed. Unless I missed something from the man pages it kind of sounds like you can only change to one frequency at a time with just this driver. There is the powerd(8) utilty that is supposed to scale automatically. The adaptive mode appears to be the default mode with this.

So can I just set both these modules to load at boot time and expect something productive to happen? or does anyone have experience with these that can help otherwise. I have a dual core AMD Turion 64 if it matters any.

Thanks

EDIT: sorry i should mention i dont have my laptop with me right now so i can't test this out myself right now. im just looking for some quick advice on this. thanks.

Last edited by chill; 3rd June 2008 at 07:27 AM.
Reply With Quote
  #2   (View Single Post)  
Old 3rd June 2008
harisman's Avatar
harisman harisman is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Hellas (Greece)
Posts: 66
Thanked 5 Times in 4 Posts
Default

What FreeBSD release do you have? I had the same problems with my amd64 laptop (Acer 1501 lmi) with the 6.X branch . I had serious problems such as high temperatures, and critical thermal shutdowns.
In the FreeBSD 6.X you must load the cpufreq module, FreeBSD 7 does this by default and has improved cpufreq.

Now, with the FreeBSD 7.0 amd64 everything is working flawlessly on my laptop..

My rc.conf simply has these values:
powerd_enable="YES"
powerd_flags="-b min -a adaptive"

Do some sysctls:
sysctl hw.acpi.thermal
sysctl dev.cpufreq
sysctl dev.powernow

You must see if the cpufreq and passive_cooling are enabled.
Reply With Quote
  #3   (View Single Post)  
Old 3rd June 2008
chill's Avatar
chill chill is offline
Fdisk Soldier
 
Join Date: Jun 2008
Location: Federal Republic of the US
Posts: 74
Thanked 6 Times in 6 Posts
Default

Thanks bro.

I'm using 7.0 right now. I'll set my modules like yours with an adaptive mode when plugged in and minimum mode when on batteries. I haven't had any noticeable problems with ACPI enabled yet so hopefully this works. I will post back if somethings not working.

Thanks again
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HOWTO: FreeBSD CPU Scaling with cpufreq.ko vermaden Guides 10 27th October 2010 07:58 AM


All times are GMT. The time now is 01:53 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick