Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2007 13:00:09 -0700
From:      Mark Messier <mark@messier.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   performance hints (6.2)
Message-ID:  <4B90A9A7-D8D6-49C5-B097-00094486EF4A@messier.com>

next in thread | raw e-mail | index | archive | help
I've got a freebsd 6.2 system, dual 2Ghz 5130 cpu, 4g ram, with raid5
Adaptec 2120s, running not much more than /usr/ports/mail/imap-uw
and I'm having performance problems with only 20 IMAP users.

I'm not swapping.. cpu is mostly idle, so I figure it must be I/O
performance.  Just to confirm, is that what the following show?

Thanks,
-mark

last pid: 81212;  load averages:  0.01,  0.08,  0.08 up 87+17:07:41   
12:44:46
87 processes:  1 running, 86 sleeping
CPU states:  0.0% user,  0.0% nice,  0.0% system,  0.0% interrupt,   
100% idle
Mem: 542M Active, 2860M Inact, 271M Wired, 109M Cache, 214M Buf, 40M  
Free
Swap: 4096M Total, 19M Used, 4077M Free

# vmstat 5
  procs      memory      page                   disk   faults      cpu
  r b w     avm    fre  flt  re  pi  po  fr  sr aa0   in   sy  cs us  
sy id
  0 2 1  700876 214348  375  10   0   0 217 503   0  504  163 214  0   
1 99
  0 2 0  703064 204504  432   0   2   0 10431 9626 333  998 13331  
3595  1  3 96
  0 1 0  699548 162820  119   0   0   0 2340   0  86  431 3681 1332   
0  1 99
  0 1 0  699548 162820    0   0   0   0   0   0   0  259  603 608  0   
0 100
  0 0 1  699548 162836    0   0   0   0   6   0  11  243  476 590  0   
0 100
  0 1 0  699548 162840   11   0   0   0  11   0   0  294  724 681  0   
0 100
  0 2 0  702140 154740  399   0   0   0 534   0  13  351 6118 869  1   
1 99
  0 2 0  702140 169360   25   0   0   0 9605 10308 314  835 10632  
3127  1  2 97
  0 2 0  702140 182172   30   0   0   0 9717 10312 311  872 10589  
3182  1  2 96
  0 1 0  702076 214312  256   0   0   0 8907 10306 289  836 11190  
3052  1  2 97
  1 1 0  702056 169060  180   0   0   0 2430   0  86  440 3600 1339   
0  0 99
  0 1 0  702076 168944  271   0   0   0 304   0   6  349 3303 836  0   
1 99
  0 1 0  703428 167680  245   0   0   0 149   0   7  276 1350 689  0   
0 100
  1 1 0  707064 155304 9018   0  10   0 9034   0  84  785 15093 3682   
2  4 94
  1 1 0  706552 154300 2015   0   0   0 1731   0  18  505 4831 1419   
0  1 99
  0 3 0  705336 113604  506   0   0   0 2109   0  80  411 5056 1276   
0  1 99
  0 3 0  738504 159624 2422   0   0   0 8775 10335 273  813 8293  
2972  1  3 96
  0 4 0  720280 178408  146   0   0   0 1056   0 579  929 1252 3055   
1  3 96
  1 1 0  702528 195568  270   0   0   0 1061   0 194  527 33855 1418   
3  4 93
  0 1 0  701200 196416   17   0   0   0  45   0   1  251 1066 598  0   
0 100
  0 1 0  702856 195232  445   0   0   0 266   0   6  332 10429 816   
1  1 98
  0 1 0  703460 195044  324   0   0   0 245   0   5  301 1585 736  0   
0 100
  0 2 0  706052 147972  496   0   0   0 855   0  81  491 60244 1628   
6  7 87
  0 3 0  706456 114584  237   0   0   0 12094 10301 396 1162 15662  
4454  1  3 95
  2 1 0  706560 172896  879   0   0   0 13237 15463 410 1317 17773  
4954  1  4 95
  1 2 0  705072 131140  431   1   0   0 11914 9426 391 1096 14791  
4204  1  3 96
  0 3 0  705408 207584  338   0   0   0 11890 15461 389 1091 14699  
4286  1  3 95
  0 3 0  703808 215928   25   0   0   0 9965 10308 351  972 11946  
3795  1  3 96
  0 1 0  704916 201680   92   0   0   0 5981 5154 211  680 62050  
2798  7  8 85
  1 1 0  709872 206228  339   0   0   0 5037 5150 183  661 7084 2191   
1  1 98


# iostat 5
       tty           aacd0             cpu
  tin tout  KB/t tps  MB/s  us ni sy in id
    0   16 96.21  44  4.17   0  0  1  0 99
    0   47 15.42  11  0.17   0  0  0  0 100
    0    9 111.87 246 26.83   1  0  2  0 97
    0    9 115.72 262 29.60   1  0  2  0 98
    0    9 122.42 344 41.14   1  0  2  0 96
    0    9 110.45  96 10.35   1  0  1  0 99
    0    9  2.67   1  0.00   0  0  0  0 100
    0    9 17.05   8  0.13   1  0  1  0 98
    0    9 21.89   4  0.08   0  0  0  0 100
    0    9 101.85  97  9.65   0  0  1  0 99
    0    9 37.27  10  0.36   1  0  0  0 99
    0    9  0.00   0  0.00   0  0  0  0 100
    0   79 11.98  22  0.26   1  0  0  0 99
    1  566 17.80   8  0.14   0  0  0  0 100
    0  357 19.56  13  0.24   0  0  0  0 100
    0   77  9.40   2  0.02   3  0  3  0 94
    2  272  7.07   6  0.04   1  0  1  0 98
    4  178 26.17  83  2.11   4  0  5  0 91
    1    9 13.15   9  0.12   0  0  1  0 98
    3   11 120.87 279 32.97   1  0  2  0 97
       tty           aacd0             cpu
  tin tout  KB/t tps  MB/s  us ni sy in id
    0  179 119.18 307 35.77   1  0  2  0 97
    0  237 119.75 353 41.25   2  0  3  0 96
    0  286 120.31 330 38.74   1  0  2  0 96
    1   30 96.41 382 35.92   1  0  2  0 97
    2   52 85.32 447 37.27   7  0  5  0 88
    0   39 87.55 402 34.40  10  0  4  0 86
    0    9 121.10 426 50.32   2  0  3  0 94
    0  119 115.22 393 44.16   2  0  2  0 95
    1 1003 113.15 358 39.59   1  0  3  0 96
    0  108 113.06 230 25.39   1  0  1  0 98
    0  148 92.30  69  6.20   0  0  1  0 99
    0  706 14.85   9  0.14   0  0  0  0 100
    0  188 26.69  18  0.47   0  0  0  0 100
    0 1309 108.58 234 24.81   4  0  4  0 92
    0  849 95.10 433 40.18   2  0  3  0 95
    0  152 119.58 349 40.77   1  0  3  0 96




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B90A9A7-D8D6-49C5-B097-00094486EF4A>