Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
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	[thread overview]
Message-ID: <8r2ivi$nhi$1@mailint03.im.hou.compaq.com> (raw)
In-Reply-To: 8r0hrf$t74$1@nnrp1.deja.com


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




      reply	other threads:[~2000-09-29  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-28  4:00 Help diagnosing slow tape drive awr
2000-09-29  4:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes. [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