https://www.oracle.com/technetwork/cn/topics/index-088165-zhs.html 下载地址
Orion是Oracle提供的IO性能测试工具,运行该工具不需要安装oracle database软件或创建数据库。 它可以模拟Oracle数据库的IO负载,也可以用来仿真ASM的条带化的功能
下载后解压就可以直接用
先把要测试的设备写入到同路径的文件中,然后即可测试
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
[root@localhost oracle]# cat mytest.lun /dev/mapper/ol-root[root@localhost oracle]# ./orion_linux_x86-64 -run simple -testname mytest -num_disks 1ORION: ORacle IO Numbers -- Version 11.1.0.7.0mytest_20190329_1057Test will take approximately 9 minutesLarger caches may take longer[root@localhost oracle]# ls|grep csvmytest_20190329_1057_iops.csvmytest_20190329_1057_lat.csvmytest_20190329_1057_mbps.csv[root@localhost oracle]# cat mytest_20190329_1057_iops.csv Large/Small, 1, 2, 3, 4, 5 0, 2302, 4398, 5450, 6006, 6210 1 2[root@localhost oracle]# cat mytest_20190329_1057_lat.csv Large/Small, 1, 2, 3, 4, 5 0, 0.43, 0.45, 0.55, 0.67, 0.80 1 2[root@localhost oracle]# cat mytest_20190329_1057_mbps.csv Large/Small, 0, 1, 2, 3, 4, 5 1, 271.58 2, 374.26[root@localhost oracle]# |
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
[root@localhost oracle]# ll|grep mytest-rw-r--r--. 1 root root 128 Mar 29 11:04 mytest_20190329_1057_iops.csv-rw-r--r--. 1 root root 128 Mar 29 11:04 mytest_20190329_1057_lat.csv-rw-r--r--. 1 root root 100 Mar 29 11:04 mytest_20190329_1057_mbps.csv-rw-r--r--. 1 root root 599 Mar 29 11:04 mytest_20190329_1057_summary.txt-rw-r--r--. 1 root root 2969 Mar 29 11:04 mytest_20190329_1057_trace.txt-rw-r--r--. 1 root root 20 Mar 29 10:57 mytest.lun[root@localhost oracle]# cat mytest_20190329_1057_summary.txt ORION VERSION 11.1.0.7.0Commandline:-run simple -testname mytest -num_disks 1 This maps to this test:Test: mytestSmall IO size: 8 KBLarge IO size: 1024 KBIO Types: Small Random IOs, Large Random IOsSimulated Array Type: CONCATWrite: 0%Cache Size: Not EnteredDuration for each Data Point: 60 secondsSmall Columns:, 0Large Columns:, 0, 1, 2Total Data Points: 8Name: /dev/mapper/ol-root Size: 491782144001 FILEs found.Maximum Large MBPS=374.26 @ Small=0 and Large=2Maximum Small IOPS=6210 @ Small=5 and Large=0Minimum Small Latency=0.43 @ Small=1 and Large=0 |
结束后会多出5个文件,分别是测试详细信息,概要信息,iops,mbps,latency
作者:九命猫幺
博客出处:http://www.cnblogs.com/yongestcat/
欢迎转载,转载请标明出处。
如果你觉得本文还不错,对你的学习带来了些许帮助,请帮忙点击右下角的推荐