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

From: Ruslan Ermilov <ru_at_FreeBSD.org>
Date: Tue, 6 Apr 2004 23:40:43 +0300
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).
> 
> 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.
> 
The concurrency of two processes doing the same job is higher.
The are "big" pipes, and there's still the preemtive switching.


Cheers,
-- 
Ruslan Ermilov
ru_at_FreeBSD.org
FreeBSD committer

Received on Tue Apr 06 2004 - 11:42:15 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC