具有高 CPU 平均负载的嵌入式 Linux 设备

具有高 CPU 平均负载的嵌入式 Linux 设备

我正在修补一个使用 ARM6 CPU(单核)的嵌入式 Linux 设备,该设备似乎正在经历高 CPU 平均负载。

这是我开机10分钟后看到的

Load average: 5.00 5.00 4.84 1/58 669

正在运行的 1 个进程(第 58 个进程)位于顶部。大多数其他东西都在睡觉。

    Mem: 52064K used, 6788K free, 0K shrd, 0K buff, 25916K cached
CPU:   0% usr   0% sys   0% nic  98% idle   0% io   0% irq   0% sirq
Load average: 5.00 5.00 4.85 1/57 669
  PID  PPID USER     STAT   VSZ %VSZ CPU %CPU COMMAND
  653   652 root     R     2964   5%   0   1% top
  552   432 root     S     5396   9%   0   0% ./lld
  650   546 root     S     4636   8%   0   0% sshd: root@ttyp0
  610   552 root     S    67600 114%   0   0% /croc/cr715 --root-dir /croc/
  605   552 root     S    16080  27%   0   0% /croc/media_daemon --log -1 --rec 0 --play 0
  546     1 root     S     4636   8%   0   0% /usr/sbin/sshd
  432     1 root     S     3812   6%   0   0% {rcS} /bin/sh /etc/init.d/rcS
  652   650 root     S     3284   6%   0   0% -bash
    1     0 root     S     2960   5%   0   0% init
  635   610 99       S     2016   3%   0   0% dns-proxy
  431     2 root     SWN      0   0%   0   0% [jffs2_gcd_mtd7]
  123     2 root     SW       0   0%   0   0% [pdflush]
    5     2 root     SW<      0   0%   0   0% [khelper]
  396     2 root     SW<      0   0%   0   0% [SPI]
    4     2 root     SW<      0   0%   0   0% [events/0]
  426     2 root     SW<      0   0%   0   0% [croc715fb]
  524     2 root     DW       0   0%   0   0% [hwthread]
    2     0 root     SW<      0   0%   0   0% [kthreadd]
    3     2 root     SW<      0   0%   0   0% [ksoftirqd/0]
   17     2 root     SW       0   0%   0   0% [bcmring_ddrvpmp]
   45     2 root     SW       0   0%   0   0% [knllog]
   76     2 root     SW<      0   0%   0   0% [kblockd/0]
   79     2 root     SW       0   0%   0   0% [perfpoll]
   80     2 root     SW<      0   0%   0   0% [hosticp]
   88     2 root     SW<      0   0%   0   0% [ksuspend_usbd]
   94     2 root     SW<      0   0%   0   0% [khubd]
   98     2 root     SW<      0   0%   0   0% [kmmcd]
  104     2 root     SW<      0   0%   0   0% [btaddconn]
  105     2 root     SW<      0   0%   0   0% [btdelconn]
  122     2 root     SW       0   0%   0   0% [pdflush]
  124     2 root     SW<      0   0%   0   0% [kswapd0]
  125     2 root     SW<      0   0%   0   0% [aio/0]
  126     2 root     SW<      0   0%   0   0% [nfsiod]
  127     2 root     SW       0   0%   0   0% [crypto]
  128     2 root     SW       0   0%   0   0% [crypto_ret]
  334     2 root     SW<      0   0%   0   0% [GE_THREAD]
  338     2 root     SW<      0   0%   0   0% [vpm_power_queue]
  369     2 root     SW<      0   0%   0   0% [mtdblockd]
  410     2 root     SWN      0   0%   0   0% [keypad: hook po]
  420     2 root     SW<      0   0%   0   0% [krfcommd]
  421     2 root     SW<      0   0%   0   0% [rpciod/0]
  525     2 root     DW       0   0%   0   0% [hausioctl]
  526     2 root     SW<      0   0%   0   0% [frameProfiler]

有一个hwthread和一些其他进程处于某种DW状态。这些物品可能是DW罪魁祸首吗?

相关内容