[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Disc issues



Am 26.04.2012 17:15, schrieb Samuel Thibault:
> Philipp Klaus Krause, le Thu 26 Apr 2012 17:13:39 +0200, a écrit :
>> Another problem is performance wrt. disc access. Hurd feels slow, and my
>> hdd is rattling all the time when I do something in Hurd. top always
>> reports ext2fs as main cpu user and often gives ext2fs cpu usage at up
>> to 50%, even for tasks that tend to be CPU bound when run on the host
>> system (e.g. compiling something, ext2fs is at the top, and the compiler
>> itself is further down the list as is make).
> 
> Did you use the cache=writeback option for the disk?

Thanks. The disc rattling noise is mostly gone now that Iuse a writeback
cache, but top still reports ext2fs as the main cpu time user.

Philipp


Here's typical start of top output when compiling something (as yu can
see ext2fs is above 50% and dwarf everything else):

top - 15:51:08 up 15456 days, 15:51,  0 users,  load average: 16.82,
16.18, 12.93
Tasks:  61 total,   1 running,  58 sleeping,   0 stopped,   0 zombie
Cpu(s): 98.2% us,  0.0% sy,  0.0% ni,  1.8% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    524276k total,   100644k used,   423632k free,        0k buffers
Swap:   177148k total,        0k used,   177148k free,        0k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND




    3 root      20   0  413m  17m    0 R 54.4  3.4   1:06.24 ext2fs




    5 root      20   0  130m  628    0 S  0.7  0.1   0:00.68 /hurd/auth




  507 root      20   0  130m 1536    0 S  0.7  0.3   0:00.88 /hurd/term




    2 root       6 -14  673m  12m    0 D  0.3  2.4   0:00.25
root=device:hd0



    4 root      20   0  131m 1320    0 S  0.3  0.3   0:01.26 /hurd/exec




  651 philipp   20   0  135m 2696    0 S  0.3  0.5   0:00.72 make




  357 root      20   0  131m 1952    0 S  0.3  0.4   0:00.58
/hurd/pfinet



    9 root      20   0  131m 1084    0 S  0.2  0.2   0:00.59
/hurd/pflocal



   24 root      20   0  130m  900    0 S  0.2  0.2   0:00.27
/hurd/procfs



 4569 philipp   20   0  135m 1356    0 S  0.2  0.3   0:00.01 make




    1 root      20   0  146m  200    0 S  0.0  0.0   0:00.00 /hurd/init




    6 root      20   0  147m 1144    0 S  0.0  0.2   0:00.00 /bin/bash




    7 root      20   0  130m  672    0 S  0.0  0.1   0:00.07 /hurd/term




    8 root      20   0  130m  436    0 S  0.0  0.1   0:00.00 /hurd/magic




  113 root      20   0  130m  972    0 S  0.0  0.2   0:00.04
/hurd/random



  114 messageb  20   0  8096  816    0 S  0.0  0.2   0:00.00
/usr/bin/dbus-d



   12 root      20   0  129m 1232    0 S  0.0  0.2   0:00.00
/hurd/mach-defp



  738 philipp   20   0  146m 1540    0 S  0.0  0.3   0:00.11 top




   14 root      20   0  131m  488    0 S  0.0  0.1   0:00.00
/hurd/storeio



  411 philipp   20   0 14456 1840    0 S  0.0  0.4   0:00.02
/usr/sbin/sshd



  413 philipp   20   0  148m 6272    0 S  0.0  1.2   0:00.35 -bash




   18 root      20   0  131m  268    0 S  0.0  0.1   0:00.00
/hurd/storeio



   19 root      20   0  131m  480    0 S  0.0  0.1   0:00.02
/hurd/storeio



   20 root      20   0  131m  480    0 S  0.0  0.1   0:00.00
/hurd/storeio



   21 root      20   0  131m  480    0 S  0.0  0.1   0:00.00
/hurd/storeio



  624 philipp   20   0  135m 1480    0 S  0.0  0.3   0:00.02 make




   23 root      20   0  130m  628    0 S  0.0  0.1   0:00.16 /hurd/null




  610 philipp   20   0  135m 1444    0 S  0.0  0.3   0:00.01 make




  749 root      20   0  130m  868    0 S  0.0  0.2   0:00.00
/hurd/proxy-def



 4575 philipp   20   0  146m  820    0 S  0.0  0.2   0:00.00 /bin/sh


Reply to: