Re: svn commit: samba r3944 - in branches/SAMBA_3_0/source: lib smbd
On Fri, Nov 26, 2004 at 03:14:30PM -0800, Jeremy Allison wrote:[color=blue]
> On Thu, Nov 25, 2004 at 09:46:11AM +0100, Volker Lendecke wrote:[color=green]
> > How much does sendfile gain us at all?[/color]
> 10%. I'm loath to give that up for some buggy network cards.
> It's off by default, the only purpose for that fix is to
> stop it breaking if on on a system that doesn't implement it.[/color]
Sendfile can give you a lot more on systems with relatively slower CPUs.
On a 4P Origin, using a sendfile-like call takes us from from being
CPU-bound in bcopy to doing line rate over 4 NICs. It is a very big win
for large streaming reads, which is a relatively common workload.
James Peach | [email]email@example.com[/email] | SGI Australian Software Group
I don't speak for SGI.