[Samba] Increasing samba performance

John McCain mccainj at gmail.com
Thu Feb 16 00:22:35 GMT 2006


You are definately getting sub-par performance.  The difference between
where you are and where you need to be is not tweaking.  We run Samba right
"out of the box" for a high-speed realtime requirement, and we don't have to
tweak it at all to get 40 or so megabytes/sec out of it with properly
configured servers and gigabit networking.  And we could probably push it
harder if we want to  - we're getting high responsiveness at that level.

I would look at the client side of the problem - try a newer kernel.  We had
performance problems using 2 Linux boxes in past kernels - I don't remember
when it was solved, but it works beautifully now.


On 2/1/06, James Lamanna <jlamanna at gmail.com> 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).
>
> Thanks.
>
> -- James
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list