From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,13ad3fc9f72c9b30 X-Google-Attributes: gid1164f8,public X-Google-Thread: 114b0c,13ad3fc9f72c9b30 X-Google-Attributes: gid114b0c,public X-Google-ArrivalTime: 1992-03-02 19:13:41 PST Xref: sparky comp.sys.hp:3875 comp.sys.dec:1801 Newsgroups: comp.sys.hp,comp.sys.dec Path: sparky!uunet!haven.umd.edu!decuac!hussar.dco.dec.com!mjr From: mjr@hussar.dco.dec.com (Marcus J. OpenRanum) Subject: Re: HP to DEC DAT remote dump Message-ID: <1992Mar3.024548.25091@decuac.dec.com> Sender: news@decuac.dec.com (USENET News System) Nntp-Posting-Host: hussar.dco.dec.com Organization: Digital Equipment Corporation, Washington ULTRIX Resource Center References: <1992Mar2.211904.17493@newshub.ccs.yorku.ca> Date: Tue, 3 Mar 1992 02:45:48 GMT 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)