cpu accounting wrong on rpi2

Jia-Shiun Li jiashiun at gmail.com
Fri Jun 12 12:25:03 UTC 2015


On Thu, Jun 11, 2015 at 12:28 PM, Jia-Shiun Li <jiashiun at gmail.com> wrote:

> Hi all,
>
> just noticed that cpu accounting is kind of strange on rpi2. It shows 15x
> CPU time.
>
>
>
process stats in top are sometimes correct

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME     CPU
COMMAND
39619 root          1 101   10 66892K 43456K CPU0    0  30:04  98.34% c++
39521 root          1 112   10   423M   418M CPU2    2 237:42  98.19%
genautomata
39622 root          1  97   10 57092K 31100K RUN     3   7:35  76.59% c++
39625 root          1  86   10 47548K 20148K RUN     1   0:01  74.35% c++
  621 jsli          1  39    0 15776K  6984K RUN     3 286:16  16.86% tmux

and sometimes wrong in immediately next snapshot

  PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME     CPU
COMMAND
39521 root          1 113   10   271M   264M CPU2    2 147:22 22248.09%
genautomata
39590 root          1 108   10 75268K 49576K RUN     3  30:13 22247.24% c++
39599 root          1  93   10 47528K 22648K CPU0    0   7:32 22245.61% c++
95532 jsli          1  23    0 19084K  3864K select  1 157:11 22158.75% sshd
39596 root          1  97   10 57040K 30296K CPU1    1   0:08  66.48% c++

this was taken while building lang/gcc5.


-Jia-Shiun.


More information about the freebsd-arm mailing list