Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jun 2015 20:24:31 +0800
From:      Jia-Shiun Li <jiashiun@gmail.com>
To:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: cpu accounting wrong on rpi2
Message-ID:  <CAHNYxxOZYwEHL=HXMnPK%2BCC4Fb1Z9eiFDdv-i6=vOP3yESZAiA@mail.gmail.com>
In-Reply-To: <CAHNYxxNhVM0Bb-=zq2KuhLhAtdMtBVDBTYz7rk_43tCsYUrEqg@mail.gmail.com>
References:  <CAHNYxxNhVM0Bb-=zq2KuhLhAtdMtBVDBTYz7rk_43tCsYUrEqg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 11, 2015 at 12:28 PM, Jia-Shiun Li <jiashiun@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHNYxxOZYwEHL=HXMnPK%2BCC4Fb1Z9eiFDdv-i6=vOP3yESZAiA>