[Samba] Increasing samba performance
Jeremy Allison
jra at samba.org
Wed Feb 1 18:40:17 GMT 2006
On Wed, Feb 01, 2006 at 08:05:28AM -0800, James Lamanna wrote:
> Hi.
>
> Between 2 linux (2.6.11 client and 2.6.14 server) machines connected by
> a 100Mb link I get samba performance copying a file from the client to
> the server through a smbmounted share of around 4.2MB/s
> Is this to be expected? Or can it be improved (and if so, how?) I've
> tried tweaking SO_(SND/RCV)BUF (after reading numerous articles on
> samba performance...), but it doesn't seem to have any effect.
> Unfortunately, I can't use jumbo frames at this moment either.
>
> I've tried this with shares on ReiserFS and XFS and there is no
> difference in the transfer rate.
> Both machines are not even close to maxxed on cpu (both are at around
> 10-15% cpu when the transfer is running).
Add "use sendfile = yes", this should help.
Jeremy.
More information about the samba
mailing list