[Bug Report filed] CPU freq gov needs fixing ...

This forum is dedicated to testing early releases and cauldron : Howtos, tips, tricks and user global feedback and thoughts...

Helpful tip :
For bugs tracking we use : https://bugs.mageia.org = The Mageia Bug Tracker
In this bug tracker you'll find already reported bugs and you'll be able to report those you have found....

[Bug Report filed] CPU freq gov needs fixing ...

Postby ghmitch » Apr 29th, '13, 02:09

I made an interesting discovery regarding CPU frequency throttling. The application recomended by Red Hat for this task is cpupower. But the default profile for cpupower is "on demand". With "on demand" I was getting brief UI freezes when running CPU intensive operations like btrfs scrub. And unfortunately, it is difficult to throttle btrfs scrub as a process since neither nice nor cpulimit do the job easily. The problem with "on demand" is that it is overactive in ratcheting CPU frequency up and down which results in some degree of latency where the resource governor can not keep up with the shifting load. I found a better choice to be "conservative" which maintains a higher power level longer before dropping it down again as is seeming to produce a much smoother ride for desktop usage. You won't save quite as much power, but CPU intensive applications will be considerably less noticable as the CPU will be set loose until the load has settled. The key config file to look for is /etc/sysconfig/cpupower. Also make sure you are running only ONE version of CPU power modulation. There are multiple apps available. Only one should be installed. - George
Last edited by ghmitch on Jun 3rd, '13, 00:46, edited 2 times in total.
ghmitch
 
Posts: 325
Joined: Mar 30th, '11, 03:05
Location: Eureka California USA

Re: FYI about cpu frequency throttling ...

Postby VoodooDali » Apr 29th, '13, 13:32

Nice. Thanks! :D
Image
Voo #557749
running "Celene"
ASUS G73Jh
Intel Core i7 720QM
AMD (ATi) Mobility Radeon HD 5870
Mageia 4
User avatar
VoodooDali
 
Posts: 114
Joined: Mar 24th, '13, 18:11
Location: Chicago, IL, US

Re: CPU frequency throttling needs fixing in Mageia 3 ...

Postby ghmitch » May 19th, '13, 06:17

I discovered this problem through hard experience some time ago when I initially posted this. But now this comes out:http://www.phoronix.com/scan.php?page=news_item&px=MTM3NDQ. In light of this disclosure, I believe that "ondemand" profile should NOT be the default profile for cpupower or cpufreq which also defaults to "ondemand". I don't know if it still is currently, but it was when I originally installed cpupower. Perhaps someone at Mageia could look into this or should I file a bug report against cpupower and see what it turns up? Or is this something that is totally controlled by upstream? My concern is that user complaints could perhaps be avoided by somehow fixing this at the distro level. For power saving with reasonable performance, I am finding that the "conservative" profile works well. - George
ghmitch
 
Posts: 325
Joined: Mar 30th, '11, 03:05
Location: Eureka California USA

Re: CPU frequency throttling needs fixing in Mageia 3 ...

Postby morgano » May 22nd, '13, 12:16

Please file bug to alert developers to discuss.
At home & work Mandriva since 2006, Mageia 2011. Thinkpad T40, T43, T60, T400, T510, Dell M4400, M6300, Acer Aspire 7. Workstation using LVM, LUKS, VirtualBox, BOINC
morgano
 
Posts: 1490
Joined: Jun 15th, '11, 17:51
Location: Kivik, Sweden

Re: CPU frequency throttling needs fixing in Mageia 3 ...

Postby ghmitch » Jun 3rd, '13, 00:45

ghmitch
 
Posts: 325
Joined: Mar 30th, '11, 03:05
Location: Eureka California USA

Re: [Bug Report filed] CPU freq gov needs fixing ...

Postby ozky » Jun 26th, '13, 19:26

This is quit hard to fix it in mageia 3,but you should change that report against cauldron so they fix it in next stable release.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: [Bug Report filed] CPU freq gov needs fixing ...

Postby ghmitch » Jun 27th, '13, 21:38

At this point it looks like someone IS looking at it in relation to Mageia3. I should not think it should be that difficult to change the default governor on Mageia 3. But you are correct in asserting that the Cauldren side should be addressed as well. As I would rather not confuse the issue (and myself) by adding a bug report against Cauldren, if any of you all would be willing to do so and link it here, I would appreciate that. My immediate interest is with Mageia 3, since that is what I plan to be using for an extended time. The Cauldren side should be addressed by someone who follows Cauldren a whole lot closer than I do.
ghmitch
 
Posts: 325
Joined: Mar 30th, '11, 03:05
Location: Eureka California USA

Re: [Bug Report filed] CPU freq gov needs fixing ...

Postby ozky » Jul 17th, '13, 17:00

I tested this and that consernative slows down my laptop and makes it slow as hell,so i needed to change it back to ondemand.
Image
Mageia user
User avatar
ozky
 
Posts: 581
Joined: Jul 2nd, '11, 08:48
Location: Nakkila Finland

Re: [Bug Report filed] CPU freq gov needs fixing ...

Postby jiml8 » Jul 18th, '13, 18:54

For what it is worth, I am running an Asus Sabertooth 990FX R2 motherboard with an AMD Phenom-II 955 quad-core processor. This is the first Linux system I have run where I enabled the AMD "Cool n Quiet" feature and left it on; in all previous systems, I had noticed performance impacts that were sufficiently severe to cause me to disable the feature in BIOS and not run any power management in the system.

My system is set to "ondemand" and I have noticed no performance issues. In fact, I am continually monitoring CPU temperatures and clocks, and I find the behavior of the system to be excellent. I do at some times experience "stuttering" of the KDE interface, but this seems related to a memory leak in X as opposed to anything else, and clearly is dependent upon how long KDE and X have been up and running.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09


Return to Testing : Alpha, Beta, RC and Cauldron

Who is online

Users browsing this forum: No registered users and 1 guest