ORACLE ORION测试IO性能
程序员文章站
2022-06-16 22:33:54
https://www.oracle.com/technetwork/cn/topics/index-088165-zhs.html 下载地址Orion是Oracle提供的IO性能测试工具,运行该工具不需要安装oracle database软件或创建数据库。 它可以模拟Oracle数据库的IO负载,... ......
下载地址
orion是oracle提供的io性能测试工具,运行该工具不需要安装oracle database软件或创建数据库。 它可以模拟oracle数据库的io负载,也可以用来仿真asm的条带化的功能
下载后解压就可以直接用
先把要测试的设备写入到同路径的文件中,然后即可测试
[root@localhost oracle]# cat mytest.lun
/dev/mapper/ol-root
[root@localhost oracle]# ./orion_linux_x86-64 -run simple -testname mytest -num_disks 1
orion: oracle io numbers -- version 11.1.0.7.0
mytest_20190329_1057
test will take approximately 9 minutes
larger caches may take longer
[root@localhost oracle]# ls|grep csv
mytest_20190329_1057_iops.csv
mytest_20190329_1057_lat.csv
mytest_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]#
[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.0
commandline:
-run simple -testname mytest -num_disks 1
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
total data points: 8
name: /dev/mapper/ol-root size: 49178214400
1 files found.
maximum large mbps=374.26 @ small=0 and large=2
maximum small iops=6210 @ small=5 and large=0
minimum small latency=0.43 @ small=1 and large=0
结束后会多出5个文件,分别是测试详细信息,概要信息,iops,mbps,latency
上一篇: Nodejs实现内网穿透服务
下一篇: HTML学习笔记一