Subject: zero-copy tcp
To: None <>
From: Dublet <>
List: tech-net
Date: 11/11/2002 18:34:44
Hello there,

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 ( 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<|
|> || <=========IPSec<|