ORION(Oracle I/O Calibration Tool)是Oracle提供的、用于测试存储系统性能瓶颈,由于 ORION 是一个独立工具,用户不需要创建和
㈠ 定义
orion(oracle i/o calibration tool)是oracle提供的、用于测试存储系统性能瓶颈
由于 orion 是一个独立工具,用户不需要创建和运行 oracle 数据库
orion的使用非常简单,从官网上down下来的包直接解压就可以使用
下载地址
解压:
# gunzip orion_linux_x86.gz
㈡ 优点
● 不需要运行load runner以及配置大量的虚拟用户
● 不需要运行oracle数据库,以及准备大量的测试数据
● 测试结果更具有代表性,如随机io测试中,该软件可以让存储的命中率接近为0,更仿真出了磁盘的真实的iops
而load runner很难做到这些,最终的磁盘iops需要换算得到
● 可以根据需要定制一定比例的写操作(默认没有写操作),但是需要注意,如果磁盘上有数据,需要小心数据被覆盖掉
㈢ 输出文件
orion 执行结束会输出5个文件:
●
●
●
●
●
●
㈣ 三个强制参数
运行oraion必须包含run,testname,num_disks 三个参数
● run
type of workload to run(simple, normal, advanced)
simple - tests random 8k small ios at various loads,then random 1m largeios at various loads.
normal - tests combinations of random8k small ios and random 1m large ios
advanced - run theworkload specified by the user using optional parameters
● testname name of the test run
● num_disks number of disks (physicalspindles)
㈤ 一次简单的测试
orion的执行需要一个参数文件,,用于指定测试的磁盘
# cat /dev/sda1 > rocky
# cat /dev/sda2 > rocky
# ./orion_linux_x86 -run simple -testname rocky -num_disks 1
测试的结果会生成以上所说的5个文件

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号