现在的位置: 首页 > 综合 > 正文

Use DiskSim with SSD 1

2017年10月27日 ⁄ 综合 ⁄ 共 1889字 ⁄ 字号 评论关闭

2 Running DiskSim
DiskSim requires five command line arguments and optionally accepts some number of parameter
overrides:
disksim <parfile> <outfile> <tracetype> <tracefile> <synthgen> [ par override
... ]
where:
• disksim is the name of the executable.
• parfile is the name of the parameter file (whose format is described in chapter 3).
• outfile is the name of the output file (whose format is described in chapter 5). Output can
be directed to stdout by specifying “stdout” for this argument.
• tracetype identifies the format of the trace input, if any (options are described in chapter C).
• tracefile identifies the trace file to be used as input. Input is taken from stdin when “stdin”
is specified for this argument.
• synthgen determines whether or not the synthetic workload generation portion of the simulator
should be enabled (any value other than “0” enables synthetic workload generation).
The synthetic generator(s) are configured by values in the parameter file, as described in
chapter C. Currently, DiskSim cannot use both an input trace and an internally-generated
synthetic workload at the same time.
• par override allows default parameter values or parameter values from parfile to be
replaced by values specified in the command line. The exact syntax is described in the

following section.

从今天开始要在DiskSIm上做一个有关SSD-RAID的性能测试,目前已经将工作环境SETUP完毕。

目前进入第一阶段 QuickStart,先稍微阅读以下DOC。

上面这段说明了运行DiskSim需要的参数,总结以下需要下面这几个东西:

1 executable

1 parameter file ---> Chapter C

1 outputfile

1 trace file or synthetic workload(synthetic workload‘s setup also in the parameter, which means we can let the SIM do the ios we want.[just like what the tool FIO do] ---> Chapter C)

ok,那现在我们只要写好了配置文件.parv 配置好拓扑结构+workload

就可以开始测试了!

=============update 9.13======================

about SSD-add-on:

This is not a simulator for any specific SSD, but rather a simulator
for an idealized SSD that is parameterized by the properties of NAND
flash chips such as read, write, and erase latency.  

它模拟的是理想化的SSD

There are various tuning parameters.  Please see the ssdmodel module
specification for more information.  It is worth noting that
the
current SSD add-on does not simulate a read or write cache.

worth noting 值得注意 没有模拟 读写cache?

抱歉!评论已关闭.