Vdbench For Linux简明操作手册(2)

2019-08-30 22:30

fwd参数详细说明: fwd=name fwd=default fsd=(xx,….) host=host_label fileio=random fileio=sequential fileio=(seq,delete) stopafter=nnn fileselect=random/ sequential xfersizes=nn operation=xxxx rdpct=nn skew=nn threads=nn Unique name for this Filesystem Workload Definition. All parameters used will serve as default for all the following fwd’s. Name(s) of Filesystem Definitions to use Which host this workload to run on. How file I/O will be done: random or sequential How file I/O will be done: random or sequential Sequential I/O: When opening for writes, first delete the file For random I/O: stop and close file after ‘nnn’ reads or writes. Default 100 for random I/O. How to select file names or directory names for processing. Specifies the data transfer size(s) to use for read and write operations. Specifies a single file system operation that must be done for this workload. For ‘read’ and ‘write’ only. This allows a mix and read and writes against a single file. The percentage of the total amount of work for this FWD How many concurrent threads to run for this workload. (Make sure you have at least one file for each thread).

3、 测试运行定义(Run definition)

? 示例:rd=rd1,wd=wd*,elapsed=1800,interval=1,iorate=max

描述:

elapsed:Time of this run in seconds,default 30 seconds interval:Reporting interval in seconds iorate:Run an uncontrolled workload

4、 脚本示例

******************************************************************* * example1:

sd=sd1,lun=/dev/sdb,threads=32,openflags=o_direct

wd=wd1,sd=sd*,seekpct=seq,rdpct=100,xfersize=2m

rd=rd1,wd=wd*,elapsed=600,interval=1,iorate=max

*说明

* 测试磁盘设备(/dev/sdb),队列深度为32,采用2MB块大小,顺序读,测试时长为600秒。 *

*******************************************************************

******************************************************************* * example2:

sd=sd1,lun=/dir/a.file, size=100m,openflags=o_direct

wd=wd1,sd=sd*,seekpct=seq,rdpct=100,xfersize=2m

rd=rd1,wd=wd*,elapsed=600,interval=1,iorate=max

*说明

* 测试读出文件/dir/a.file,设置文件大小为100MB,以2MB块大小顺序读出,测试时长为600秒。 *

*******************************************************************

******************************************************************* * example3:

fsd=fsd1,anchor=/dir,depth=1,width=1,files=30,size=2m,openflags=o_direct

fwd=fwd1,fsd=fsd1,operation=read,xfersize=2m,fileio=sequential,fileselect=sequential,threads=32

rd=rd1,fwd=fwd*,fwdrate=max,format=yes,elapsed=600,interval=1

*说明

* 测试读出文件/dir,文件总数为30个,每个文件大小为2MB,以2MB块大小顺序读出,测试时长为600秒。 *

*******************************************************************


Vdbench For Linux简明操作手册(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:拿来主义文体分析

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: