Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 May 2002 06:03:58 +0200
From:      Matthias Buelow <mkb@mukappabeta.de>
To:        Kirk Strauser <kirk@strauser.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: mv vs. tar [overlapping]
Message-ID:  <20020530040358.GA1262@altair.mukappabeta.net>
In-Reply-To: <87bsayjouu.fsf@pooh.int>
References:  <20020530022609.GA956@altair.mukappabeta.net> <20020529223005.O79882-100000@earl-grey.cloud9.net> <20020530030413.GA1063@altair.mukappabeta.net> <87bsayjouu.fsf@pooh.int>

next in thread | previous in thread | raw e-mail | index | archive | help
Kirk Strauser writes:

[not much difference between 1 process doing sequential
 read/write, and 2 processes, one reading from disk, other writing]

>That's assuming that 1) the source and destination are on the same drive,
>and 2) the filesystem(s) in question aren't on RAID volumes.  In either of
>those cases, parallelizing transfers will certainly increase performance.

But will the sending process be able to write to the pipe when it's
locked up by reading from disk, and will the receiving process be
able to read from the pipe, when it's locked up writing to (possibly
a different) disk?  The whole issue will get serialized again.

--mkb


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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