Re: sendfile+zerocopy: fairly sexy (nothing to do with ECN)

From: Andrew Morton (andrewm@uow.edu.au)
Date: Sat Jan 27 2001 - 05:45:29 EST


Ion Badulescu wrote:
>
> On Sat, 27 Jan 2001 19:19:01 +1100, Andrew Morton <andrewm@uow.edu.au> wrote:
>
> > The figures I quoted for the no-hw-checksum case were still
> > using scatter/gather. That can be turned off as well and
> > it makes it a tiny bit quicker.
>
> Hmm. Are you sure the differences are not just noise?

I don't think so. It's all pretty repeatable.

> Unless you
> modified the zerocopy patch yourself, it won't use SG without
> checksums...

I believe it in fact does use SG when hardware tx checksums are unavailable,
but this capability wil be removed RSN because userspace can scribble
on the pagecache after the checksum has been calculated, and before
the frame has hit the wire.

-
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:27 EST