[Samba] Samba performance issues

Martin MOKREJŠ mmokrejs at natur.cuni.cz
Tue Sep 24 22:52:00 GMT 2002


On 24 Sep 2002, Bradley W. Langhorst wrote:

> On Tue, 2002-09-24 at 18:07, Martin MOKREJŠ wrote:
> > On 24 Sep 2002, Bradley W. Langhorst wrote:
> >
> > > probably you want to run the iostat 1 during heavier load...
> > > however the summary result does look funny to me...
> > >
> > > On my system we have ~ 1:1 ratio of reads to writes
> > > you have a ~ 1:200 ratio of reads to writes.
> > > Does that make sense in your environment?
> >
> > Didn't you have a look into the first lines where's the summary output
> > from iostat?
> >
> sure i did... maybe i'm misreading it
> avg-cpu:  %user   %nice    %sys   %idle
>           16.79    0.00   26.39   56.82
>
> Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
> dev8-0           11.80         2.24       184.95     541354   44609586
> dev8-1           11.80         1.67       184.95     403090   44609586
>
> Unless I'm mistaken the summary says that (on average) he only has 2
> reads/s vs 185 writes/s

You are right, sure. But my point was why is the *current* load that high.
That's why I had a look on statistics per every second.

>
> > All those other remaining output lines show zero disk
> > activity ...
> That's why I suggested he run iostat when the system is under more load.

In principal I agree anyway. ;)

>
>
> > >
> > > It doesn't look like your system has a memory problem so i'd not worry
> > > about vmstat.
> >
> > I'd would worry. Actually, what says "dmesg" command?
> The reason I think memory is no problem here is:
> Mem:  3229040K av, 3166372K used,   62668K free,       0K shrd,  148480K
> buff
> Swap:  513976K av,       0K used,  513976K free                 2758060K
> cached
>
> so the swap file has not been touched and there is 2.7gig of disk being
> cached in RAM

Yes, but the "sy" column in the output of vmstat was quite high. That
worries me. ;)

I think we should not Cc: the samba email list to these emails anymore. ;)
-- 
Martin Mokrejs <mmokrejs at natur.cuni.cz>, <m.mokrejs at gsf.de>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585




More information about the samba mailing list