cvs commit: src/usr.bin/tar Makefile bsdtar.1 bsdtar.c bsdtar.h bsdtar_platform.h matching.c read.c util.c write.c

Ruslan Ermilov ru at FreeBSD.org
Tue Apr 6 13:42:15 PDT 2004


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040406/1b07877d/attachment.bin


More information about the freebsd-current mailing list