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
PowerTOPEnable various powersaving modes
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
CPUFreqSystem monitor and power manager
WattageMonitor the health and status of power devices
ddogreenSmart power management tool

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted