
Chapter 10 - Performance Tuning and Troubleshooting
174
VMA-series Memory Array Installation and Service Guide
HP-AM456-9002A Rev 01
Performance Testing Using perf_test
The perf_test utility is a lightweight tool for measuring the I/O performance
of storage devices.
The
perf_test utility was specifically designed to push the I/O device as hard
as possible using a variety of methods including POSIX threads, variable block
sizing, asynchronous I/O, direct communication, as well as sequential and
random read/ write operations to data over a user-defined address range.
This section describes the
perf_test utility and shows how it may be used to
test the performance of a direct-attached Memory Array system:
• Running the perf_test Utility on page 174
• Baselining the Memory Array System on page 176
• Testing Read Bandwidth on page 177
• Testing Write Bandwidth on page 177
Running the perf_test Utility
For best results, use the (
-R) option to randomly access a specific range (-s)
using multiple threads (
-t), direct I/Os (-o), and asynchronous I/Os (-A).
For example, the command
perf_test -s 640 -R -A64 -t8 -o returns the
following example when run on a Linux host:
# perf_test -s 640 -R -A64 -t8 -o
Violin Memory, Inc.
Version: vtms-linux-utils-D4.5.4, 05/23/2011
Command: perf_test -s 640 -R -A64 -t8 -o
Running with options:
threads = 8
block_size = 4096
memory size = 640 GB
memory start addr = 0x0
write:read ratio = 0:1
random mode = 1
duration = 0 secs
path = /dev/vtms-strad
MB = 1000000 bytes
no-cache mode = 1
AIO depth = 64
Time(sec)Read BW Write BWTotal BWRead IOPSWrite IOPSTotal IOPS
1 817.181 MB/s0.000 MB/s817.181 MB/s1995070199507
Comentários a estes Manuais