首页 > 系统运维 > fio IO性能测试工具
您的足迹
  • 你没有浏览过任何文章或者你没有开启cookies。

fio IO性能测试工具

官网:http://freshmeat.net/projects/fio/

fio is an I/O tool meant to be used both for benchmark and stress/hardware verification. It has support for 13 different types of I/O engines (sync, mmap, libaio, posixaio, SG v3, splice, null, network, syslet, guasi, solarisaio, and more), I/O priorities (for newer Linux kernels), rate I/O, forked or threaded jobs, and much more. It can work on block devices as well as files. fio accepts job descriptions in a simple-to-understand text format. Several example job files are included. fio displays all sorts of I/O performance information. It supports Linux, FreeBSD, NetBSD, OS X, and OpenSolaris.

直接下载编译RPM安装都可以。

fio –filename=/dev/mapper/VolGroup00-LogVol00 –direct=1 –rw=randread –bs=4k –size=60G –numjobs=10 –runtime=20  –group_reporting –name=test-rand-read

其他工具dd使用方法如下:


[root@localhost ~]# dd if=/dev/VolGroup00/LogVol00 of=/dev/null bs=8k count=8388608
8388608+0 records in
8388608+0 records out
68719476736 bytes (69 GB) copied, 301.859 seconds, 228 MB/s

写:
[root@localhost ~]# dd if=/dev/zero of=/root/zerofile bs=32k count=16k conv=fsync
16384+0 records in
16384+0 records out
536870912 bytes (537 MB) copied, 1.92707 seconds, 279 MB/s

[root@localhost~]# dd if=/dev/zero of=/root/zerofile bs=32k count=16k oflag=dsync
16384+0 records in
16384+0 records out
536870912 bytes (537 MB) copied, 28.7112 seconds, 18.7 MB/s


相关博文

  1. 还没有评论
评论提交中, 请稍候...

留言

可以使用的标签: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>
Trackbacks & Pingbacks ( 0 )
  1. 还没有 trackbacks
Feed