Re: G5 Xserve rackmeter broken?

2015-05-14 Thread Aaro Koskinen
Hi, On Thu, May 14, 2015 at 08:14:57PM +1000, Benjamin Herrenschmidt wrote: On Thu, 2015-05-14 at 13:06 +0300, Aaro Koskinen wrote: On Wed, May 13, 2015 at 06:39:40AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2015-05-12 at 20:55 +0300, Aaro Koskinen wrote: I'm running with HZ=100 so

Re: G5 Xserve rackmeter broken?

2015-05-14 Thread Benjamin Herrenschmidt
On Thu, 2015-05-14 at 13:06 +0300, Aaro Koskinen wrote: Hi, On Wed, May 13, 2015 at 06:39:40AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2015-05-12 at 20:55 +0300, Aaro Koskinen wrote: I'm running with HZ=100 so the values are still probably within jiffy resolution, so perhaps the

Re: G5 Xserve rackmeter broken?

2015-05-14 Thread Aaro Koskinen
Hi, On Wed, May 13, 2015 at 06:39:40AM +1000, Benjamin Herrenschmidt wrote: On Tue, 2015-05-12 at 20:55 +0300, Aaro Koskinen wrote: I'm running with HZ=100 so the values are still probably within jiffy resolution, so perhaps the calculation should first do idle = min(idle, total)? Does

Re: G5 Xserve rackmeter broken?

2015-05-12 Thread Aaro Koskinen
Hi, On Mon, May 11, 2015 at 08:13:35AM +1000, Benjamin Herrenschmidt wrote: On Sun, 2015-05-10 at 21:32 +0300, Aaro Koskinen wrote: Hi, With 4.1-rc2 the rackmeter driver for G5 Xserve is giving bogus led patterns. So far I have seen at least the following: a) With static load the

Re: G5 Xserve rackmeter broken?

2015-05-12 Thread Benjamin Herrenschmidt
On Tue, 2015-05-12 at 20:55 +0300, Aaro Koskinen wrote: I'm running with HZ=100 so the values are still probably within jiffy resolution, so perhaps the calculation should first do idle = min(idle, total)? Does it gives you a reasonable output if you do that ? Cheers, Ben.

Re: G5 Xserve rackmeter broken?

2015-05-10 Thread Benjamin Herrenschmidt
On Sun, 2015-05-10 at 21:32 +0300, Aaro Koskinen wrote: Hi, With 4.1-rc2 the rackmeter driver for G5 Xserve is giving bogus led patterns. So far I have seen at least the following: a) With static load the leds seems to be sane and report CPU usage properly, but after few minutes they go

G5 Xserve rackmeter broken?

2015-05-10 Thread Aaro Koskinen
Hi, With 4.1-rc2 the rackmeter driver for G5 Xserve is giving bogus led patterns. So far I have seen at least the following: a) With static load the leds seems to be sane and report CPU usage properly, but after few minutes they go completely OFF, even if the CPU load remains high. b) On a