Skip to content

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

License

Notifications You must be signed in to change notification settings

DarFig/controlFrecuencia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published