Date: Mon, 24 Apr 2006 19:24:14 -0400 From: Alexander Kabaev <kabaev@gmail.com> To: Julian Elischer <julian@elischer.org> Cc: Kirk McKusick <mckusick@McKusick.COM>, arch@freebsd.org, John-Mark Gurney <gurney_j@resnet.uoregon.edu> Subject: Re: Linus Torvalds on FreeBSD's Use of Copy-on-write Message-ID: <20060424192414.0dbaa534@kan.dnsalias.net> In-Reply-To: <444C765B.7070803@elischer.org> References: <200604240633.k3O6XUJ0042841@chez.mckusick.com> <20060424064352.GA728@funkthat.com> <444C765B.7070803@elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_iTCP_znP1nl+B37C3il8aZO Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sun, 23 Apr 2006 23:55:23 -0700 Julian Elischer <julian@elischer.org> wrote: > John-Mark Gurney wrote: >=20 > >Kirk McKusick wrote this message on Sun, Apr 23, 2006 at 23:33 -0700: > > =20 > > > >>Linus explained that while this may look good on specific > >>benchmarks, it actually introduces extra overhead, "the thing is, > >>the cost of > >> =20 > >> > > > >Has he benchmarked this to prove his point? And has he done it over > >realworld work loads, like Apache or another "standard" program > >instead of a microbenchmark designed especially to make COW look bad? > > =20 > > >=20 > Well no-one has even confirmed that freeBSD does all this > "page flipping" etc. I doubt that Linus has looked inside the BSD > kernels. He's probably just repeating what he's been told, and that's > so accurate, right? >=20 > I know that freeBSD developers have over the last few years also=20 > acknowledged that > the speed of modern CPUs vs. memeory speeds makes it often less > efficient to do certain optimisations than it used to be. >=20 >=20 >=20 >=20 > >As w/ all theories, w/o numbers, they are only theories till backed > >up w/ benchmarks. > > > >This isn't suppose to defend COW, but it is designed to ensure that > >people don't stop exploring just because someone says something... > > > > =20 > > > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to > "freebsd-arch-unsubscribe@freebsd.org" The original zero-copy code was used to stream network data directly to an onboard SDRAM memory on an extension PCI card. Linus' notes about relative cost of memory-to-memory copies vs. TLB shootdowns and possible page access traps had little relevance there. -- Alexander Kabaev --=20 Alexander Kabaev --Sig_iTCP_znP1nl+B37C3il8aZO Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFETV4nQ6z1jMm+XZYRAmb0AJ9wJUar/mwUJc7XwoCbcfTNR5j6WgCgn6xu HNu/4H0KgHUFtuWcyiXutpw= =MBNK -----END PGP SIGNATURE----- --Sig_iTCP_znP1nl+B37C3il8aZO--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060424192414.0dbaa534>