Kernel 2.6.25 gets splice TCP read support.

Steve French smfrench at austin.rr.com
Fri Feb 8 04:11:49 GMT 2008


Jeremy Allison wrote:

>On Thu, Feb 07, 2008 at 09:42:36PM -0600, Steve French wrote:
>  
>
>>Jeremy Allison wrote:
>>
>>    
>>
>>>Steve,
>>>
>>>	You're supposed to be keeping me up to date
>>>on this stuff :-).
>>>
>>>http://lwn.net/Articles/266361/
>>>
>>>But it means that Samba 3.2 with a 2.6.25 kernel
>>>should be able to do TCP zerocopy read/write with
>>>Samba ! Eat your heart out Sun with your kernel
>>>CIFS implementation :-) :-).
>>>
>>>Any chance of doing some speed tests with that ?
>>>
>>>Jeremy.
>>>
>>>
>>> 
>>>      
>>>
>>Not sure how that snuck by without my noticing it either ... I pull the new 
>>kernel every few days.
>>I have the current linux-2.6.git kernel with that in it, running Samba on 
>>the machine next to this, but have not tried our copy test on it.
>>    
>>
>
>Ok, don't think it's built by default yet (no libc definition
>for splice()) - but we can do a custom build and test tomorrow.
>
>W00t!
>
>:-)
>
>Jeremy.
>
>
>  
>
Are you sure that libc doesn't have splice yet?  sys_splice system call 
was added March 30th, 2006!  Almost two years ago.

And there has been a Linux man page for splice(2) not long after (e.g. 
http://linux.die.net/man/2/splice)



More information about the samba-technical mailing list