oracle orion测试,一款直观的服务区IO性能测试工具-Orion

Orion是oracle提供的测试io性能的工具,它可以用来模拟Oracle数据库IO,也可以用来模拟用户访问IO开始使用Orion

2.安装Orion(这里测试是Centos6.4环境,windows就默认安装msi文件就可以)

Linux/Solaris:解压Orion执行文件。

#gunzip orion_linux_x86-64.giz    #查看用户操作orion_linux_x86-64权限,chmod a+xorion_linux_x86-64

Windows: 运行安装程序

#C:\temp> orion_windows_x86-64.msi

3.选择测试名,这里使用mytest

4.创建文件名

先查看当前多少磁盘分区

#df -h

注:mytest.lun与orion_linux_x86-64同个目录

# >mytest.lun

--输入选择要测试的磁盘分区

# vi mytest.lun

/dev/mapper/vg_root-lv_sharefiles

/dev/mapper/vg_root-instances

:wq!

5.完成后,我们就可以使用命令进行IO测试,第一次测试,我们选用simple,simple测试衡量在不同的负载下的小随机读和大的随

机读。#./orion_linux_x86-64 -run simple -testname mytest -num_disks 2

ORION: ORacle IO Numbers -- Version 11.1.0.7.0

mytest_20150813_2205

Test will take approximately 30 minutes

Larger caches may take longer

命令会持续一段时间,请勿关闭ssh

6.结果将被记录在输出文件中

输出文件Orion将产生几个输出文件,

1. mytest_summary.txt: 这个文件包含:

a. 输入参数

b. 针对大的随机和连续的工作量下观察到的最大的吞吐量

c. 针对小的随机的工作量的IO速率

d. 针对小的随机的工作量的最小的延迟时间。

7.查看测试结果:cat mytest_20150813_2205_summary.txt

ORION VERSION 11.1.0.7.0

Commandline:

-run simple -testname mytest -num_disks 2

This maps to this test:

Test: mytest

Small IO size: 8 KB   #最小随机数

Large IO size: 1024 KB  #最大随机数

IO Types: Small Random IOs, Large Random IOs

Simulated Array Type: CONCAT

Write: 0%

Cache Size: Not Entered

Duration for each Data Point: 60 seconds

Small Columns:,      0

Large Columns:,      0,      1,      2,      3,      4,      5,      6,      7,      8

Total Data Points: 29

Name: /dev/sda5 Size: 102404703744

Name: /dev/sdb1 Size: 102404703744

2 FILEs found.

Maximum Large MBPS=62.80 @ Small=0 and Large=7

Maximum Small IOPS=647 @ Small=20 and Large=0

Minimum Small Latency=7.32 @ Small=1 and Large=0

最大读写 62.8MBPS

最大IOPS 647 最小20

命令行例子:

为了理解你的存储性能,小的随机读和大的随机IO读工作量,先开始运行:

./orion -run simple -num_disks 4 -testname mytest

测试小的随机读和大的随机读的IO工作量,运行:

./orion -run normal -testname mytest -num_disks 4

测试32K和1MB随机读的组合

./orion -run advanced -testname mytest -num_disks 4 -size_small 32 \

-size_large 1024 -type rand -matrix detailed

测试1MB连续写流,仿真1MB的raid-0条带化

./orion -run advanced -testname mytest -num_disk 4 -simulate raid0 \

-stripe 1024 -write 100 -type seq -matrix col -num_small 0

参考文档:http://blog.itpub.net/25105315/viewspace-694261/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值