Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
powersave governour defunct in 4.10.X
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
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3759
Location: Austro Bavaria

PostPosted: Tue May 16, 2017 6:23 pm    Post subject: powersave governour defunct in 4.10.X Reply with quote

It seems for some reason for quite a while 4.10.x does not respect the following command anymore

Code:
cpupower frequency-set -g powersave


I pulled out my backup, and reverted back to 4.9.20-gentoo-08-04-2017.
I copied kernel 4.9.20-gentoo-08-04-2017, build date 8th april 2017, from my backup to boot and booted without the module directory. The powersave governour worked.

I changed /usr/src/linux to 4.10.16 branch
cp /proc/config.gz > .config
make oldconfig
checked if name was 08-04, was, updated datestring to today.

powersave governour is broken.

---

~ Around 2 weeks the powersave governour is broken. I suspected too many changes to my kernel config. So I reverted back to a month old config to see if 4.9.x was affected and how the old config behaves with recent kernels.

---

In my humble opinion it is the kernel fault, as my old kernel worked regarding the powersave issue.

--

cpu is i7-3610qm, ivybridge.

--

afaik 4.11.0 does not work with the nvidia-binary, so i have it masked as of now! I am not fond of using epatches!

--

Is htis a known issue regarding ivybrdige and governours?

--

I doubt it is an issue with i7z wrongly displaying its values.

When i update my world with powersave enalbed on 4.10.x i hear the fan quite after a while. the cpu is not downclocked to the lowest value 1200 as it hsould be.

The hardware hardly used the fan with powersave enabled on previous kernels when doing a world update.

and it is not a thermal paste issue. that was redone around xmas.

i7z reports more than the lowest value, it seems i7z reports the behaviours of ondemand governour as the expected powersave governour.

--

box is ~amd64 with stable gcc. I will not use 6.3.x gcc for a while. too much fuss most likely.
Back to top
View user's profile Send private message
jburns
l33t
l33t


Joined: 18 Jan 2007
Posts: 981
Location: Massachusetts USA

PostPosted: Tue May 16, 2017 6:28 pm    Post subject: Reply with quote

4.11.1 works with the nvidia-binary.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5761
Location: Saint Amant, Acadiana

PostPosted: Tue May 16, 2017 6:29 pm    Post subject: Reply with quote

There is no powersave governor with Intel P-states driver. It all is done in hardware AFAIK.
_________________
Please learn how to denote units correctly!

Political Correctness is all about replacing imaginary injustice with real injustice.
Back to top
View user's profile Send private message
The_Great_Sephiroth
Veteran
Veteran


Joined: 03 Oct 2014
Posts: 1009
Location: Fayetteville, NC, USA

PostPosted: Wed May 17, 2017 3:07 pm    Post subject: Reply with quote

I thought we were supposed to use the ACPI driver on newer Intel chips? I use it and the powersave governor works.
_________________
Ever picture systemd as what runs "The Borg"?
Back to top
View user's profile Send private message
tuggbuss
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2017
Posts: 100

PostPosted: Fri May 19, 2017 11:22 am    Post subject: Reply with quote

Jaglover wrote:
There is no powersave governor with Intel P-states driver. It all is done in hardware AFAIK.


I have Intel P-state enabled in kernel, and emerged cpupower yesterday, and added service to run @ boot. I edited conf.d/cpupower to run "performance"

I'll check if it's working when i get home
Back to top
View user's profile Send private message
Ant P.
Advocate
Advocate


Joined: 18 Apr 2009
Posts: 4335

PostPosted: Fri May 19, 2017 2:29 pm    Post subject: Reply with quote

The_Great_Sephiroth wrote:
I thought we were supposed to use the ACPI driver on newer Intel chips? I use it and the powersave governor works.

ACPI driver is for new AMD chips, P-state driver for new Intel chips. The latter has built in governors called "performance" and "powersave" which work very differently to the kernel software governors. Don't enable the in-kernel powersave option for any reason other than coping with defective hardware, clamping a chip to run at minimum speed isn't a very useful thing to do.
_________________
Your PID1 sucks // runit-scripts
Back to top
View user's profile Send private message
tuggbuss
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2017
Posts: 100

PostPosted: Fri May 19, 2017 4:36 pm    Post subject: Reply with quote

Checked, but my CPU states 3200 max

Code:
gentoo@gentoo ~ $ cat /proc/cpuinfo | grep "MHz"
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000
cpu MHz      : 3201.000


Last edited by tuggbuss on Fri May 19, 2017 10:30 pm; edited 1 time in total
Back to top
View user's profile Send private message
tuggbuss
Tux's lil' helper
Tux's lil' helper


Joined: 20 Mar 2017
Posts: 100

PostPosted: Fri May 19, 2017 8:13 pm    Post subject: Reply with quote

Using Arch Linux my governor works on my overclocked system (running 4.1 GHz) but in gentoo i "only" get 3.2 GHz.
Is there a way (enable/disable modules/options) in kernel to get it to work for me (up to 4.1 GHz)?
Am i hijacking this thread now?


E: I didn't have Intel P-state enabled in kernel. I enabled it, now i have a working ondemand and performance mode.

Code:
gentoo@gentoo ~ $ cat /proc/cpuinfo | grep "MHz"
cpu MHz      : 4100.000
cpu MHz      : 4102.148
cpu MHz      : 4099.804
cpu MHz      : 4100.000
cpu MHz      : 4099.609
cpu MHz      : 4099.804
cpu MHz      : 4107.226
cpu MHz      : 4105.468
cpu MHz      : 4100.000
cpu MHz      : 4099.804
cpu MHz      : 4093.750
cpu MHz      : 4099.804
cpu MHz      : 4099.609
cpu MHz      : 4100.585
cpu MHz      : 4100.000
cpu MHz      : 4101.562
gentoo@gentoo ~ $
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