Re: FreeBSD's new zero-copy networking

From: Larry McVoy (lm@bitmover.com)
Date: Mon Sep 18 2000 - 10:25:41 EST


On Mon, Sep 18, 2000 at 07:52:22AM -0700, Dan Kegel wrote:
> http://www.kegel.com/c10k.html#zerocopy now links to
> http://people.freebsd.org/~ken/zero_copy/ which describes
> some patches for FreeBSD which add support for zero-copy
> networking from user space.
>
> Where they're headed is:
> When transferring one or more pages via a page-alligned
> buffer and normal read() or write(), VM tricks will be
> used to avoid copying the data. If you touch the page
> before the transfer is done, copy-on-write semantics
> will be used to avoid screwing up the transfer.
> Best to use aio_write etc. so you know when the transfer
> is done, so you can reuse the buffer.
>
> They've gotten 960 megabits/sec out of a gigabit Ethernet card
> with this. Not stable yet.

Didn't daveme get the same speed using Linux almost a year ago?

-- 
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm 
-
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 : Sat Sep 23 2000 - 21:00:17 EST