You are not logged in.

#1 2017-11-02 06:45:24

jollyrogr
Member
Registered: 2008-08-25
Posts: 12

[solved] CPU frequency scaling broken

I just updated Arch tonight and I noticed that cpu frequency scaling is no longer working.  I have an i7-6800k that used to idle at 1.2ghz and ramp up to 3.6ghz at load.  Now it stays at 3.4ghz all the time.  Anyone have any ideas? Is this an issue with the 4.13.9-1 kernel?

Thanks

Last edited by jollyrogr (2017-11-03 23:54:56)

Offline

#2 2017-11-02 06:48:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [solved] CPU frequency scaling broken

What else was updated? Have you tried it with -lts? Is anything printed to dmesg?


Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2017-11-02 07:08:37

jollyrogr
Member
Registered: 2008-08-25
Posts: 12

Re: [solved] CPU frequency scaling broken

some stuff from dmesg:
[    0.003333] tsc: Detected 3398.988 MHz processor
[    0.070219] smpboot: CPU0: Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz (family: 0x6, model: 0x4f, stepping: 0x1)
[    0.083343] Performance Events: PEBS fmt2+, Broadwell events, 16-deep LBR, full-width counters, Intel PMU driver.
[    0.070219] smpboot: CPU0: Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz (family: 0x6, model: 0x4f, stepping: 0x1)
[    0.083343] Performance Events: PEBS fmt2+, Broadwell events, 16-deep LBR, full-width counters, Intel PMU driver.
[    2.583394] tsc: Refined TSC clocksource calibration: 3399.013 MHz

Offline

#4 2017-11-02 08:27:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [solved] CPU frequency scaling broken

Where are you measuring that from? /proc/cpuinfo DOES NOT reflect runtime information (anymore since 4.13 kernels). Query your cpu scheduler in the /sys filesystem, or use cpupower and/or turbostat to query runtime frequencies.

Offline

#5 2017-11-02 17:53:31

jollyrogr
Member
Registered: 2008-08-25
Posts: 12

Re: [solved] CPU frequency scaling broken

Thanks V1,
so the XFCE panel frequency monitor is probably not looking at the right thing...

[jolly@phatbox ~]$ cpupower frequency-info
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 1.20 GHz - 3.80 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 1.20 GHz and 3.80 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.20 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

Offline

#6 2017-11-02 17:56:55

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: [solved] CPU frequency scaling broken

You could also check and see what i7z tells you.

Offline

#7 2017-11-02 17:57:04

jollyrogr
Member
Registered: 2008-08-25
Posts: 12

Re: [solved] CPU frequency scaling broken

with cpu under load (running handbrake)
[jolly@phatbox ~]$ cpupower frequency-info
analyzing CPU 0:
  driver: intel_pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency:  Cannot determine or is not supported.
  hardware limits: 1.20 GHz - 3.80 GHz
  available cpufreq governors: performance powersave
  current policy: frequency should be within 1.20 GHz and 3.80 GHz.
                  The governor "powersave" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 3.60 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes

smile

Offline

#8 2017-11-02 18:01:50

jollyrogr
Member
Registered: 2008-08-25
Posts: 12

Re: [solved] CPU frequency scaling broken

2ManyDogs wrote:

You could also check and see what i7z tells you.

thanks.  i7z reports the correct frequencies.  You can watch each of the cores and see the temperature and VCore too. cool

Offline

#9 2017-11-03 09:03:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,435

Re: [solved] CPU frequency scaling broken

If this is sufficiently answered for you, please mark as solved by prepending the title of your initial post with [SOLVED] or similar

Offline

Board footer

Powered by FluxBB