Re: [REGRESSION] [Linux 3.2] top/htop and all other CPU usage metering applications has gone crackers

From: Rafael J. Wysocki
Date: Sun Nov 27 2011 - 06:43:15 EST


On Sunday, November 27, 2011, Tino Keitel wrote:
> On Thu, Nov 24, 2011 at 21:05:53 +0100, Tino Keitel wrote:
> > On Thu, Nov 24, 2011 at 10:30:15 +0000, Artem S. Tashkinov wrote:
> > > Hello,
> > >
> > > I'd like to report a weird regression in Linux 3.2 (running rc3 now) - all CPU metering applications have gone terribly mad
> > > under this kernel:
> >
> > I get the same using top, htop and the gnome system monitor with kernel
> > 3.2 on a Sandy Bridge quad core box, running Debian unstable.
>
> I just tested 3.2-rc2, and see the same bug.

I'm seeing that too on one of my test boxes, but not all the time
(i.e. there are periods in which the readings are correct). The other boxes
I've tested with 3.2-rc are fine in that respect.

Also, it seems that it shows 100%-(real load) when it is wrong. So, it looks
like there's an overflow somewhere in the CPU load measuring code, at least
on some CPUs.

What's your CPU, BTW?

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/