From: tobi@bland.fido.de (Tobias Ernst)
Subject: Re: Remote vdump
Date: Fri, 3 Nov 2000 12:36:51 +0100 [thread overview]
Message-ID: <slrn9058qj.ja8.tobi@romulus.bland.fido.de> (raw)
In-Reply-To: 8trluv$stl$1@nnrp1.deja.com
In article <8trluv$stl$1@nnrp1.deja.com>, nikitins@latnet.lv wrote:
>2. Is it possible to speed up restoration process with dd options?
>It seems to me vdump/vrestore works much faster than dd (I used dd
>locally, not via network)
There is a small utility called "buffer" which compiles nicely on Tru64. I
don't know the original homepage, but you should find it on
ftp://ftp.freebsd.org/pub/FreBSD/distfiles.
If you put this utility in the pipe between vdump and dd, or dd and
vrestore, the throughput will be much higher, like in
dd if=/dev/... | buffer | vrestore -x -f -
Buffer allocates a several megabytes shared memory buffer and forks to two
processes, one reading from it and one writing to it. This way, dd can read
from the tape even if vrestore is currently not ready to accept new input,
and vice versa vrestore can continue restoring even if the tape currently
cannot give new data. So the data stream will not be interrupted, or at
least it will be interrupted much less frequently than if you had no buffer.
When you have a rsh in the pipe, you have to experiment what gives best
throughput: putting the buffer in on the remote host or on the local host,
or on both.
Kind Regards,
Tobias.
next prev parent reply other threads:[~2000-11-03 11:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-11-02 12:16 Remote vdump nikitins
2000-11-02 13:36 ` Pedro M. Matias
2000-11-03 11:36 ` Tobias Ernst [this message]
2000-11-16 5:00 ` Michael K. Livingston
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox