From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,6a2637b3ca4dcb87 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-12-20 11:39:29 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!news.compaq.com!news.cpqcorp.net!nabeth.cxo.cpqcorp.net!alan Newsgroups: comp.unix.tru64 From: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Distribution: world References: Reply-To: alan@nabeth.cxo.cpqcorp.net (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: "cp" for benchmarking device performance? Message-ID: Date: Thu, 20 Dec 2001 19:39:17 GMT NNTP-Posting-Host: 16.112.5.128 X-Complaints-To: abuse@Compaq.com X-Trace: news.cpqcorp.net 1008877157 16.112.5.128 (Thu, 20 Dec 2001 11:39:17 PST) NNTP-Posting-Date: Thu, 20 Dec 2001 11:39:17 PST Organization: Compaq Computer Corporation Xref: archiver1.google.com comp.unix.tru64:6231 In article , dherri@acxiom.com (Dave) writes: >I have been given a system with 30 different RAID-5 devices and would >like to benchmark the performance of them. Most are 6 member sets, >with a few 4 member sets. The disks are 18.2 Universal WideUltra3 15K >disks. My thought was to place a 10GB file on each device, then one >by one copy the file (using "cp") to /dev/null. > >Is this a valid way to test the performance of the devices? The test is reasonably valid if your intended I/O is mostly reading very large files from the particular file system you're using on the device. If the actual I/O load is going to be write intensive or random I/Os in a mix, then the test isn't representitive of the load. As another follow-up suggested (that I saw) you can use dd(1) to test the device level performance without a file system getting in the way. I don't think dd(1) does any multi-buffered I/O, so a file system that does read-ahead actually has an advantage doing lots of sequential reads. If you plan to put a file system on the device, then doing the tests through a file system is reasonable, since it will affect the final performance you see. >The >reason I ask is that I'm consistently getting a wide varience in >performance. Devices a, b, and c are all 6 member RAID-5 sets with >roughly the same free space, yet a and b yield 49MB/sec while c is >34MB/sec. Without knowing more about the subsystem or configuration it is hard to guess what might be causing the problem. There may be affects due to the back-end configuration (are all the devices on different back-end busses). If the subsystem supports hardware partitioning of a larger RAID, then different partitions could easily have different performance. Most (all?) high capacity disks are zoned; they have different number of sectors per track depending on the track. Tracks with more data have the potention of offering high data rates. > >Any thoughts? > -- Alan Rollow alan@nabeth.cxo.cpqcorp.net (previously .dec.com)