Saving Money with Linux

pstate-frequency – control CPU p-state settings

pstate-frequency is a shell-based utility for controlling CPU frequency-scaling policy on Linux. It provides a single command-line interface for querying and changing settings exposed by supported CPU scaling drivers.

The program works with Intel P-state, AMD P-state in supported modes and acpi-cpufreq. It changes policy values presented to the kernel and processor rather than forcing a modern CPU to run at an exact clock speed, so the frequency actually selected by the hardware can vary from the requested limits.

This is free and open source software.

Key Features

  • Display the currently requested CPU settings and real-time CPU frequencies.
  • Set minimum and maximum CPU scaling frequencies.
  • Change the active CPU scaling governor.
  • Enable or disable processor turbo boost where supported.
  • Configure Energy Performance Preference values on compatible drivers.
  • Apply reusable named power plans containing several related settings.
  • Provide predefined approaches for power saving, balanced operation, performance and maximum performance.
  • Automatically select different plans according to whether the main power source is online.
  • Integrate with systemd units and udev rules so settings can be applied during startup, resume or power-source changes.
  • Offer shell completion for common command-line environments.
  • Validate supported CPU scaling drivers before attempting to apply settings.
  • Allow normal users to query settings while reserving configuration changes that need privileged access for an administrator.
  • Support a delayed apply mode that is useful when system services and hardware interfaces are not immediately ready during startup.
  • Store power plans as editable configuration files so users can tailor several related CPU settings under a single plan name.

Website: github.com/pyamsoft/pstate-frequency
Support:
Developer: pyamsoft
License: GNU General Public License v2.0


Related Software

Power Consumption Tools
TLPPower management package; features in Essential System Tools
auto-cpufreqAutomatic CPU speed and power optimizer
RyzenAdjAdjusts AMD Ryzen APU thermal, current and wattage limits
PowerTOPEnable various powersaving modes
TLP UIGTK interface to review and modify TLP configuration
cpupowerLinux kernel tool
power-profiles-daemonMakes power profiles handling available over D-Bus
cpupower-guiTool to set CPU frequency limits
batctlBattery charge threshold manager for Linux laptops
TuneDDaemon for monitoring and adaptive tuning of system devices
asusctlControl aspects of ASUS laptops
system76-powerUtility for managing graphics and power profiles
joltTerminal-based battery and energy monitor
thermaldThermal daemon for Intel Architecture
powerstatMeasures the power consumption of a laptop
LACTLinux GPU Control Application
pstate-frequencyControls CPU frequencies, governors and turbo boost modes
WattageMonitor the health and status of power devices
Power OptionsGraphical profiles for tuning CPU, GPU and device energy use
PowerDevilControls brightness, battery behaviour and sleep in KDE Plasma

Read our verdict in the software roundup.


Best Free and Open Source Software LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted