Samba write throughput

Jacky Lam lamshuyin at gmail.com
Wed Jan 26 18:24:57 MST 2011


On 1/27/2011 12:38 AM, Jeremy Allison wrote:
> On Wed, Jan 26, 2011 at 05:51:13PM +0800, Jacky Lam wrote:
>> Dear all,
>>
>>      I setup my Samba server on my machine and get 300Mbps for
>> reading from server, but only 170Mbps for writing. I found that
>> reading is use a more efficient way to do with sendfile(). But
>> writing just use normal file IO and cause too many memory copy. Is
>> there any way to trigger (from client) or force the server to use
>> recvfile() instead?
> http://wiki.samba.org/index.php/Linux_Performance
>
Thanks. It is new to me, but it doesn't answer why recvfile/splice 
implementation has not chance to be used when my XP are writing to it. 
Any other idea?

Jacky


More information about the samba-technical mailing list