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

  • 相关阅读:
    HDU2515_数学规律题
    HDU1086_You can Solve a Geometry Problem too_判断两线段相交
    HDU1115_Lifting the Stone_凹凸多边形重心_可作为模板
    HDU2036_改革春风照大地_点求多边形面积
    Codeforces Beta Round #92 (Div. 2 Only) _A题
    HDU2108_Shape of HDU_判断凹凸
    response.setContentType设置
    vue 文件下载实现
    iText5实现Java生成PDF文件完整版
    java使用IText将数据导出为pdf文件(数据为excel表格样式)
  • 原文地址:https://www.cnblogs.com/yongestcat/p/11438723.html
Copyright © 2011-2022 走看看