[Samba] performance on small files transfers

John H Terpstra jht at Samba.Org
Sat May 28 03:21:51 GMT 2005


On Friday 27 May 2005 20:19, Robert Vangel wrote:
> John H Terpstra wrote:
> > On Friday 27 May 2005 11:41, kxsq wrote:
> >>Hi all,
> >>  I'm confused of small files (no bigger than 50k )
> >>transfers speed through samba,which is very slow on
> >>my machine. Bellow is a real case,
> >>
> >>-- SuSE professional 9.2, kernel 2.6.11,Samba 3.0.14a,reiserfs
> >>-- Dual AMD Opteron,4G mem,Giga byte LAN
> >>-- 2 raid 5 make up of 16 SATA hard disks
> >>-- set readhead to 1024
> >>
> >>I tested raids speed using bonnie++ and get 450 Mbytes/s
> >>at 16GB files measure.So I believe the raid is not the
> >>bottleneck.I wrote a script to get 200,000 small files no
> >>more than 50K,totally size 8G.When I wrote these small
> >>files to SAMBA server and get a speed about 1.5 Mbyte/s.
> >>And the speed hit 8 Mbytes/s when these small files
> >>copied from one raid to another locally.
> >>
> >>There must be misconfigured somewhere,but I don't where.
> >>Can anybody give me some tips?
> >
> > Please refer to chapter 32 of the book, "The Official Samba-3 HOWTO and
> > Reference Guide" (aka. Samba-HOWTO-Collection). You can obtain a PDF of
> > this book from:
> >
> > http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
> >
> >
> > - John T.
>
> I'm confused.. Chapter 32 is for upgrading from Samba 2.x to 3.

Did you freshly download this, or did you assume? I will send you under 
seperate cover, off-list, a copy of the currently generated PDF.

- John T.
-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.


More information about the samba mailing list