From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Fleming Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: measuring tape IO speed Date: Mon, 15 Dec 2003 18:24:28 +1000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1071476649 23946 80.91.224.253 (15 Dec 2003 08:24:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2003 08:24:09 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Dec 15 09:24:06 2003 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1AVo1O-0008I5-00 for ; Mon, 15 Dec 2003 09:24:06 +0100 Original-Received: (qmail 11059 invoked by uid 5); 15 Dec 2003 08:23:55 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 11044 invoked by uid 49493); 15 Dec 2003 08:23:55 -0000 Original-Received: from kevin@w617.com by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(-1.5/5.0):. Processed in 17.265218 secs); 15 Dec 2003 08:23:55 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (160.91.86.17) by 0 with SMTP; 15 Dec 2003 08:23:38 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HPX00JRLGND6S@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 15 Dec 2003 03:23:37 -0500 (EST) Original-Received: from criton.w617.com (criton.w617.com [210.18.194.24]) by emroute2.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HPX00M7DGMGLK@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 15 Dec 2003 03:23:07 -0500 (EST) Original-Received: from MINB1466 (dhcp81 [192.168.240.81]) by criton.w617.com (8.9.3/8.9.3) with SMTP id SAA97479 for ; Mon, 15 Dec 2003 18:22:51 +1000 (EST envelope-from kevin@w617.com) Original-To: 'Tru64-Unix-Managers X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-Priority: 3 (Normal) X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:6026 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6026 Many thanks to the multiple respondants, most people suggested the use of 'collect': collect -st -i 10 collect -i5 -st And to see aggregate performance for all disk and tape add -T qualifier: collect -i5 -st -T or tapex to measure statistics. Historically, disk devices are more interesting so you see things like iostat [Dr. Thomas P. Blinn]. Other people offered pointers that /dev/zero and /dev/random aren't going to get you nice accurate numbers. /dev/zero is highly compressable so the numbers will look huge, /dev/random should be almost uncompressable [Charles Ballowe]. More suggestions to ensure that the tape drive is on a seperate SCSI bus. Personally, in these days of SCSI Ultra320, this doesn't seems to be such an issue. Regards, Kevin -----Original Message----- From: Kevin Fleming [mailto:kevin@w617.com] Sent: Thursday, 11 December 2003 8:12 PM To: 'Tru64-Unix-Managers Subject: measuring tape IO speed since iostat doesn't allow the option of measuring IO speeds to a tape device - how can it be measured. I'm looking to indepedantly test IO performance - so the possibility of using dd is limited. One option is to dd if=/dev/zero of=/dev/tape/tape0 count=5000 bs=128k or if=/dev/random, then workout the transfer rate per second, however would like the same kind of output as iostat. thanks, Kevin