Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 18:51:15 -0400
From:      Alexander Kabaev <kabaev@gmail.com>
To:        "Kenneth D. Merry" <ken@freebsd.org>
Cc:        Kirk McKusick <mckusick@McKusick.COM>, arch@freebsd.org, John-Mark Gurney <gurney_j@resnet.uoregon.edu>, Julian Elischer <julian@elischer.org>
Subject:   Re: Linus Torvalds on FreeBSD's Use of Copy-on-write
Message-ID:  <20060426185115.6dcd8d67@kan.dnsalias.net>
In-Reply-To: <20060426221852.GA94673@nargothrond.kdm.org>
References:  <200604240633.k3O6XUJ0042841@chez.mckusick.com> <20060424064352.GA728@funkthat.com> <444C765B.7070803@elischer.org> <20060424192414.0dbaa534@kan.dnsalias.net> <20060426221852.GA94673@nargothrond.kdm.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_fnO_L9XEQGoDAj0zS6txULs
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Wed, 26 Apr 2006 16:18:52 -0600
"Kenneth D. Merry" <ken@freebsd.org> wrote:

> If you're talking about the code I wrote at Pluto/Avid, yeah, it was
> primarily to get around very poor CPU access speed to the external
> RAID cache we had on that box.

Yes, I am talking about that code.

>=20
> The zero copy send model used async I/O semantics -- you'd get the
> completed buffers back when they were freed, so you knew you could
> reuse them in userland.
>=20
> The zero copy receive model relied on extensive modifications to the
> Alteon Tigon II firmware -- a whole lot more than the header
> splitting firmware that's in the FreeBSD tree now.  I added 16 extra
> receive rings to the firmware to handle up to 16 incoming FTP
> connections.  Packet headers were DMAed into normal kernel memory,
> and the payloads were DMAed into the PCI attached RAID cache.
>=20
> Since neither implementation was generally useful, Drew Gallatin and I
> cleaned up his zero copy sockets implementation for inclusion in
> FreeBSD. The receive semantics with respect to userland were similar
> to what I did at Pluto/Avid, but the send semantics are somewhat
> different, since they rely on COW instead of a separate notification
> that the buffer is done.
>=20
> Is any of that old codebase still in use?  I figured it probably went
> away with the old hardware...
>=20

AirSpaces are still being used in the wild, and we still care and feed
them occasionally. The same code is present in newer AirSpeed product,
but is disabled by default because  AirSpeed uses onboard em network
adapters.=20

--=20
Alexander Kabaev

--Sig_fnO_L9XEQGoDAj0zS6txULs
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (FreeBSD)

iD8DBQFET/lnQ6z1jMm+XZYRAqDeAJ9hOof4Kx5i0e+DCxBaTFo6sug5uACfblcY
xf7rry1Lce6VizNgRpSq7R0=
=lo/0
-----END PGP SIGNATURE-----

--Sig_fnO_L9XEQGoDAj0zS6txULs--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060426185115.6dcd8d67>