Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Aug 2014 13:21:12 -0500
From:      Kevin Day <toasty@dragondata.com>
To:        Adrian Chadd <adrian@freebsd.org>
Cc:        Victor Balada Diaz <victor@bsdes.net>, Sushanth Rai <sushanth_rai@yahoo.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: Support for zero copy sockets
Message-ID:  <4F4BB4BC-B916-4808-A267-4002FFB8932B@dragondata.com>
In-Reply-To: <CAJ-VmonTYPz7qJ3WG52ADp69FdYQkKQ6D_DOM1piEybGwgOmWA@mail.gmail.com>
References:  <1407171616.44440.YahooMailBasic@web181702.mail.ne1.yahoo.com> <20140811082610.GF7828@equilibrium.bsdes.net> <CAJ-VmonTYPz7qJ3WG52ADp69FdYQkKQ6D_DOM1piEybGwgOmWA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
>=20
> I'd like to reintroduce a zero copy socket IO method for at least
> write that doesn't rely on sendfile.
>=20
> 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.
>=20
> So, if people have an idea for how it could be done / what the API
> looks like then I'm all ears.
>=20


If FreeBSD could be API compatible with Linux=92s 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=92s not exactly what you=92re talking about, but while =
we=92re on the subject)






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F4BB4BC-B916-4808-A267-4002FFB8932B>