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

Re: how to counteract slowdown



Hi,

--On Monday, November 12, 2001 02:27:13 PM -0800 Andrew Morton <akpm zip com au> wrote:

"Patrick C. F. Ernzer" wrote:
[...]
as far as I understood ext3 will more or less hog a machine when writing
away the journal.
[...]
Are you able to monitor the server during the slowdown?  Running
`top', `ps' and `vmstat 1' would be useful.

Here's a top:
  7:43am  up 6 days,  7:59,  7 users,  load average: 37.49, 17.22, 14.10
217 processes: 214 sleeping, 2 running, 1 zombie, 0 stopped
CPU0 states: 13.5% user,  4.4% system,  0.0% nice, 81.0% idle
CPU1 states: 13.2% user,  3.4% system,  0.0% nice, 82.3% idle
Mem:  1028424K av, 1010996K used,   17428K free,   10096K shrd,   21452K
buff
Swap: 1060208K av,  184328K used,  875880K free                  741100K
cached

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 3120 root       9   0     0    0     0 SW   99.9  0.0  22:16 nfsd
 3127 root       9   0     0    0     0 SW   99.9  0.0  28:23 nfsd
26104 ldap      19   0  5644 5640  2064 R     8.3  0.5   4:25 slapd
  494 root      14   0   224  168   168 S     4.8  0.0  80:20 syslogd
31922 mklingsp  18   0  1096 1096   780 R     2.5  0.1   0:09 top
32082 root       9   0  1308 1308   768 S     0.7  0.1   0:00 opbs
32092 postfix    9   0  1920 1920  1552 S     0.7  0.1   0:00 local
 1497 bscw       9   0 12332  11M  7708 S     0.5  1.1   2:17 bsadmin
22351 root       9   0   872  700   512 S     0.5  0.0   9:23 nmbd
 1467 squid      9   0 87544  54M 52924 S     0.3  5.4  15:25 squid
 7884 named      9   0  3492 2900  1780 S     0.3  0.2   1:23 named
31635 root       9   0  2828 2796  2072 S     0.3  0.2   0:00 sshd
31970 jklippel   9   0  5380 5248  2112 S     0.3  0.5   2:10 smbd
32075 postfix    9   0  1996 1996  1572 S     0.3  0.1   0:00 cleanup
32080 root       9   0   852  852   724 S     0.3  0.0   0:00 sh

And system accounting (at a different time. nfsd was started at 04:30 PM) Linux 2.4.7-10enterprise (**hostname removed**) 11/09/2001

04:11:02 PM    proc/s
04:21:02 PM      8.82
04:31:33 PM      2.46
04:41:33 PM      1.53
04:51:33 PM      2.54
Average:         4.24

04:11:02 PM   cswch/s
04:21:02 PM   1356.40
04:31:33 PM    834.49
04:41:33 PM   1473.11
04:51:33 PM   1200.55
Average:      1214.80

04:11:02 PM       CPU     %user     %nice   %system     %idle
04:21:02 PM       all     51.82      0.00      5.99     42.18
04:31:33 PM       all     43.79      0.00     18.35     37.86
04:41:33 PM       all     21.58      0.00     61.62     16.80
04:51:33 PM       all     47.45      0.00      5.85     46.70
Average:          all     39.14      0.00     28.48     32.37

04:11:02 PM      INTR    intr/s
04:21:02 PM       sum    543.25
04:31:33 PM       sum    574.07
04:41:33 PM       sum    469.15
04:51:33 PM       sum    580.54
Average:          sum    529.59

04:11:02 PM  pgpgin/s pgpgout/s
04:21:02 PM     18.63    879.10
04:31:33 PM     59.65    719.91
04:41:33 PM     28.32    442.02
04:51:33 PM     15.47    844.62
Average:        35.94    681.01

04:11:02 PM  pswpin/s pswpout/s
04:21:02 PM      0.00      0.00
04:31:33 PM      0.00      0.00
04:41:33 PM      0.00      0.00
04:51:33 PM      0.00      0.00
Average:         0.00      0.00

04:11:02 PM       tps      rtps      wtps   bread/s   bwrtn/s
04:21:02 PM    173.80      1.95    171.85     37.27   1758.23
04:31:33 PM    148.04      1.83    146.21    119.30   1439.85
04:41:33 PM     87.90      3.75     84.15     56.63    884.04
04:51:33 PM    175.44      1.79    173.66     30.95   1689.24
Average:       136.77      2.50    134.28     71.88   1362.04

04:11:02 PM       CPU     %user     %nice   %system     %idle
04:21:02 PM         0     51.67      0.01      6.19     42.14
04:21:02 PM         1     51.98      0.00      5.79     42.23
04:31:33 PM         0     44.36      0.00     18.37     37.27
04:31:33 PM         1     43.22      0.00     18.34     38.44
04:41:33 PM         0     21.63      0.00     61.54     16.83
04:41:33 PM         1     21.54      0.00     61.69     16.77
04:51:33 PM         0     49.52      0.01      5.93     44.55
04:51:33 PM         1     45.38      0.00      5.76     48.86
Average:            0     39.30      0.00     28.52     32.17
Average:            1     38.99      0.00     28.43     32.58

04:11:02 PM   frmpg/s   shmpg/s   bufpg/s   campg/s
04:21:02 PM     -8.20      0.00      1.17      4.63
04:31:33 PM     -4.11      0.00      0.33      5.29
04:41:33 PM     26.65      0.00      0.70      7.71
04:51:33 PM     -6.91      0.00      0.66      5.95
Average:         4.63      0.00      0.73      5.87

