Subject: zero-copy tcp
To: None <email@example.com>
From: Dublet <firstname.lastname@example.org>
Date: 11/11/2002 18:34:44
I'm programming my own HTTP daemon, and I'd like it to take advantage of the NetBSD zero-copy tcp.
I've already made it to mmap() the file, and then write() it, but does this mean it automatically takes advantage of zero-copy?
The original post (http://mail-index.netbsd.org/current-users/2002/05/02/0016.html) does mention that writes have to be big enough, when exactly is big enough? 4096? 8192? It would be convenient to know how to implement it, and what the limits are for it to be activated, etc.
I've tried searching for any documentation, but not much is to be found, and not allot of people can tell me anything about it.
I'd appreciate pointers of all types.
Thanks in advance
|>DUBLET: Digital Unit Built for Logical Exploration and Troubleshooting<|
|>EMAIL: dublet AT dublet DOT org <===============================NetBSD<|
|>UIN: 17205540 || dublet AT dublet DOT org <=======================IPv6<|
|>http://www.dublet.org:9004/ || https://www.dublet.org/ <=========IPSec<|