[lkml]   [2000]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
From now links to 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.

Pretty nifty...
- Dan
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 12:38    [W:0.415 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site