Re: [PATCH] tcp: splice as many packets as possible at once

Jarek Poplawski
2009-01-20T14:06:31Z

On Tue, Jan 20, 2009 at 01:43:52PM +0000, Ben Mansell wrote:
...
> With an unpatched kernel, the splice performance was worse (due to the
> one packet per-splice issues). With the small patch to fix that, I was
> getting around 2 Gbps performance, although oddly enough, I could only
> get 2 Gbps with read()/write() then as well...
>
> I'll try and do some tests on a machine that hopefully doesn't have the
> bottlenecks (and one that uses different NICs)

I guess you should especially check if SG and checksums are on, and it
could depend on a chip within those NICs as well.

Jarek P.