[Samba] performance on small files transfers

John H Terpstra jht at Samba.Org
Fri May 27 17:56:42 GMT 2005


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