Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade to kernel 4.12.12 has CPU running fullspee continuou
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 944

PostPosted: Wed Oct 11, 2017 9:06 am    Post subject: Upgrade to kernel 4.12.12 has CPU running fullspee continuou Reply with quote

Hi All:

I was running kernel 4.9.34 and everything was working fine.
Followed my own kernel upgrade cheat sheet here:
eselect kernel list
eselect kernel set [#]
zcat /proc/config.gz > /usr/src/linux/.config
cd /usr/src/linux
make oldconfig
make menuconfig
mount /dev/sda2 /boot
make -j6 && make -j4 modules_install
make install
grub-install /dev/sda
cp /home/jserink/folders/downloads/backgroundPhotos/KidsPool.jpg /boot/grub/KidsPool.jpg
grub-mkconfig -o /boot/grub/grub.cfg

Everything built and worked fine, got into the new kernel and its fine, running for a few days.
i finally looked at why my laptop fan is on all the time and conky shows my CPU running at 2.98-3.00GHz.
i7z shows it running at ~1200-1600 MHz continuously when at 0% load when it should be at 800MHz.
Cpu speed from cpuinfo 2194.00Mhz
cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating
Linux's inbuilt cpu_khz code emulated now
True Frequency (without accounting Turbo) 2194 MHz
CPU Multiplier 22x || Bus clock frequency (BCLK) 99.73 MHz

Socket [0] - [physical cores=4, logical cores=8, max online cores ever=4]
TURBO ENABLED on 4 Cores, Hyper Threading ON
Max Frequency without considering Turbo 2293.73 MHz (99.73 x [23])
Max TURBO Multiplier (if Enabled) with 1/2/3/4 Cores is 33x/32x/30x/30x
Real Current Frequency 1831.69 MHz [99.73 x 18.37] (Max of below)
Core [core-id] :Actual Freq (Mult.) C0% Halt(C1)% C3 % C6 %
Core 1 [0]: 1819.47 (18.24x) 18.2 54.9 30 0
Core 2 [1]: 1831.69 (18.37x) 24.6 52.8 26.7 0
Core 3 [2]: 1637.35 (16.42x) 18.5 57.8 28.4 0
Core 4 [3]: 1826.30 (18.31x) 27.7 60.6 16.4 0



C0 = Processor running without halting
C1 = Processor running with halts (States >C0 are power saver modes with cores i
C3 = Cores running with PLL turned off and core cache turned off
C6, C7 = Everything in C3 + core state saved to last level cache, C7 is deeper t
Above values in table are in percentage over the last 1 sec


I must have broken something during the update.
Any hints on where to look?

I will reboot using 4.9-34 and back to you lot on this.

Cheers,
John
Back to top
View user's profile Send private message
jserink
l33t
l33t


Joined: 30 Jan 2004
Posts: 944

PostPosted: Wed Oct 11, 2017 9:12 am    Post subject: Reply with quote

Ok, booting into 4.9.34 conky shows the CPU at 800MHz...
here is i7z:
Cpu speed from cpuinfo 2194.00Mhz
cpuinfo might be wrong if cpufreq is enabled. To guess correctly try estimating via tsc
Linux's inbuilt cpu_khz code emulated now
True Frequency (without accounting Turbo) 2194 MHz
CPU Multiplier 22x || Bus clock frequency (BCLK) 99.73 MHz

Socket [0] - [physical cores=4, logical cores=8, max online cores ever=4]
TURBO ENABLED on 4 Cores, Hyper Threading ON
Max Frequency without considering Turbo 2293.73 MHz (99.73 x [23])
Max TURBO Multiplier (if Enabled) with 1/2/3/4 Cores is 33x/32x/30x/30x
Real Current Frequency 812.42 MHz [99.73 x 8.15] (Max of below)
Core [core-id] :Actual Freq (Mult.) C0% Halt(C1)% C3 % C6 % Temp VCore
Core 1 [0]: 799.98 (8.02x) 15.5 88.5 5.85 0 62 0.7705
Core 2 [1]: 812.42 (8.15x) 11.2 94.5 1.33 0 62 0.7705
Core 3 [2]: 800.33 (8.03x) 8.79 94.4 2.43 0 62 0.7605
Core 4 [3]: 800.36 (8.03x) 9.31 92.6 3.98 0 62 0.7655



C0 = Processor running without halting
C1 = Processor running with halts (States >C0 are power saver modes with cores idling)
C3 = Cores running with PLL turned off and core cache turned off
C6, C7 = Everything in C3 + core state saved to last level cache, C7 is deeper than C6
Above values in table are in percentage over the last 1 sec
[core-id] refers to core-id number in /proc/cpuinfo
'Garbage Values' message printed when garbage values are read
Ctrl+C to exit


Yup, some sort of compiler choice I must of made a mistake on.

Any thoughts on where to start the look?

Cheers,
john
Back to top
View user's profile Send private message
Apheus
Guru
Guru


Joined: 12 Jul 2008
Posts: 421

PostPosted: Wed Oct 11, 2017 9:25 am    Post subject: Reply with quote

I have the same problem since the upgrade to 4.9 (from 4.4), but only on warm start (reboot), not on cold start (shutdown and turn the pc back on).

With cpu frequency indicators configured for every thread in KDE's system monitor, there's a constant jumping between the possible frequencies after a cold start (if the pc is mostly idle). After a warm start, the frequencies are locked to a constant value near 3500 GHz - which is max without turbo. As if Intel pstates are disabled.

CPU is Core i7 5930K.
_________________
My phrenologist says I'm stupid.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum