经验首页 前端设计 程序设计 Java相关 移动开发 数据库/运维 软件/图像 大数据/云计算 其他经验
当前位置:技术经验 » 数据库/运维 » Oracle » 查看文章
ORACLE ORION测试IO性能
来源:cnblogs  作者:九命猫幺  时间:2019/9/2 9:22:48  对本文有异议

https://www.oracle.com/technetwork/cn/topics/index-088165-zhs.html 下载地址

OrionOracle提供的IO性能测试工具,运行该工具不需要安装oracle database软件或创建数据库。 它可以模拟Oracle数据库的IO负载,也可以来仿真ASM的条带化的功能

下载后解压就可以直接用

先把要测试的设备写入到同路径的文件中,然后即可测试

  1. [root@localhost oracle]# cat mytest.lun
  2. /dev/mapper/ol-root
  3. [root@localhost oracle]# ./orion_linux_x86-64 -run simple -testname mytest -num_disks 1
  4. ORION: ORacle IO Numbers -- Version 11.1.0.7.0
  5. mytest_20190329_1057
  6. Test will take approximately 9 minutes
  7. Larger caches may take longer
  8.  
  9. [root@localhost oracle]# ls|grep csv
  10. mytest_20190329_1057_iops.csv
  11. mytest_20190329_1057_lat.csv
  12. mytest_20190329_1057_mbps.csv
  13. [root@localhost oracle]# cat mytest_20190329_1057_iops.csv
  14. Large/Small, 1, 2, 3, 4, 5
  15. 0, 2302, 4398, 5450, 6006, 6210
  16. 1
  17. 2
  18. [root@localhost oracle]# cat mytest_20190329_1057_lat.csv
  19. Large/Small, 1, 2, 3, 4, 5
  20. 0, 0.43, 0.45, 0.55, 0.67, 0.80
  21. 1
  22. 2
  23. [root@localhost oracle]# cat mytest_20190329_1057_mbps.csv
  24. Large/Small, 0, 1, 2, 3, 4, 5
  25. 1, 271.58
  26. 2, 374.26
  27. [root@localhost oracle]#
  1. [root@localhost oracle]# ll|grep mytest
  2. -rw-r--r--. 1 root root 128 Mar 29 11:04 mytest_20190329_1057_iops.csv
  3. -rw-r--r--. 1 root root 128 Mar 29 11:04 mytest_20190329_1057_lat.csv
  4. -rw-r--r--. 1 root root 100 Mar 29 11:04 mytest_20190329_1057_mbps.csv
  5. -rw-r--r--. 1 root root 599 Mar 29 11:04 mytest_20190329_1057_summary.txt
  6. -rw-r--r--. 1 root root 2969 Mar 29 11:04 mytest_20190329_1057_trace.txt
  7. -rw-r--r--. 1 root root 20 Mar 29 10:57 mytest.lun
  8. [root@localhost oracle]# cat mytest_20190329_1057_summary.txt
  9. ORION VERSION 11.1.0.7.0
  10.  
  11. Commandline:
  12. -run simple -testname mytest -num_disks 1
  13.  
  14. This maps to this test:
  15. Test: mytest
  16. Small IO size: 8 KB
  17. Large IO size: 1024 KB
  18. IO Types: Small Random IOs, Large Random IOs
  19. Simulated Array Type: CONCAT
  20. Write: 0%
  21. Cache Size: Not Entered
  22. Duration for each Data Point: 60 seconds
  23. Small Columns:, 0
  24. Large Columns:, 0, 1, 2
  25. Total Data Points: 8
  26.  
  27. Name: /dev/mapper/ol-root Size: 49178214400
  28. 1 FILEs found.
  29.  
  30. Maximum Large MBPS=374.26 @ Small=0 and Large=2
  31. Maximum Small IOPS=6210 @ Small=5 and Large=0
  32. Minimum Small Latency=0.43 @ Small=1 and Large=0

结束后会多出5个文件,分别是测试详细信息,概要信息,iops,mbps,latency

原文链接:http://www.cnblogs.com/yongestcat/p/11438723.html

 友情链接:直通硅谷  点职佳  北美留学生论坛

本站QQ群:前端 618073944 | Java 606181507 | Python 626812652 | C/C++ 612253063 | 微信 634508462 | 苹果 692586424 | C#/.net 182808419 | PHP 305140648 | 运维 608723728

W3xue 的所有内容仅供测试,对任何法律问题及风险不承担任何责任。通过使用本站内容随之而来的风险与本站无关。
关于我们  |  意见建议  |  捐助我们  |  报错有奖  |  广告合作、友情链接(目前9元/月)请联系QQ:27243702 沸活量
皖ICP备17017327号-2 皖公网安备34020702000426号