我们拒绝平庸,拒绝随波逐流,拒绝墨守成规,让梦想不再流浪。
存储系统性能测试
上一篇 /
下一篇 2014-06-05 10:17:05
/ 个人分类:甲骨文
Oracle ORION:存储系统
性能测试工具
iT d$pe0㈠ 定义
q:of"X*~o}.A-]0
EQn_:N_s0ORION(Oracle I/O Calibration Tool)是Oracle提供的、用于测试存储系统性能瓶颈
oEk4p1e5~r0由于 ORION 是一个独立工具,用户不需要创建和运行 Oracle 数据库
*\5R;Qqg0ORION的使用非常简单,从官网上down下来的包直接解压就可以使用51Testing软件测试网 D)`&H(`u*Np wNI
下载地址51Testing软件测试网Gi*v
KS+SW
http://www.oracle.com/technetwork/cn/topics/index-088165-zhs.html51Testing软件测试网H:Y$^1`Co$kYqSQ
解压:
2W*Ju#VS
x9JVW]
~0# gunzip orion_linux_x86.gz51Testing软件测试网:@/pB0w+f
mj#CI6ZB
8qQP|1a+VB~V0H051Testing软件测试网9Bv-Y*q:P.U5JP
㈡ 优点51Testing软件测试网6_4vE,mr-Xob2Jw
:Y.cZ-m'HU0● 不需要运行Load Runner以及配置大量的虚拟用户51Testing软件测试网tjH9k,uP
● 不需要运行Oracle数据库,以及准备大量的测试数据51Testing软件测试网SW5{u0h W._B
● 测试结果更具有代表性,如随机IO测试中,该软件可以让存储的命中率接近为0,更仿真出了磁盘的真实的IOPS
6BSy&G+h1M t,x9}0而load runner很难做到这些,最终的磁盘IOPS需要换算得到51Testing软件测试网M}_"|,bAV%TS\
● 可以根据需要定制一定比例的写操作(默认没有写操作),但是需要注意,如果磁盘上有数据,需要小心数据被覆盖掉51Testing软件测试网'OVk u1P7jj/M,r
51Testing软件测试网%N6f'ql3P2v
m4K0SH
51Testing软件测试网
hVKbta*ng
㈢ 输出文件
;q:V8t*R&]VBzN*a0
U6o BPK/q0ORION 执行结束会输出5个文件:
'^h:}"KZ^#Y`oK0● <testname>_summary.txt - Summary of the input parameters along with min. small latency, max large MBPS and/or max.small IOPS.51Testing软件测试网b-l5j4v:G/o{"M
● <testname>_mbps.csv - Performanceresults of large IOs in MBPS(吞吐量)51Testing软件测试网0V_-loZd
● <testname>_iops.csv - Performanceresults of small IOs in IOPS(每秒IO次数)
c
K{H9JL8nNN0● <testname>_lat.csv - Latency of smallIOs(响应时间)51Testing软件测试网_o%moU-uU
● <testname>_tradeoff.csv - Shows largeMBPS / small IOPS combinations that can be achieved at certain small latencies51Testing软件测试网4N6qI o+x2yM
● <testname>_trace.txt - Extended,unprocessed output(跟踪信息,最详细的数据)
LM
| F pfR051Testing软件测试网w2bA6@5s`
51Testing软件测试网
N
L_K@%b㈣ 三个强制参数51Testing软件测试网d4M4d6Qf?t)j%t
51Testing软件测试网+Z
tv4lJ c5`j"Z ● run
~rDd C)H0 Type of workload to run(simple, normal, advanced)51Testing软件测试网CI*ib.D,u
simple - tests random 8K small IOs at various loads,then random 1M largeIOs at various loads.
0T8}'D#x&Pv0 normal - tests combinations of random8K small IOs and random 1M large IOs
C;R5?G+Hg3]Y0 advanced - run theworkload specified by the user using optional parameters
*jaM?+J2L!c9H0 ● testname Name of the test run
-\0U!J1pOc:I"Yu0 ● num_disks Number of disks (physicalspindles)51Testing软件测试网LC6LN}[)x
51Testing软件测试网j*S?zho j)f㈤ 一次简单的测试
kxA5Z'zv0 51Testing软件测试网E&Axj0CQ-N4S
ORION的执行需要一个参数文件,用于指定测试的磁盘51Testing软件测试网TN&wr
I
Uy
# cat /dev/sda1 > rocky
gk2r4F_Tp Q!u0 # cat /dev/sda2 > rocky51Testing软件测试网$A@p:l\-I4F(d&]
# ./orion_linux_x86 -run simple -testname rocky -num_disks 1
:h6m4I%ypln
u[0 测试的结果会生成以上所说的5个文件
h3hBblh
B0
COr1}/]Z#FE051Testing软件测试网"R]B(N5BS6sAa
收藏
举报
TAG: