Re: Updated zerocopy patch up on kernel.org

David S. Miller (davem@redhat.com)
Wed, 10 Jan 2001 20:33:16 -0800


Date: Thu, 11 Jan 2001 11:41:30 +0100 (CET)
From: Ingo Molnar <mingo@elte.hu>

On Tue, 9 Jan 2001, David S. Miller wrote:

> I'm actually considering making the SG w/o hwcsum situation illegal.

i believe it might still make some limited sense for normal sendmsg()
and higher MTUs (or 8k NFS) - we could copy & checksum stuff into the
->tcp_page if SG is possible and thus the SG capability improves the VM.
(because we can allocate at PAGE_SIZE granularity.)

Basically what your advocating for is to take advantage of SG-only
devices when we have full control of the page contents.

Sure this would work.

But honestly the real gain from SG-only devices would be (as you know)
the memory usage savings when sending a single static file object to
several thousand clients.

Later,
David S. Miller
davem@redhat.com
-
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/