Support for zero copy sockets
Kevin Day
toasty at dragondata.com
Mon Aug 11 18:21:16 UTC 2014
>
> I'd like to reintroduce a zero copy socket IO method for at least
> write that doesn't rely on sendfile.
>
> The zero-copy socket page flipping thing was interesting because IIRC
> tried to work for both sending and receiving socket data. Doing that
> via an API would be nicer.
>
> So, if people have an idea for how it could be done / what the API
> looks like then I'm all ears.
>
If FreeBSD could be API compatible with Linux’s splice(2) and/or tee(2), that would probably make a lot of people happy.
http://linux.die.net/man/2/splice
(I know that’s not exactly what you’re talking about, but while we’re on the subject)
More information about the freebsd-hackers
mailing list