Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: mjr@hussar.dco.dec.com (Marcus J. OpenRanum)
Subject: Re: HP to DEC DAT remote dump
Date: Tue, 3 Mar 1992 02:45:48 GMT	[thread overview]
Message-ID: <1992Mar3.024548.25091@decuac.dec.com> (raw)
In-Reply-To: 1992Mar2.211904.17493@newshub.ccs.yorku.ca

jmuscat@nexus.yorku.ca (John Muscat) writes:
>
>	File System 	Data Used	Ultrix 3.1    	Ultrix 4.2    
>	Size				dump time	dump time
>	-----------	---------	---------	---------
>
>	900 Mb		400 Mb		28 min		8 hrs
>	240 Mb		170 Mb		25 min		3.5 hrs
	
	EEK! That's egregious! Have you tried actually watching what
your system is doing while this is happening? It is possible that there
is a side-effect of some configuration change that's hammering you?
	I'd try watching the server's I/O stats and so forth while
you're running this command from hell..

>Here is the dump command being run from the HP box:
>
>/etc/rdump 0udsf 250000 10000 - FS | remsh dumphost dd obs=10k of=/dev/nrmt0h

	A couple possibles. dd(1) in ULTRIX eats rocks. It's supposed to
be way faster because it uses N-buffered I/O, but in fact it *ALSO* does
character copies, and can clobber your CPU so badly the advantage of
N-buffered I/O is lost. I've never benched dd(1) and cat(2) - that'd be
an interesting comparison.

	If all you're using dd(1) for is to reblock data, then you should
use "reblock" or something like that which avoids the character copies.
If I were you, I'd try to use rdump the way it was intended - by letting
it talk to /etc/rmt. /etc/rmt handles blocking the tape properly and
does no character copies - it also (at least the BSD version) sets the
socket recv buffer and tries to make it large enough to fit the tape
blocksize, which can really help. (Oops. bleah, I just checked the
ULTRIX source. You might want to try FTPing the BSD rmt sources off
uunet. Dunno how much of a difference the recv buffer stuff makes.)

	Can you (if you have the time) give it a shot just talking to
plain old rmt rather than rshing it? If that does't help, drop me
email and we'll take a look at this offline.

mjr.
-- 
Oxymorons:
	Jumbo shrimp. Informed Consumer. 1Mb "Microkernel". Open UNIX(tm)*.
					- notebooks of a heretic.
*(UNIX is a Registered trademark of Unix Systems Labs)


      reply	other threads:[~1992-03-03  2:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1992-03-02 21:19 HP to DEC DAT remote dump John Muscat
1992-03-03  2:45 ` Marcus J. OpenRanum [this message]
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