04:11:02 PM kbmemfree kbmemused  %memused kbmemshrd kbbuffers  kbcached
kbswpfree kbswpused  %swpused
04:21:02 PM     16732   1011692     98.37     22996    122168    403984
1060208         0      0.00
04:31:33 PM      6352   1022072     99.38     22996    123008    417336
1060208         0      0.00
04:41:33 PM     70312    958112     93.16     22996    124680    435832
1060208         0      0.00
04:51:33 PM     53736    974688     94.77     22996    126260    450120
1060208         0      0.00
Average:        36783    991641     96.42     22996    124029    426818
1060208         0      0.00

04:11:02 PM  CPU  i000/s  i001/s  i002/s  i004/s  i008/s  i015/s  i017/s
i018/s  i020/s  i022/s
04:21:02 PM    0   50.28    0.00    0.00  107.29    0.00    0.00    6.87
20.38    0.07   85.99
04:21:02 PM    1   49.72    0.00    0.00  108.92    0.00    0.00    7.00
20.59    0.06   86.08
04:31:33 PM    0   49.50    0.25    0.00  108.73    0.00    0.00    3.68
51.44    0.51   72.53
04:31:33 PM    1   50.50    0.22    0.00  107.97    0.00    0.00    3.57
51.50    0.51   73.19
04:41:33 PM    0   50.27    0.09    0.00  108.25    0.00    0.00    8.39
24.55    0.00   43.77
04:41:33 PM    1   49.73    0.09    0.00  107.92    0.00    0.00    7.98
24.46    0.00   43.65
04:51:33 PM    0   49.42    0.00    0.00  108.28    0.00    0.00    5.60
39.33    0.00   87.34
04:51:33 PM    1   50.58    0.00    0.00  108.00    0.00    0.00    5.67
39.28    0.00   87.04
Average:       0   50.01    0.12    0.00  108.10    0.00    0.00    6.27
32.45    0.20   67.51
Average:       1   49.99    0.10    0.00  108.27    0.00    0.00    6.14
32.51    0.20   67.73

04:11:02 PM dentunusd file-sz %file-sz inode-sz super-sz %super-sz
dquot-sz %dquot-sz rtsig-sz %rtsig-sz
04:21:02 PM 47425 1020 6.23 37616 15 5.86


0 0.00 2 0.20
04:31:33 PM 48424 1284 7.84 37880 15 5.86


0 0.00 13 1.27
04:41:33 PM 49619 1053 6.43 38513 15 5.86


0 0.00 2 0.20
04:51:33 PM 50659 1794 10.95 38908 15 5.86


0 0.00 2 0.20
Average: 49031 1287 7.86 38229 15 5.86


0 0.00 4 0.39

04:11:02 PM IFACE rxpck/s txpck/s rxbyt/s txbyt/s rxcmp/s
txcmp/s rxmcst/s
04:21:02 PM lo 10.43 10.43 11218.64 11218.64 0.00


0.00 0.00
04:21:02 PM eth0 21.34 20.71 4191.56 5832.81 0.00


0.00 0.00
04:21:02 PM eth1 7.12 7.42 533.93 2476.39 0.00


0.00 0.00
04:31:33 PM lo 7.46 7.46 11512.69 11512.69 0.00


0.00 0.00
04:31:33 PM eth0 55.26 63.33 6844.83 57574.48 0.00


0.00 0.00
04:31:33 PM eth1 3.76 3.92 308.04 1479.08 0.00


0.00 0.00
04:41:33 PM lo 15.68 15.68 4453.71 4453.71 0.00


0.00 0.00
04:41:33 PM eth0 25.92 26.11 5134.03 9901.63 0.00


0.00 0.00
04:41:33 PM eth1 8.39 8.31 625.44 1877.43 0.00


0.00 0.00
04:51:33 PM lo 32.87 32.87 14789.94 14789.94 0.00


0.00 0.00
04:51:33 PM eth0 41.36 38.84 11881.11 9742.17 0.00


0.00 0.00
04:51:33 PM eth1 5.79 6.06 452.21 2098.81 0.00


0.00 0.00
Average: lo 11.12 11.12 9103.11 9103.11 0.00


0.00 0.00
Average: eth0 34.53 37.17 5414.73 1538.88 0.00


0.00 0.00
Average: eth1 6.38 6.51 486.08 1936.44 0.00


0.00 0.00

04:11:02 PM IFACE rxerr/s txerr/s coll/s rxdrop/s txdrop/s
txcarr/s rxfram/s rxfifo/s txfifo/s
04:21:02 PM lo 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:21:02 PM eth0 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:21:02 PM eth1 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:31:33 PM lo 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:31:33 PM eth0 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:31:33 PM eth1 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:41:33 PM lo 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:41:33 PM eth0 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:41:33 PM eth1 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:51:33 PM lo 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:51:33 PM eth0 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
04:51:33 PM eth1 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
Average: lo 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
Average: eth0 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00
Average: eth1 0.00 0.00 0.00 0.00 0.00


0.00 0.00 0.00 0.00

04:11:02 PM    totsck    tcpsck    udpsck    rawsck   ip-frag
04:21:02 PM       631       445        42         1         0
04:31:33 PM       586       422        48         1         0
04:41:33 PM       633       428        40         1         0
04:51:33 PM       507       350        43         1         0
Average:          589       411        43         1         0

RU

PCFE
--
from the desk of Patrick C. F. Ernzer
Red Hat Europe

Attachment: pgp00007.pgp
Description: PGP signature


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