Results 1 to 3 of 3

Thread: Frequency controlling in BSD

  1. #1
    Join Date
    Apr 2007
    Beans
    Hidden!

    Frequency controlling in BSD

    I've understood, that there's no program such as kpowersave for the BSD family (at least I couldn't find one). I'm interested, what way of controlling the powerd do the experienced users of BSD with laptops use? Do you control the processor power schemes in /etc/rc.conf manually, or is there a graphical frontend, which works in a way, similar to kpowersave?
    Last edited by cdiem; June 24th, 2008 at 10:34 AM.

  2. #2
    Join Date
    May 2008
    Beans
    Hidden!

    Re: Frequency controlling in BSD

    This is the entry in my rc.conf file

    Code:
    # powerd: adaptive speed while on AC power, adaptive while on battery power
    powerd_enable="YES"
    powerd_flags="-a adaptive -b adaptive" # set CPU frequency

  3. #3
    Join Date
    Apr 2007
    Beans
    Hidden!

    Re: Frequency controlling in BSD

    Quote Originally Posted by techmarks View Post
    This is the entry in my rc.conf file

    Code:
    # powerd: adaptive speed while on AC power, adaptive while on battery power
    powerd_enable="YES"
    powerd_flags="-a adaptive -b adaptive" # set CPU frequency
    Do you think that my record in /etc/rc.conf would make sense (following down)? Cause since weeks I'm trying to restrict the temperature of FreeBSD on my laptop (it heats up to 70+ degrees Celsium even when doing a simple "pkgdb -F" (I dual boot Debian with cpufrequtils installed, and there are no such problems there)). I'm not quite sure how I should understand the -i and -r flags here:

    PHP Code:
    powerd_enable="YES"
    powerd_flags="-a adaptive -b adaptive -n adaptive -i 65 -r 45" 
    This is combined with an entry of
    PHP Code:
    cpufreq_load="yes" 
    in /boot/loader.conf.
    From the manpage of powerd:
    PHP Code:
    -a mode     Selects the mode to use while on AC power.

    -
    b mode     Selects the mode to use while on battery power.

    -
    i percent  Specifies the CPU idle percent level when adaptive mode should begin to degrade performance to save powerThe default is 90% or higher.

    -
    r percent  Specifies the CPU idle percent level where adaptive mode should consider the CPU running and increase performanceThe default is 65% or lower
    Do you know of anything else, that I should adjust in order to enable frequency scalling on FreeBSD in a way, that my laptop doesn't heat up that much?

    P.S.: I've found just one other useful discussion regarding this, namely http://forums.pcbsd.org/viewtopic.ph...st=0&sk=t&sd=a

    P.P.S.: There seems to be another one as well:
    http://209.85.135.104/search?q=cache...lnk&cd=2&gl=bg
    Last edited by cdiem; September 6th, 2008 at 07:07 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •