Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242656

Re: using intel i5 freqency governors

From Tixy <tixy@yxit.co.uk>
Newsgroups linux.debian.user
Subject Re: using intel i5 freqency governors
Date 2021-12-03 17:10 +0100
Message-ID <Dqjij-660-29@gated-at.bofh.it> (permalink)
References (3 earlier) <DpMw1-3r1-5@gated-at.bofh.it> <DpMPo-3CD-7@gated-at.bofh.it> <DpNip-3MB-3@gated-at.bofh.it> <DpPkd-5fa-1@gated-at.bofh.it> <DqiFz-5DG-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 2021-12-03 at 10:19 -0500, Stefan Monnier wrote:
> > I get 'powersave' as default too. According to the ArchWiki site
> > [1]
> > modern Intel CPUs use the intel_pstate driver which selects
> > 'powersave'
> > by default, and it goes on to say:
> > 
> >    The intel_pstate driver supports only two governors: powersave
> > and
> >    performance. Although they share the name with the generic
> >    governors, they do not work in the same way as the generic
> >    governors.
> 
> Hmm... on my machine I don't have the `intel_pstate` loaded,
> apparently.
> Doing `modprobe intel_pstate` does nothing (no output, no error,
> nothing
> in `dmesg` either).  Maybe my i3-4170 CPU is too old and it silently
> bows out (and then some other part of the default config favors
> `schedutil` over `powersave` when intel_pstate is not in use)?

The ArchWiki page [1] says of intel_pstate:

   This driver implements a scaling driver with an internal governor for
   Intel Core (Sandy Bridge and newer) processors. 
   
So yours is new enough. The docs on kernel.org [2] say it's Sandy
Bridge too.

On my kernel, the module is built-in to the kernel...

$cat /lib/modules/$(uname -r)/modules.builtin | grep pstate
kernel/drivers/cpufreq/intel_pstate.ko

And its sysfs directory exists...

$ ls -ld /sys/devices/system/cpu/intel_pstate
drwxr-xr-x 2 root root 0 Dec  3 07:52 /sys/devices/system/cpu/intel_pstate


[1] https://wiki.archlinux.org/title/CPU_frequency_scaling
[2] https://www.kernel.org/doc/html/v4.19/admin-guide/pm/intel_pstate.html

-- 
Tixy

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

using intel i5 freqency governors Lee <ler762@gmail.com> - 2021-12-01 18:00 +0100
  Re: using intel i5 freqency governors David Christensen <dpchrist@holgerdanske.com> - 2021-12-02 03:10 +0100
    Re: using intel i5 freqency governors Nicholas Geovanis <nickgeovanis@gmail.com> - 2021-12-02 05:40 +0100
    Re: using intel i5 freqency governors Stefan Monnier <monnier@iro.umontreal.ca> - 2021-12-02 06:10 +0100
      Re: using intel i5 freqency governors Lee <ler762@gmail.com> - 2021-12-02 06:30 +0100
        Re: using intel i5 freqency governors Stefan Monnier <monnier@iro.umontreal.ca> - 2021-12-02 07:00 +0100
          Re: using intel i5 freqency governors Tixy <tixy@yxit.co.uk> - 2021-12-02 09:10 +0100
            Re: using intel i5 freqency governors Tixy <tixy@yxit.co.uk> - 2021-12-02 09:20 +0100
            Re: using intel i5 freqency governors Stefan Monnier <monnier@iro.umontreal.ca> - 2021-12-03 16:30 +0100
              Re: using intel i5 freqency governors Tixy <tixy@yxit.co.uk> - 2021-12-03 17:10 +0100
          Re: using intel i5 freqency governors Lee <ler762@gmail.com> - 2021-12-02 16:00 +0100
    Re: using intel i5 freqency governors Lee <ler762@gmail.com> - 2021-12-02 06:10 +0100
      Re: using intel i5 freqency governors David Christensen <dpchrist@holgerdanske.com> - 2021-12-02 07:30 +0100

csiph-web