cpuspeed.conf 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. # /etc/sysconfig/cpuspeed
  2. #
  3. # This configuration file controls the behavior of both the
  4. # cpuspeed daemon and various cpufreq modules.
  5. # For the vast majority of users, there shouldn't be any need to
  6. # alter the contents of this file at all. By and large, frequency
  7. # scaling should Just Work(tm) with the defaults.
  8. ### DRIVER ###
  9. # Your CPUFreq driver module
  10. # Note that many drivers are now built-in, rather than built as modules,
  11. # so its usually best not to specify one. The most commonly-needed driver
  12. # module these days is 'p4-clockmod', however, in most cases, it is not
  13. # recommended for use. See: http://lkml.org/lkml/2006/2/25/84
  14. # default value: empty (try to auto-detect/use built-in)
  15. DRIVER=
  16. ### GOVERNOR ###
  17. # Which scaling governor to use
  18. # Details on scaling governors for your cpu(s) can be found in
  19. # cpu-freq/governors.txt, part of the kernel-doc package
  20. # NOTES:
  21. # - The GOVERNOR parameter is only valid on centrino, powernow-k8 (amd64)
  22. # and p4-clockmod platforms, other platforms that support frequency
  23. # scaling always use the 'userspace' governor.
  24. # - Using the 'userspace' governor will trigger the cpuspeed daemon to run,
  25. # which provides said user-space frequency scaling.
  26. # default value: empty (defaults to ondemand on centrino, powernow-k8,
  27. # and acpi-cpufreq systems, userspace on others)
  28. GOVERNOR=
  29. ### FREQUENCIES ###
  30. # NOTE: valid max/min frequencies for your cpu(s) can be found in
  31. # /sys/devices/system/cpu/cpu*/cpufreq/scaling_available_frequencies
  32. # on systems that support frequency scaling (though only after the
  33. # appropriate drivers have been loaded via the cpuspeed initscript).
  34. # maximum speed to scale up to
  35. # default value: empty (use cpu reported maximum)
  36. MAX_SPEED=
  37. # minimum speed to scale down to
  38. # default value: empty (use cpu reported minimum)
  39. MIN_SPEED=
  40. ### SCALING THRESHOLDS ###
  41. # Busy percentage threshold over which to scale up to max frequency
  42. # default value: empty (use governor default)
  43. UP_THRESHOLD=60
  44. # Busy percentage threshold under which to scale frequency down
  45. # default value: empty (use governor default)
  46. DOWN_THRESHOLD=40
  47. ### NICE PROCESS HANDLING ###
  48. # Let background (nice) processes speed up the cpu
  49. # default value: 0 (background process usage can speed up cpu)
  50. # alternate value: 1 (background processes will be ignored)
  51. IGNORE_NICE=0
  52. #####################################################
  53. ########## HISTORICAL CPUSPEED CONFIG BITS ##########
  54. #####################################################
  55. VMAJOR=1
  56. VMINOR=1
  57. # Sets the polling interval to change speed more frequently
  58. #OPTS="$OPTS -i 3"
  59. # Restore previous speed on program exit.
  60. #OPTS="$OPTS -r"
  61. # Add your favorite options here
  62. #OPTS="$OPTS "
  63. # uncomment and modify this to check the state of the AC adapter
  64. #if [ -f "/proc/acpi/ac_adapter/*/state" ]; then
  65. # OPTS="$OPTS -a /proc/acpi/ac_adapter/*/state -D"
  66. #fi
  67. # uncomment and modify this to check the system temperature
  68. #THERMAL_ZONE=`ls /proc/acpi/thermal_zone/*/temperature | head -1`
  69. #if [ -f $THERMAL_ZONE ]; then
  70. # OPTS="$OPTS -t $THERMAL_ZONE 75"
  71. #fi