Changes

From SME Server
Jump to navigationJump to search
317 bytes added ,  00:02, 22 May 2007
Line 274: Line 274:     
  echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 
  echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 +
 +
If you have a dual processor board such as the VIA Epia VT310DP, you should do this for the second processor as well:
 +
 +
echo ondemand >/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
 +
    
Of course, you don't want to type all of this every time you reboot the server. So you can create a script in /etc/e-smith/events/local that will configure things for you at boot-time:
 
Of course, you don't want to type all of this every time you reboot the server. So you can create a script in /etc/e-smith/events/local that will configure things for you at boot-time:
Line 286: Line 291:  
  /sbin/modprobe padlock
 
  /sbin/modprobe padlock
 
  echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 
  echo ondemand >/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
 +
# Uncomment the following for dual-processor boards:
 +
# echo ondemand >/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
    
Save the script (F2 or F10 in mcedit) and set the right permissions:
 
Save the script (F2 or F10 in mcedit) and set the right permissions:
55

edits

Navigation menu