zoukankan      html  css  js  c++  java
  • ORACLE ORION测试IO性能

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

    OrionOracle提供的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

  • 相关阅读:
    点击两次返回键程序退出
    权限android.permission.WRITE_EXTERNAL_STORAGE 内外置sd卡写权限
    java Calendar add方法
    MeasureSpec简介
    android bitmap转换
    IOS键盘隐藏和显示调用
    内存溢出
    UIView递归
    caLayer
    C++算法
  • 原文地址:https://www.cnblogs.com/yongestcat/p/11438723.html
Copyright © 2011-2022 走看看