>>Does the FreeBSD tcp stack do zero copy (page flip the data to >>userspace)? In the localhost case, it seems like there are two copies >>to/from userspace there. > > It has the ability to do it via sendfile() and a few other mechanisms, but >not as a normal part of typical read()/write().
Ahh, but there are patches floating around that do support zero-copy. Just ask Ken Merry and Drew Gallatin. I don't think they've been integrated due to lack of testing time, but they've existed for 2 or so years now. -- Justin To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message