Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Apr 2004 23:40:43 +0300
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Peter Jeremy <PeterJeremy@optushome.com.au>
Cc:        current@FreeBSD.org
Subject:   Re: cvs commit: src/usr.bin/tar Makefile bsdtar.1 bsdtar.c bsdtar.h bsdtar_platform.h matching.c read.c util.c write.c
Message-ID:  <20040406204043.GB272@ip.net.ua>
In-Reply-To: <20040406194359.GB53327@cirb503493.alcatel.com.au>
References:  <200404052132.i35LWIgJ009519@repoman.freebsd.org> <20040406082945.GD397@ip.net.ua> <4072F398.5040709@kientzle.com> <20040406194359.GB53327@cirb503493.alcatel.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--8GpibOaaTibBMecb
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 07, 2004 at 05:43:59AM +1000, Peter Jeremy wrote:
> On Tue, Apr 06, 2004 at 11:14:48AM -0700, Tim Kientzle wrote:
> >improve some as I continue to work on it.  However, in general,
> >I expect it to be a little bit slower because the compression
> >isn't handled in a separate process (thus there's less overlapping
> >of I/O and computation).
>=20
> On the flip side, having everything in one process means there's less
> context switching and no copying data between processes.  On a UP
> system there's relatively little scope for overlap because pipes
> don't buffer much.
>=20
The concurrency of two processes doing the same job is higher.
The are "big" pipes, and there's still the preemtive switching.


Cheers,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--8GpibOaaTibBMecb
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFAcxXLUkv4P6juNwoRAg9cAJ9cdVcrYF3r8n0ZWiu1pGyxQWEs/QCeNFkl
nOJdcEFP/5ip3TBdATZel9I=
=01j4
-----END PGP SIGNATURE-----

--8GpibOaaTibBMecb--



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