From owner-freebsd-current@FreeBSD.ORG Tue Apr 6 13:42:15 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 37B9616A4CE for ; Tue, 6 Apr 2004 13:42:15 -0700 (PDT) Received: from tigra.ip.net.ua (tigra.ip.net.ua [82.193.96.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BE6843D3F for ; Tue, 6 Apr 2004 13:42:14 -0700 (PDT) (envelope-from ru@ip.net.ua) Received: from heffalump.ip.net.ua (heffalump.ip.net.ua [82.193.96.213]) by tigra.ip.net.ua (8.12.11/8.12.11) with ESMTP id i36Kirfb020503 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 6 Apr 2004 23:44:55 +0300 (EEST) (envelope-from ru@ip.net.ua) Received: (from ru@localhost) by heffalump.ip.net.ua (8.12.11/8.12.11) id i36Kehl1000567; Tue, 6 Apr 2004 23:40:43 +0300 (EEST) (envelope-from ru) Date: Tue, 6 Apr 2004 23:40:43 +0300 From: Ruslan Ermilov To: Peter Jeremy Message-ID: <20040406204043.GB272@ip.net.ua> References: <200404052132.i35LWIgJ009519@repoman.freebsd.org> <20040406082945.GD397@ip.net.ua> <4072F398.5040709@kientzle.com> <20040406194359.GB53327@cirb503493.alcatel.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8GpibOaaTibBMecb" Content-Disposition: inline In-Reply-To: <20040406194359.GB53327@cirb503493.alcatel.com.au> User-Agent: Mutt/1.5.6i X-Virus-Scanned: by amavisd-new X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Apr 2004 20:42:15 -0000 --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--