Re: top displaying 50% si time and 50% idle on idle machine

From: Andrew Morton
Date: Thu Sep 07 2006 - 20:53:30 EST


On Thu, 7 Sep 2006 20:08:53 +0200
"Metathronius Galabant" <m.galabant@xxxxxxxxxxxxxx> wrote:

> Hi,
>
> Kernel 2.6.17.11 with tg3 network driver, NAPI enabled (Distro CentOS 4.4).
> top shows strangely 50% idle even if the machine is _completely_ idle.
>
> top - 01:04:30 up 4 days, 12:05, 2 users, load average: 0.00, 0.00, 0.00
> Tasks: 34 total, 2 running, 32 sleeping, 0 stopped, 0 zombie
> Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 50.0% id, 0.0% wa, 0.0% hi, 50.0% si
> Mem: 3634452k total, 313284k used, 3321168k free, 71308k buffers
> Swap: 505896k total, 0k used, 505896k free, 220272k cached
>
> I find this pretty alarming - can somebody please enlighten me?
> Please include me on CC.

Do `ps aux', look for a process stuck in D state.

Do

echo t > /proc/sysrq-trigger
dmesg -s 1000000 > foo

then edit foo, search for the process in D state (look for " D ") and send
that process's backtrace record.

Thanks.
-
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/