Re: [REGRESSION] [Linux 3.2] top/htop and all other CPU usage

Michal Hocko
2011-11-29T07:52:47Z

On Mon 28-11-11 23:28:03, pomac@vapor.com wrote:
> Hi,
>
> All this time i have been thinking i'm the only one - and i've been to
> loaded with work during working hours and tired when home =P
>
> Anyways, I've neen seeing this since -rc1 on:
> Intel(R) Core(TM) i5 CPU U520 @ 1.07GHz - x86-64
> AMD Phenom(tm) II X6 1090T - x86-64
> AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ - x86-64
> Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz - i686
>
> Configs available on demand - I've been running the same config for
> quite some time though.

As I have written in other email could you post your config and collect
the following data?
for i in `seq 30`;
do
cat /proc/stat > `date +'%s'`
sleep 1
done
export old_user=0 old_nice=0 old_sys=0 old_idle=0 old_iowait=0;

# for all your available CPUs
grep cpu0 * | while read cpu user nice sys idle iowait rest;
do
echo $cpu $(($user-$old_user)) $(($nice-$old_nice)) $(($sys-$old_sys)) $(($idle-$old_idle)) $(($iowait-$old_iowait))
old_user=$user old_nice=$nice old_sys=$sys old_idle=$idle old_iowait=$iowait
done

Thanks