disk diagnostics

Pieter Dumon pieter.dumon at gmail.com
Thu Jul 27 01:20:29 PDT 2006


On 7/26/06, Bill Hacker <wbh at xxxxxxxxxxxxx> wrote:
complete in *seconds* what you are reporting in *minutes*.
that's what I thought too.

Something just has to be wrong with your set up.
yep, and I'd like to find out what.

Below are some logs.
Pieter
----------

before rm -rf world_i386:
df -m
/dev/ad2s2a       248   93   134    41%    /
/dev/ad2s2d       248   13   214     6%    /var
/dev/ad2s2e       248   17   210     8%    /tmp
/dev/ad2s2f      4130 1893  1906    50%    /usr
/dev/ad2s2g        12    5     6    47%    /home
procfs              0    0     0   100%    /proc
/dev/ad2s8e      1391  902   377    70%    /usr/obj
du -s -h world_i386
388M    world_i386

uptime
11:24AM  up 15:03, 0 users, load averages: 0.02, 0.01, 0.00

top (loads of kdeinits, but I didn't touch my computer while rm was running)
load averages:  0.00,  0.00,  0.00  up 0+15:05:34    11:26:28
44 processes:  1 running, 43 sleeping
CPU states:  0.0% user,  0.0% nice,  0.4% system,  0.0% interrupt, 99.6% idle
Mem: 88M Active, 764M Inact, 105M Wired, 32M Cache, 112M Buf, 12M Free
Swap: 1024M Total, 1024M Free
 PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 728 pdumon   152   0 28036K 18060K poll     1:53  0.00%  0.00% kdeinit
 765 pdumon   152   0 31252K 20496K poll     0:42  0.00%  0.00% kdeinit
 749 pdumon   152   0 31344K 20892K poll     0:40  0.00%  0.00% kdeinit
 754 pdumon   152   0 33296K 21040K poll     0:40  0.00%  0.00% kdeinit
 737 pdumon   152   0 10952K  7832K poll     0:25  0.00%  0.00% artsd
 677 root     152   0   157M 32576K select   0:24  0.00%  0.00% Xorg
 747 pdumon   152   0 29352K 18796K poll     0:14  0.00%  0.00% kdeinit
 751 pdumon   152   0 27372K 16648K poll     0:06  0.00%  0.00% kdeinit
49345 pdumon   152   0 36336K 25880K poll     0:01  0.00%  0.00% kdeinit
49349 pdumon   152   0 35056K 24984K poll     0:01  0.00%  0.00% kdeinit
 743 pdumon   152   0 28336K 17712K poll     0:01  0.00%  0.00% kdeinit
 596 root     152   0  3820K  2080K select   0:00  0.00%  0.00% sendmail
 740 pdumon   152   0  1084K   488K nanslp   0:00  0.00%  0.00% kwrapper
49357 pdumon   152   0 27576K 17748K poll     0:00  0.00%  0.00% kdeinit
 726 pdumon   152   0 25604K 15272K poll     0:00  0.00%  0.00% kdeinit
 742 pdumon   152   0 26140K 16048K poll     0:00  0.00%  0.00% kdeinit
 739 pdumon   152   0 26044K 15944K poll     0:00  0.00%  0.00% kdeinit
49374 root     152   0  2252K  1304K RUN      0:00  0.00%  0.00% top
time rm -rf world_i386
0.070u 0.476s 20:11.87 0.0%     313+264k 7+54102io 0pf+0w

I did let top continously log to a file while running rm. Here are
some excerpts:
1) this is the startup phase: rm takes some cpu time
load averages:  0.01,  0.01,  0.00  up 0+15:12:26    11:33:20
42 processes:  2 running, 40 sleeping
CPU states:  2.7% user,  0.0% nice,  0.8% system,  0.0% interrupt, 96.5% idle
Mem: 87M Active, 762M Inact, 105M Wired, 32M Cache, 112M Buf, 14M Free
Swap: 1024M Total, 1024M Free
 PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
49421 root     152   0   484K   352K biowr    0:00  3.21%  2.25% rm
 677 root     152   0   157M 33020K RUN      0:32  0.29%  0.29% Xorg
 728 pdumon   152   0 28036K 18060K poll     1:54  0.00%  0.00% kdeinit
2) some typical views:
load averages:  0.00,  0.00,  0.00  up 0+15:13:41    11:34:35
43 processes:  1 running, 42 sleeping
CPU states:  1.6% user,  0.0% nice,  0.4% system,  1.2% interrupt, 96.9% idle
Mem: 86M Active, 719M Inact, 103M Wired, 32M Cache, 112M Buf, 60M Free
Swap: 1024M Total, 1024M Free
 PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
