Kernel Newbies archive mirror
 help / color / mirror / Atom feed
From: Vigneshwar S <svigneshj@gmail.com>
To: kernelnewbies@kernelnewbies.org
Subject: Setting CPUFreq scaling governor to performance not setting CPU frequency to the highest
Date: Tue, 5 Dec 2023 09:48:44 +0530	[thread overview]
Message-ID: <CAG+9GgQ8hry4i78ghYqsWBWoqRkCBiG1T7rFoCK0KsJ02MunRQ@mail.gmail.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1143 bytes --]

Hello everyone!

I've read about the CPU performance scaling in Linux kernel documentation
<https://docs.kernel.org/admin-guide/pm/cpufreq.html> and tried
experimenting with multiple scaling governors. Based on the documentation,
the performance scaling governor
<https://docs.kernel.org/admin-guide/pm/cpufreq.html#performance> should
set the frequency to the maximum possible frequency.

I've got two machines with different kernel versions: v3.10.0 (CentOS 7)
and v5.10.106 (Debian 11). When I set the 'scaling_governor' to
'performance' in the CentOS machine, it is working as expected and the CPU
frequency is set to the maximum possible frequency statically. But when I
set the 'scaling_governor' to 'performance' in the Debian machine, that's
not the case and the CPU frequency is changing dynamically.

I've read that 'intel_pstate' scaling driver would bypass the scaling
governor and set the CPU frequency based on its internal pstate
information. But in both CentOS and Debian machines, the 'scaling_driver'
is set to 'acpi-cpufreq' only.

How can I solve this? Any help on this would be greatly appreciated.

Thanks!

Vigneshwar S

[-- Attachment #1.2: Type: text/html, Size: 1345 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2023-12-05  4:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-05  4:18 Vigneshwar S [this message]
2023-12-05  7:16 ` Setting CPUFreq scaling governor to performance not setting CPU frequency to the highest Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAG+9GgQ8hry4i78ghYqsWBWoqRkCBiG1T7rFoCK0KsJ02MunRQ@mail.gmail.com \
    --to=svigneshj@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).