From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,3c74db5ccb4d4ecc X-Google-Attributes: gidfa528,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Help diagnosing slow tape drive Date: 2000/09/29 Message-ID: <8r2ivi$nhi$1@mailint03.im.hou.compaq.com>#1/1 X-Deja-AN: 675594610 Distribution: world References: <8r0hrf$t74$1@nnrp1.deja.com> X-Complaints-To: usenet@mailint03.im.hou.compaq.com X-Trace: mailint03.im.hou.compaq.com 970247986 24114 16.82.16.67 (29 Sep 2000 17:19:46 GMT) Organization: Digital Equipment Corporation Reply-To: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) NNTP-Posting-Date: 29 Sep 2000 17:19:46 GMT Newsgroups: comp.unix.tru64 In article <8r0hrf$t74$1@nnrp1.deja.com>, awr@cpu.com writes: >I've got a client with essentially identical servers, each with a TLZ10 >tape drive. Server 1 uses about 15% more disk space than server 2, but >server 1 takes nearly twice as long to back up. The client would like to >know why the tape drive is so much slower on server 1 and claims it was >not always this way. I've only been able to devise some simplistic tests >to measure data transfer rates. I can confirm the disparity, but not >explain it. > >Can some kind soul give me some explanations as to why the tape transfer >on one server should be so much slower than on the other? Can you >suggest some test that would help me figure out the problem? Is the tape transfer speed the problem or the disk transfer speed? In the long run you can't write to tape any faster than you can read from disk. If you didn't measure the performance of the two subsystems in isolation you should. For tape it is easy. Put new tapes in each drive and write a known content dataset to each using dd(1) using the same transfer size. Measure the time of each. For example: % time dd if=/dev/zero of=/dev/rmt0h bs=64k count=16384 % time dd if=... For the disk subsystem, it should be nearly as easy, but it depends on what you use for backups. The usual base system utilities that are used for backup allow writing the created archive to stdout. This can be redirected to /dev/null and just the read performance of the backup measured: time dump 0f - /file-system > /dev/null It could be that you have a problem with both, but once you know you can work on each problem in isolation. On the tape side it just be a drive problem or a configuration problem. Are the tape drives on the same kind of I/O adapter? Do they share the bus with compariable devices? At the time of the test, is the bus similarly loaded with other I/O? Similar configuration issues can exist for the disk subsystem. A likely problem on the disk side is that the basic character of the files stored is different. If compression is used, the data on one may take more time to compress. Backing up many small files is different than backing up a few large ones. For utilties that work through the file system interface, such as vdump or tar, each file has to be opened and closed, which can add a considerable I/O load for lots of small files. Large files, once open can be read quickly, when the file system read-ahead kicks in. > >Thanks! > >Andrew Robinson > > >Sent via Deja.com http://www.deja.com/ >Before you buy. > -- Alan Rollow alan@nabeth.cxo.dec.com