快速业务通道

Linux IO性能测试

作者 佚名技术 来源 Linux系统 浏览 发布时间 2012-04-18
e: 8 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, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16

  Total Data Points: 38

  Name: /dev/sda2 Size: 629143441920

  1 FILEs found.

  Maximum Large MBPS=3.21 @ Small=0 and Large=13

  Maximum Small IOPS=448 @ Small=38 and Large=0

  Minimum Small Latency=15.16 @ Small=1 and Large=0

  最大MBPS为3.21(这么低??),最大IOPS为448

  再测一下1M顺序读操作, 失败了, 原因不明...

  # ./orion_linux_x86-64 -run advanced -testname mytest -num_disks 8 -size_small 1024 -size_large 1024 -type seq

  ORION: ORacle IO Numbers -- Version 11.1.0.7.0

  mytest_20081114_1349

  Test will take approximately 73 minutes

  Larger caches may take longer

  rwbase_run_test: rwbase_reap_req failed

  rwbase_run_process: rwbase_run_test failed

  rwbase_rwluns: rwbase_run_process failed

  orion_warm_cache: Warming cache failed. Continuing

  看看结果

  # cat mytest_20081111_1620_summary.txt

  ORION VERSION 11.1.0.7.0

  Commandline:

  -run advanced -testname mytest -num_disks 8 -size_small 1024 -size_large 1024 -type seq

  This maps to this test:

  Test: mytest

  Small IO size: 1024 KB

  Large IO size: 1024 KB

  IO Types: Small Random IOs, Large Sequential Streams

  Number of Concurrent IOs Per Stream: 4

  Force streams to separate disks: No

  Simulated Array Type: CONCAT

  Write: 0%

  Cache Size: Not Entered

  Duration for each Data Point: 60 seconds

  没结果,失败

  3. 用iozone <http://www.iozone.org/>来测一下

  安装 <http://hi.baidu.com/fatux/blog/item/:;>

  # tar -xvf iozone3_345.tar

  # make linux-AMD64

  指定64G的文件,只测read/reread和write/rewrite,记录大小从4k-16k.同时生成一个excel文件iozone.wks

  # ./iozone -Rab iozone.wks -s64G -i 0 -i 1 -y 4k -q 16k

  Iozone: Performance Test of File I/O

  Version $Revision: 3.345 $

  Compiled for 64 bit mode.

  Build: linux-AMD64

  Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins

  Al Slater, Scott Rhine, Mike Wisner, Ken Goss

  Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR,

  Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner,

  Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone,

  Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root,

  Fabrice Bacchella, Zhenghua Xue, Qin Li.

  Run began: Tue Nov 11 10:23:25 2008

  Excel chart generation enabled

  Auto Mode

  File size set to 67108864 KB

  Using Minimum Record Size 4 KB

  Using Maximum Record Size 16 KB

  Command line used: ./iozone -Rab iozone.wks -s64G -i 0 -i 1 -y 4k -q 16k

  Output is in Kbytes/sec

  Time Resolution = 0.000001 seconds.

  Processor cache size set to 1024 Kbytes.

  Processor cache line size set to 32 bytes.

凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!

分享到: 更多

Copyright ©1999-2011 厦门凌众科技有限公司 厦门优通互联科技开发有限公司 All rights reserved

地址(ADD):厦门软件园二期望海路63号701E(东南融通旁) 邮编(ZIP):361008

电话:0592-5908028 传真:0592-5908039 咨询信箱:web@lingzhong.cn 咨询OICQ:173723134

《中华人民共和国增值电信业务经营许可证》闽B2-20100024  ICP备案:闽ICP备05037997号