Author Topic: (Explained) irqbalance fails and power profiles missing  (Read 1628 times)

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: irqbalance fails and power profiles missing
« Reply #15 on: July 18, 2011, 12:43:23 PM »
added a third image here:
http://www.pclinuxos.com/forum/index.php/topic,94311.msg794362.html#msg794362

the third image refer to the same kernel, this time using "powersave" cpufreq governor instead of the default "ondemand".
May be you were/are using the "powersave" governor at time of kde updates to 4.6.3 ?

You may try then to manually change the gonvernor to powersave:

cpufreq-set -c 0 -g powersave
cpufreq-set -c 1 -g powersave

verify using:

cufreq-info

then test again you system.

AS


Offline MtnMan

  • Sr. Member
  • ****
  • Posts: 258
  • Aged to perfection
Re: irqbalance fails and power profiles missing
« Reply #16 on: July 18, 2011, 04:18:10 PM »
Thank you for the suggestion about powersave governor - it looks very good on your image.  Sadly not so good on mine - maybe slightly worse than ondemand - sticking on one core for a long period. 

My motherboard is a Gigabyte GA-P35-DS3L (v2) with many BIOS options.  I reset to defaults except for some needed changes.  Have been trying to change various options like HPET, virtualization, etc. but all without any luck getting CPU use back to the way it was.  When synaptic has the new version of Getvirtualbox I will try to install it again and be able to test other things.  I have reinstalled so many times I think I can do it with my eyes closed.

Thanks
Pat
I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: irqbalance fails and power profiles missing
« Reply #17 on: July 18, 2011, 04:29:45 PM »
Thank you for the suggestion about powersave governor - it looks very good on your image.  Sadly not so good on mine - maybe slightly worse than ondemand - sticking on one core for a long period. 

My motherboard is a Gigabyte GA-P35-DS3L (v2) with many BIOS options.  I reset to defaults except for some needed changes.  Have been trying to change various options like HPET, virtualization, etc. but all without any luck getting CPU use back to the way it was.  When synaptic has the new version of Getvirtualbox I will try to install it again and be able to test other things.  I have reinstalled so many times I think I can do it with my eyes closed.

Thanks
Pat


When you do this type of comparison, please take in mind that the CK bfs patch has changed often in recent kernels,
dmesg | grep BFS willl tell you which one is installed in your .bfs kernel, 2.6.38.8-pclos3.bfs report:
Quote
BFS CPU scheduler v0.401 by Con Kolivas.


the following threads can provide more info about CK bfs :
http://www.pclinuxos.com/forum/index.php/topic,91066.0.html
http://www.pclinuxos.com/forum/index.php/topic,89664.msg751109.html#msg751109

AS


Offline MtnMan

  • Sr. Member
  • ****
  • Posts: 258
  • Aged to perfection
Re: irqbalance fails and power profiles missing
« Reply #18 on: July 19, 2011, 04:51:45 AM »
AS> Thank you for all your willingness to help - it is so greatly appreciated.

I had already followed those threads but it was good to revisit.

As mentioned at the bottom of reply #12 I have tried other kernels even the standard without CK patch (using CFS I think).

The last ISO that works without problems for me is the FM - when updates are applied there are problems including segfault which is fixed by disabling Nepomuk http://www.pclinuxos.com/forum/index.php/topic,91250.msg764926.html#msg764926

I have ideas that I would like your opinion on:

1. I install latest non-KDE ISO such as LXDE - if CPU works properly then my problem would be with KDE.  If it is the same then;

