From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,926a5a303a6228cd X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-11-03 03:41:03 PST Path: supernews.google.com!sn-xit-02!sn-xit-03!supernews.com!freenix!codeine.org!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: tobi@bland.fido.de (Tobias Ernst) Newsgroups: comp.unix.tru64 Subject: Re: Remote vdump Date: Fri, 3 Nov 2000 12:36:51 +0100 Organization: T-Online Message-ID: References: <8trluv$stl$1@nnrp1.deja.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 973251447 07 12000 IhFOg7TTnApGq 001103 11:37:27 X-Complaints-To: abuse@t-online.com X-Sender: 520049948847-0001@t-dialin.net User-Agent: slrn/0.9.6.2 (FreeBSD) Xref: supernews.google.com comp.unix.tru64:701 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.