recvfile support

SDN learn sdn.learn at gmail.com
Sat Oct 26 01:12:16 MDT 2013


Hi Jeremy,

I also came across bugzilla thread that discusses recvfile support in smb2:
https://bugzilla.samba.org/show_bug.cgi?id=9412

Looks like a few folks in the list have got it to work with some Linux
implementations for different OEMs.

Could you/someone please share more details on patch and/or Linux distros
where splice (zero copy) works.

I'm trying to see how much impact does it have on performance/CPU
utilization with recvfile.

Thanks in advance.



> On Fri, Oct 25, 2013 at 1:34 PM, Jeremy Allison <jra at samba.org> wrote:
>>
>>> On Fri, Oct 25, 2013 at 10:11:41PM +0200, Ralph Böhme wrote:
>>> > Hi
>>> >
>>> > Am 25.10.2013 um 20:06 schrieb Jeremy Allison <jra at samba.org>:
>>> >
>>> > > On Fri, Oct 25, 2013 at 12:10:45AM -0700, SDN learn wrote:
>>> > >> Hi Samba Experts,
>>> > >>
>>> > >> I'm trying to play with samba 3.6.8 on kernel 3.10 and notice that
>>> > >> turning ON recvfile in smb.conf reduces performance.
>>> > >
>>> > > Linux doesn't have a working recvfile system call, so don't do
>>> > > that.
>>> >
>>> > -v please. :)
>>> >
>>> > Does that imply that splice() on Linux is broken in this case? Last
>>> time I checked (with Netatalk though, not Samba) it worked as expected.
>>>
>>> Yes it's broken. splice does not do a zero-copy recvfile.
>>>
>>
>>
>


More information about the samba-technical mailing list