49421 root     152   0   480K   348K biowr    0:00  1.97%  1.95% rm
 728 pdumon   152   0 28036K 18060K poll     1:55  0.00%  0.00% kdeinit
 765 pdumon   152   0 31728K 21028K poll     0:44  0.00%  0.00% kdeinit
 749 pdumon   152   0 31344K 20892K poll     0:41  0.00%  0.00% kdeinit
 754 pdumon   152   0 33296K 21040K poll     0:40  0.00%  0.00% kdeinit
 677 root     152   0   157M 33200K select   0:32  0.00%  0.00% Xorg
load averages:  0.00,  0.00,  0.00  up 0+15:14:47    11:35:41
43 processes:  3 running, 40 sleeping
CPU states:  0.0% user,  0.0% nice,  0.8% system,  1.9% interrupt, 97.3% idle
Mem: 86M Active, 708M Inact, 103M Wired, 32M Cache, 112M Buf, 71M Free
Swap: 1024M Total, 1024M Free
 PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
49421 root     152   0  1240K  1108K biowr    0:00  3.96%  3.96% rm
 728 pdumon   152   0 28036K 18060K RUN      1:55  0.00%  0.00% kdeinit
 765 pdumon   152   0 31728K 21028K poll     0:44  0.00%  0.00% kdeinit
 749 pdumon   152   0 31344K 20892K poll     0:41  0.00%  0.00% kdeinit
 754 pdumon   152   0 33296K 21040K RUN      0:40  0.00%  0.00% kdeinit
this is a very typical view:

load averages:  0.00,  0.00,  0.00  up 0+15:21:33    11:42:27
43 processes:  1 running, 42 sleeping
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.4% interrupt, 99.6% idle
Mem: 84M Active, 633M Inact, 104M Wired, 32M Cache, 112M Buf, 148M Free
Swap: 1024M Total, 1024M Free
 PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 728 pdumon   152   0 28036K 18060K poll     1:56  0.00%  0.00% kdeinit
 765 pdumon   152   0 31728K 21028K poll     0:44  0.00%  0.00% kdeinit
 749 pdumon   152   0 31344K 20892K poll     0:41  0.00%  0.00% kdeinit
 754 pdumon   152   0 33296K 21040K poll     0:41  0.00%  0.00% kdeinit
 677 root     152   0   157M 33200K select   0:32  0.00%  0.00% Xorg
 737 pdumon   152   0 10952K  7832K poll     0:25  0.00%  0.00% artsd
 747 pdumon   152   0 29352K 18796K poll     0:15  0.00%  0.00% kdeinit
 751 pdumon   152   0 27372K 16648K poll     0:06  0.00%  0.00% kdeinit
49345 pdumon   152   0 36304K 25852K poll     0:01  0.00%  0.00% kdeinit
49349 pdumon   152   0 35048K 24980K poll     0:01  0.00%  0.00% kdeinit
 743 pdumon   152   0 28336K 17712K poll     0:01  0.00%  0.00% kdeinit
 596 root     152   0  3820K  2080K select   0:00  0.00%  0.00% sendmail
 740 pdumon   152   0  1084K   488K nanslp   0:00  0.00%  0.00% kwrapper
49357 pdumon   152   0 27576K 17748K poll     0:00  0.00%  0.00% kdeinit
 726 pdumon   152   0 25620K 15280K poll     0:00  0.00%  0.00% kdeinit
49421 root     152   0   432K   300K biowr    0:00  0.00%  0.00% rm
sometimes kde or artsd spikes, but it shouldn't like have a large influence?

load averages:  0.00,  0.00,  0.00  up 0+15:19:06    11:40:00
43 processes:  2 running, 41 sleeping
CPU states:  1.2% user,  0.0% nice,  0.8% system,  0.8% interrupt, 97.3% idle
Mem: 84M Active, 673M Inact, 104M Wired, 32M Cache, 112M Buf, 108M Free
Swap: 1024M Total, 1024M Free
 PID USERNAME PRI NICE  SIZE    RES STATE    TIME   WCPU    CPU COMMAND
 737 pdumon   154   0 10952K  7832K poll     0:25  9.96%  9.96% artsd
 728 pdumon   154   0 28036K 18060K poll     1:56  5.96%  5.96% kdeinit
 754 pdumon   152   0 33296K 21040K RUN      0:40  2.64%  2.64% kdeinit
 747 pdumon   152   0 29352K 18796K poll     0:15  1.95%  1.95% kdeinit
49349 pdumon   152   0 35048K 24980K poll     0:01  1.95%  1.95% kdeinit
49421 root     152   0   448K   316K biowr    0:00  1.95%  1.95% rm




More information about the Users mailing list