On Wed, 26 Sep 2001, Julian Anastasov wrote:
>
> Hello,
>
> On Tue, 25 Sep 2001, Zachariah Mully wrote:
>
> > What then would be a good tool to use to check on performance? vmstat?
> > What would one be looking for? Is there a better tool?
> > My measly Celery 400 w/256 meg RAM (directs 2.2gig of traffic/1.2
> > million file downloads between 8am and 7pm daily) has the following
> > vmstat output:
> >
> > procs memory swap io system
> > cpu
> > r b w swpd free buff cache si so bi bo in cs us
> > sy id
> > 0 0 0 0 152652 19596 35160 0 0 0 0 4 4 0
> > 0 9
>
> vmstat is good but your output is absolutely incorrect. I don't
> see "in" >= 100 (HZ). OTOH, us+sy+id should be ~100%. I saw some old
> vmstat versions to wrap the interrupt number when reading /proc/stat,
> IIRC. What reports ps -V or ps --version ?
The first line ov vmstat always gives incorrect values for me:
# vmstat 1
procs memory swap io system
cpu
r b w swpd free buff cache si so bi bo in cs us sy id
2 0 0 0 68420 214136 426712 0 0 0 2 3 3 3 3 0
0 0 0 0 68416 214136 426712 0 0 0 0 16722 10 0 37 63
0 0 0 0 68416 214136 426712 0 0 0 0 16462 7 0 36 64
0 0 0 0 68416 214136 426712 0 0 0 0 16335 7 0 39 61
0 0 0 0 68416 214136 426712 0 0 0 0 17193 6 0 39 61
0 0 0 0 68416 214136 426712 0 0 0 0 16708 6 0 41 59
0 0 0 0 68416 214136 426712 0 0 0 46 16073 10 0 43 57
0 0 0 0 68416 214136 426712 0 0 0 0 16104 8 0 32 68
0 0 0 0 68416 214136 426712 0 0 0 0 16126 10 0 36 64
0 0 0 0 68416 214136 426712 0 0 0 0 16391 6 0 33 67
... returning at performace chapter, that was sampled while forwarding 40Mbps
of LVS/NAT traffic on a single 866 Mhz PIII.
For those concerned by ofther things than CPU power and RAM, pay attention to
si/so and bi/bo fields. They are almost constantly 0. So don't waste your
money to buy 40Gb SCSI HDDs like some people have the tendence to do for any
production machine.
Radu-Adrian Feurdean
mailto: raf @ chez.com
---------------------------------------------------------------
Chemicals: Noxious substances from which modern foods are made.
|