My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

How to change the CPU frequency settings

This document (7021316) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Desktop 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)
SUSE Linux Enterprise Desktop 12 Service Pack 1 (SLED 12 SP1)
SUSE Linux Enterprise Desktop 12 Service Pack 1 (SLED 12 SP2)
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)

Situation

How to set CPU C-States in the SUSE Linux Enterprise (SLE) 12 family.

Resolution

To temporarily change the setting (resets upon reboot) run:

sudo /usr/bin/cpupower frequency-set <options>

For available options review the "cpupower-frequency-set" man page.

To permanently change the setting create a custom systemd service with the required settings, for example:

1. Create the file "/etc/systemd/system/cpupower.service" with the following content:

[Unit]

Description=CPU powersave

[Service]

Type=oneshot
ExecStart=/usr/bin/cpupower frequency-set -g performance

[Install]

WantedBy=multi-user.target

2. Once the file is created execute:

sudo systemctl daemon-reload

systemctl enable cpupower.service

Cause

From SLE 12 onwards it is not possible anymore to set CPU C-States with YaST.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7021316
  • Creation Date:07-SEP-17
  • Modified Date:07-SEP-17
    • SUSESUSE Linux Enterprise Desktop
      SUSE Linux Enterprise Server
< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center