cpupower.conf.d 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # /etc/conf.d/cpupower: config file for /etc/init.d/cpupower
  2. # Options when starting cpufreq (given to the `cpupower` program)
  3. # Possible options are:
  4. # -g --governor <GOV> (ie: ondemand, performance, or powersave)
  5. # -d --min <FREQ> (ie: 1000MHz)
  6. # -u --max <FREQ> (ie: 2000MHz)
  7. # -f --freq <FREQ> (requires userspace governor, this *can not* be combined with
  8. # with any other parameters).
  9. # Frequencies can be passed in Hz, kHz (default), MHz, GHz, or THz by postfixing the
  10. # value with the wanted unit name, without any space.
  11. # (frequency in kHz =^ Hz * 0.001 =^ MHz * 1000 =^ GHz * 1000000).
  12. START_OPTS="--governor ondemand"
  13. # Options when stopping cpufreq (given to the `cpupower` program)
  14. # This option can be used to change governer on stop. Leaving it empty will ensure
  15. # the governer remains on the one provided above.
  16. STOP_OPTS=""
  17. # Extra settings to write to sysfs cpufreq values.
  18. #
  19. # up_threshold: threshold for stepping up frequency, where the value represents
  20. # the percentage of cpu load.
  21. #
  22. # down_threshold: threshold for stepping down frequency, where the value
  23. # represents the percentage of cpu load.
  24. #
  25. # sampling_down_factor: determines how frequently the governor polls the cpu, a
  26. # value greater than 1 improves performance by reducing the polling when the
  27. # load is high. This tunable has no effect on behavior at lower CPU frequencies.
  28. #
  29. # ignore_nice_load: when set to '1' the processes that are run with a 'nice'
  30. # value will not count in the usage calculation.
  31. #SYSFS_EXTRA="ondemand/ignore_nice_load=1 ondemand/up_threshold=75 ondemand/sampling_down_factor=10"