[Samba] Samba performance issues

Bradley W. Langhorst brad at langhorst.com
Tue Sep 24 22:42:00 GMT 2002


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

> 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.
  

> >
> > 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

brad





More information about the samba mailing list