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


Groups > linux.debian.user > #242573

using intel i5 freqency governors

From Lee <ler762@gmail.com>
Newsgroups linux.debian.user
Subject using intel i5 freqency governors
Date 2021-12-01 18:00 +0100
Message-ID <DpB7A-4Gm-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


The short story is that I have an Intel i3 windows 10 desktop with
cygwin installed and an Intel i5 debian desktop.  One of my scripts
takes about 10 minutes to run on the windows/i3 and 15 minutes on the
debian/i5!  ick

if i do
$ sudo cpupower frequency-set -g performance

then it takes about 10 minutes to run the script on the i5, **but**
the cpu frequency never drops down to power-saving mode when the
machine is idle - eg
$ sudo cpupower -c all frequency-info | grep 'call to kernel'
  current CPU frequency: 3.99 GHz (asserted by call to kernel)
  current CPU frequency: 3.95 GHz (asserted by call to kernel)
  current CPU frequency: 4.01 GHz (asserted by call to kernel)
  current CPU frequency: 3.91 GHz (asserted by call to kernel)
  current CPU frequency: 3.96 GHz (asserted by call to kernel)
  current CPU frequency: 4.00 GHz (asserted by call to kernel)

and more annoying, setting the frequency governor back to powersave
doesn't seem to drop the frequency all that much

$ sudo cpupower frequency-set -g  powersave
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
Setting cpu: 4
Setting cpu: 5

$ sudo cpupower -c all frequency-info | egrep 'call to kernel|The governor'
                  The governor "powersave" may decide which speed to use
  current CPU frequency: 3.85 GHz (asserted by call to kernel)
                  The governor "powersave" may decide which speed to use
  current CPU frequency: 3.58 GHz (asserted by call to kernel)
                  The governor "powersave" may decide which speed to use
  current CPU frequency: 4.01 GHz (asserted by call to kernel)
                  The governor "powersave" may decide which speed to use
  current CPU frequency: 3.55 GHz (asserted by call to kernel)
                  The governor "powersave" may decide which speed to use
  current CPU frequency: 3.66 GHz (asserted by call to kernel)
                  The governor "powersave" may decide which speed to use
  current CPU frequency: 3.57 GHz (asserted by call to kernel)


How do I get the intel cpu "turbo boost" fully engaged when I'm
running my script and go back into power save mode when the machine is
idle?

Thanks
Lee

Back to linux.debian.user | Previous | Next — 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