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
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:50 UTC