2. Install the FM 2011.4 but hold back on certain non-KDE updates (looking at the list pointed to in reply #14) what I might guess is the 2 dbus updates.  Or is that a bad idea?
I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: irqbalance fails and power profiles missing
« Reply #19 on: July 19, 2011, 06:35:46 AM »
HI MtnMan,

I had re-read the whole thread, and what you are describing as an issue, is the supposed unbalanced use of the 2 cores of your CPU. From all test I have performed, I can't replicate that, except maybe for the second image of post #7: http://www.pclinuxos.com/forum/index.php/topic,94311.msg794010.html#msg794010

As you may have seen things appear to be different using different kernel, different governors, and very probably different running applications. BFS scheduler coupled to "ondemand governor" appear to switch between the 2 core very often (say 1 or more time per second), while the same using "powersave governor" switch approx every 15 secs. CPU Load it's however balanced, in different way but still balanced.

The graph from my tests using gkrellm, are as large as 4 minutes, the large of your ksysguard test, as per default in FM, is large 1 minutes, it's unlikely you can see a switch between the 2 core if it happen say after 3 minutes.

Even if a process never switch to the second core, what's the problem ? The other core remain available for use from other tasks, moreover if instead of your test (while true; do true; done) you run a multithreaded applications like Chromium or Firefox to name a couple, you will find both cores working simultaneously.

Going to test different systems like LXDE vs KDE, is likely to introduce even more variables into the "issue", this is not the right path IMHO to find a root cause of any problem.

So, if it's me I would go with the latest kernel only (either .bfs or without the CK patch, depending on your requirements), and if a specific and a real issue arise, report back about.

From another point of view, kernel is a piece of software used across all distributions, and if an issue exist it will be found from one of the many "kernel developers", surely they have better tools and knowledge to test a possible issue like the one discussed here.

AS
« Last Edit: July 19, 2011, 07:58:48 AM by as »

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: irqbalance fails and power profiles missing
« Reply #20 on: July 19, 2011, 07:31:37 AM »
Update:

out of curiosity and being looking around I found and update about irqbalance, and more important two things:

1) irqbalance 0.55 source are dated 2006  ???
2) downloaded and compiled irqbalance 0.56 which appear to a be a "new" irqbalance, acting differently, at least on my system,
    core 2 duo T8100, where the current repo version exit immediately and the 0.56 remain running.

I'm going to request an update. (Remainder to myself: time to learn about building packages  ;)  )
EDIT: requested here: http://www.pclinuxos.com/forum/index.php/topic,94452.0.html

MtnMan,
still I think this is unrelated to your issue.

AS
« Last Edit: July 19, 2011, 07:58:32 AM by as »

Offline MtnMan

  • Sr. Member
  • ****
  • Posts: 258
  • Aged to perfection
Re: irqbalance fails and power profiles missing
« Reply #21 on: July 19, 2011, 01:58:41 PM »
Mmmm... a lot to consider.  You make some good points.  Just because I see it running differently than in the past does not mean it is broken - my error.  I monitored it for about 15 minuites and at no point did it actually stop the rotation - so you are right - it is just a much bigger window than I have ever seen before but it still does its job without failing.  My concern for this issue is actually unrelated to this computer.  Awhile ago I built a computer for high power and low heat for a confined space.  Linux did not work well on it.  I grudgingly installed W7 using the Gigabyte utility to control power stepping and it only works with Windows.  It was my hope to install FM so I may seem overly concerned about this issue.

Thank you for your update request - I added a vote.  I will look for it in testing and if it doesn't work for me I will - wait, I don't know what am I supposed to do - can I pm you with any question or concern about it if there is one?

Really? dated 2006?  That seems so long ago.  I hadn't even heard of Linux in 2006 (lives under a rock).  Thanks for your effort, time and research.
I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin

Offline AS

  • Hero Member
  • *****
  • Posts: 4111
  • Have a nice ... night!
Re: irqbalance fails and power profiles missing
« Reply #22 on: July 19, 2011, 03:07:13 PM »
Thank you for your update request - I added a vote.  I will look for it in testing and if it doesn't work for me I will - wait, I don't know what am I supposed to do - can I pm you with any question or concern about it if there is one?
If and when an update will be available, it will be installed as any other update. About PM me, the mailbox is open  :)  however if your questions are of general interest, the forum is a better place.

Quote
Really? dated 2006?  That seems so long ago.  I hadn't even heard of Linux in 2006 (lives under a rock).  Thanks for your effort, time and research.
That's the source as available on the website, may be the PCLinuxOS package is built upon some patched/updated pre-release... don't know.

AS