OnWorks favicon

cpupower-idle-set - Online in the Cloud

Run cpupower-idle-set in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cpupower-idle-set that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator



cpupower idle-set - Utility to set cpu idle state specific kernel options


cpupower [ -c cpulist ] idle-info [options]


The cpupower idle-set subcommand allows to set cpu idle, also called cpu sleep state,
specific options offered by the kernel. One example is disabling sleep states. This can be
handy for power vs performance tuning.


-d --disable <STATE_NO>
Disable a specific processor sleep state.

-e --enable <STATE_NO>
Enable a specific processor sleep state.

-D --disable-by-latency <LATENCY>
Disable all idle states with a equal or higher latency than <LATENCY>.

Enable all idle states with a latency lower than <LATENCY>.

-E --enable-all
Enable all idle states if not enabled already.


Cpuidle Governors Policy on Disabling Sleep States

Depending on the used cpuidle governor, implementing the kernel policy how to choose
sleep states, subsequent sleep states on this core, might get disabled as well.

There are two cpuidle governors ladder and menu. While the ladder governor is always
available, if CONFIG_CPU_IDLE is selected, the menu governor additionally requires

The behavior and the effect of the disable variable depends on the implementation of a
particular governor. In the ladder governor, for example, it is not coherent, i.e. if
one is disabling a light state, then all deeper states are disabled as well. Likewise,
if one enables a deep state but a lighter state still is disabled, then this has no

Disabling the Lightest Sleep State may not have any Affect

If criteria are not met to enter deeper sleep states and the lightest sleep state is
chosen when idle, the kernel may still enter this sleep state, irrespective of whether
it is disabled or not. This is also reflected in the usage count of the disabled sleep
state when using the cpupower idle-info command.

Selecting specific CPU Cores

By default processor sleep states of all CPU cores are set. Please refer to the
cpupower(1) manpage in the --cpu option section how to disable C-states of specific

Use cpupower-idle-set online using onworks.net services

Free Servers & Workstations

Download Windows & Linux apps

  • 1
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    Download LMMS Digital Audio Workstation
  • 2
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 3
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • 4
    XMLTV is a set of programs to process
    TV (tvguide) listings and help manage
    your TV viewing, storing listings in an
    XML-based format. There are utilities to
    Download XMLTV
  • 5
    Strikr Free Software project. Artifacts
    released under a 'intent based'
    dual license: AGPLv3 (community) and
    CC-BY-NC-ND 4.0 international
    Download strikr
  • 7
    giflib is a library for reading and
    writing gif images. It is API and ABI
    compatible with libungif which was in
    wide use while the LZW compression
    algorithm was...
    Download GIFLIB
  • More »

Linux commands