14
Dec
11

FreeBSD: Setting up CPU speed

Powerd settings (/etc/rc.conf):

# Powerd
powerd_enable=”YES”
powerd_flags=”-a adp -b adp -i 50 -r 75 -p 250″

Starting the process:

/etc/rc.d/powerd start

Parameters:

-a apd -> Operation mode while on AC power (adaptive)
-b apd -> Operation mode while on battery power (adaptive)
-i 50 -> Specifies the CPU load percent level when adaptive mode should begin to degrade performance to save power
-r 75 -> Specifies the CPU load percent level where adaptive mode should consider the CPU running and increase performance
-p 250 -> Specifies a different polling interval (in milliseconds) for AC line state and system idle levels

Others:
-m <freq> -> Minimum frequence reached by processor
-M <freq> -> Maximum frequence reached by processor
-n <op_mode> -> Used when the AC line is unknown


0 Responses to “FreeBSD: Setting up CPU speed”



  1. Leave a Comment

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s


Calendar:

December 2011
S M T W T F S
« Apr    
 123
45678910
11121314151617
18192021222324
25262728293031

Categories


Follow

Get every new post delivered to your Inbox.

Join 416 other followers