From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: vikram sachdeva Newsgroups: gmane.os.tru64.managers Subject: Summary:Transfer Rate in DAT Date: Sat, 08 Jun 2002 16:02:02 +0530 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <000701c20ed7$bf9fe5c0$0270c8cb@guessk42gdl1si> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1023533331 1923 127.0.0.1 (8 Jun 2002 10:48:51 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 8 Jun 2002 10:48:51 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17Gdm6-0000Uu-00 for ; Sat, 08 Jun 2002 12:48:50 +0200 Original-Received: (qmail 25414 invoked by uid 5); 8 Jun 2002 10:48:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 25406 invoked from network); 8 Jun 2002 10:48:28 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 8 Jun 2002 10:48:28 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GXD000BVVCQ7Z@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 08 Jun 2002 06:48:27 -0400 (EDT) Original-Received: from jive.SoftHome.net (jive.SoftHome.net [66.54.152.27]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with SMTP id <0GXD000DJVC080@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 08 Jun 2002 06:48:01 -0400 (EDT) Original-Received: (qmail 5896 invoked by uid 417); Sat, 08 Jun 2002 10:47:55 +0000 Original-Received: from shunt-smtp-out-0 (HELO softhome.net) (172.16.3.12) by shunt-smtp-out-0 with SMTP; Sat, 08 Jun 2002 10:47:55 +0000 Original-Received: from guessk42gdl1si ([203.200.112.2]) (AUTH: LOGIN vikram_dude@softhome.net) by softhome.net with esmtp; Sat, 08 Jun 2002 04:47:51 -0600 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:481 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:481 Thanks to Alan Nabeth and Selden E Balll Jr for a quick response. Both of them suggested to install Tape drive on separate controller to get good transfer rate .But no one could able to answer the exact way of find the transfer rate although Alan gave some good suggestion where to look . Original Question ================= > System is ES40 with Tru64Unix V4.0G .Earlier TLZ10 DAT drive > (internal) was installed on separate SCSI controller int this server. > For some reasons we have to remove that SCSI controller. So we bought > an SBB TLZ10 DAT drive which we plugged in Disk Shelve Bay (it is a > hot pluggable drive like the SBB HDD ,blue in color)In this Bay there > are One Personality Module ,then In Slot 0 one HDD ,Slot 1 one HDD > Slot 2 is empty and in Slot 3 we have installed Tape Drive.Rest of > the slots are empty > After installing DAT in this bay ,the back up time is almost double > .For us it takes 18 hrs to finish the backup. > The Questions are > 1. Why the backup time is doubled ? 2. Is there any way to reduce the backup time(like moving the tape drive > to lower slot i.e lower scsi id. or by any other means) > 3.Is there any utility ( like iostat ) form which we can find out the > data transfer rate for DAT tape drive. I am including replies of both Here is Alan's Reply(Very Informative) ===================== With the tape and disk sharing the same bus now, they also have to share the available bandwidth. Before, each bus could have a transfer in progress at the same time; one reading from disk, the other writing to tape. The only way to get back the performance, is to move the tape back to its own SCSI bus. The disk drivers are responsible for collecting the data used by iostat(1). The tape drives don't collect that data. The drive may count transfers and bytes transferred. On V5, you may be able to get this data with hwmgr(8). You'd have to get successive samples over a fixed time and calculate the data rate by hand, but if you don't have to do it often it can work. The tape drive may also keep tranfer counts, probably available in some SCSI log page. You could query the page at the beginning of the backup, again at the end and note the elapsed time. This will give you a data rate for the whole backup. Depending on the backup software it may provide the same data. Here is Selden's Reply > 1. Why the backup time is doubled ? There are two possibilities: 1) Because the new drive is having trouble writing to the tapes that you are using. Error recovery slows things down. Check your system hardware error logs to see if this is happening. e.g. uerf -R -o full | more 2) Because both the disk and the tape drive are on the same SCSI bus. As best we can tell, current model tape drives do not actually support disconnect/reconnect. This causes serious delays for disk accesses. As a side effect, your tape drive is no longer streaming. > 2. Is there any way to reduce the backup time(like moving the tape drive > to lower slot i.e lower scsi id. or by any other means) Move it to a different SCSI bus. Our experience has been that tape drives should be on a SCSI bus by themselves both for performance and for system reliability. > 3.Is there any utility (like iostat) form which we can find out the > data transfer rate for DAT tape drive. Sorry: I don't know of one. We just dd a file and see how long it takes. Please be sure to summarize and let us know whatever benchmarks and tape monitoring programs you learn about. I hope this helps a little. Regards Vikram