* "cp" for benchmarking device performance?
@ 2001-12-17 15:01 Dave
2001-12-17 19:35 ` Quarter Horseman
2001-12-20 19:39 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
0 siblings, 2 replies; 4+ messages in thread
From: Dave @ 2001-12-17 15:01 UTC (permalink / raw)
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
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.
Any thoughts?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "cp" for benchmarking device performance?
2001-12-17 15:01 "cp" for benchmarking device performance? Dave
@ 2001-12-17 19:35 ` Quarter Horseman
2001-12-20 9:08 ` Hans Schwengeler
2001-12-20 19:39 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 1 reply; 4+ messages in thread
From: Quarter Horseman @ 2001-12-17 19:35 UTC (permalink / raw)
Dave, since you're concerned primarily with device performance rather
than filesystem performance, I'd use "dd" to the character devices
rather than "cp" to mounted filesystems. Injecting filesystem, VFS,
and UBC anomalies and inconsistencies won't help the experiment.
WRT to the variations you're seeing, there are many possibilities:
- Bus contention
- Controller contention
- Actuator contention, if more than 1 RAID device is using
1 spindle (software RAID)
- RAID devices are using different (i.e. different-speed)
partitions
- RAID devices are using different chunk sizes
- RAID devices' cache policies are different (hardware
RAID)
- RAID devices not arranged identically WRT bus/controller loading
- Experimentation is being done on a system that's already
partially-loaded with an unpredictable workload
There's probably more, but there's a start.
QH
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "cp" for benchmarking device performance?
2001-12-17 19:35 ` Quarter Horseman
@ 2001-12-20 9:08 ` Hans Schwengeler
0 siblings, 0 replies; 4+ messages in thread
From: Hans Schwengeler @ 2001-12-20 9:08 UTC (permalink / raw)
Hello,
maybe 'bonnie' is useful for you. It a IO performance measuring
tool.
Yours, Hans.
--
===============================================================================
Hans Schwengeler
Astronomical Institute
University of Basel
Venusstrasse 7
CH-4102 Binningen PHONE: +41 61 20 55 422
Switzerland FAX: +41 61 20 55 455
===============================================================================
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: "cp" for benchmarking device performance?
2001-12-17 15:01 "cp" for benchmarking device performance? Dave
2001-12-17 19:35 ` Quarter Horseman
@ 2001-12-20 19:39 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
1 sibling, 0 replies; 4+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2001-12-20 19:39 UTC (permalink / raw)
In article <d31a72dc.0112170701.6f5b5f06@posting.google.com>, 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)
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-12-20 19:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-17 15:01 "cp" for benchmarking device performance? Dave
2001-12-17 19:35 ` Quarter Horseman
2001-12-20 9:08 ` Hans Schwengeler
2001-12-20 19:39 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox