Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* HP to DEC DAT remote dump
@ 1992-03-02 21:19 John Muscat
  1992-03-03  2:45 ` Marcus J. OpenRanum
  0 siblings, 1 reply; 2+ messages in thread
From: John Muscat @ 1992-03-02 21:19 UTC (permalink / raw)



We have a HP9000/380 running HPUX 8.0 in a multivendor LAN environment. We 
have been backing up our HP & Sun boxes remotely over ethernet to a DAT drive 
connected to a DecStation 5000/200 running Ultrix 4.2 using the dump command. 
The upgrade to Ultrix 4.2 is recent and we have noticed that our HP to Ultrix 
remote dumps have increased significantly in time. For example:


	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
	
While the time has increased over 15 times in one case the number of tape
blocks used has stayed the same since the data used is approximately the
same. Our Sun boxes running both SunOS 4.1 & 4.1.1 have had no such problems
with the Ultrix 4.2 upgrade. 

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

	(where FS is the filesytem being dumped eg. / or /users)

We could probabily live with the longer dump time but as is the dump times are
so long (ie an 8 hour ethernet connection to a remote device) that 4 out of 5 
times the HP dumps fail with the message:

	read: Connection reset by peer

Is there any fine tuning that can be done either on the HPUX or Ultrix side
to the the commands and/or daemons involved to reduce the dump time? The
other option would be to do incremental dumps but this is less convient than
full dumps.

-------------------------------------------------------------------------------
John Muscat
Mathematics & Statistics
York University
North York, Canada
M3J 1P3

email: jmuscat@nexus.yorku.ca
voice: (416) 736-2100 x88604
fax:   (416) 736-5735
-------------------------------------------------------------------------------



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: HP to DEC DAT remote dump
  1992-03-02 21:19 HP to DEC DAT remote dump John Muscat
@ 1992-03-03  2:45 ` Marcus J. OpenRanum
  0 siblings, 0 replies; 2+ messages in thread
From: Marcus J. OpenRanum @ 1992-03-03  2:45 UTC (permalink / raw)


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)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1992-03-03  2:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1992-03-02 21:19 HP to DEC DAT remote dump John Muscat
1992-03-03  2:45 ` Marcus J. OpenRanum

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox