Comment 18 for bug 691721

Revision history for this message
Kim Nguyễn (kim.nguyen) wrote : Re: Only one core managing with indicator-cpufreq.

> That's why I don't like per-CPU indicator approach.

What do you not like exactly ?

> Instead, I'm going to implement switching governors for all cores (and displaying something like the mean frequency for all of them, perhaps).

Hum... I don't really agree here. Either people care about CPU settings and they want fine grained control over them, or they
don't care and they wouldn't use the applet in the first place.
Also mean frequency is not really relevent. Say I have 4 cores which can switch from 800Mhz to 1.2Ghz. If one of them is
running wild at max frequency, I'd rather have the indicator show me that something is going 100%,
not that my whole system is going at 800*3 + 1200 / 4 = 900Mhz

I think it could be indeed good to also have a global setting but then it makes the assumption that all cores support
the same frequencies and all cores support the same governors. This is obviously the case for 99.9% of the people
but I dont know if there exists SMP conf for which you can have slightly different cpus.

Otherwise why not do the following:
- the main icon shows the state of fastest CPU.
- each CPU gets its line as above and there is an extra section below which sets globally for all cores
(or there could be an extra global entry which sets it for all cores).
[_] CPU 0 >
[_] CPU 1 >
[_] CPU 2 >
[_] CPU 3 >
--------------
1.2 Ghz
0.8 Ghz
--------------
Conservative
Ondemand
Performance
Powersave

> I shall get back to this as soon as I finish my thesis. If anyone comes up with a patch before this, I'll gladly accept that.

Best of luck with that.