Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.03 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.03 KB

controlFrecuencia

Service to control the cpu frequency of a server according to the use of the cores.

System State

System State

  • Modify steps(%) for frequency changes

Requirements

  • gcc
  • make
  • superuser/admin
  • cpufrequtils
  • linux-cpupower(debian)
  • cpu governors -> powersave, ondemand, userspace

Use

Install:

  • install_apt.sh (debian)
  • install_yum.sh (centOS)

Run:

  • make run
  • see make help

Problems

Governors Problems

. not on servers

If your system is using the new driver called intel_pstate. There are only two governors available when using this driver: powersave and performance.

  • disable the current driver: add intel_pstate=disable to your kernel boot line. Editing /etc/default/grub and adding:

GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable" And then updating grub.cfg ala grub-mkconfig -o /boot/grub/grub.cfg

  • load the userspace module: modprobe cpufreq_userspace
  • load the ondemand module: modprobe cpufreq_ondemand