readme
来自「disksim是一个非常优秀的磁盘仿真工具」· 代码 · 共 102 行
TXT
102 行
MEMSMODEL - version 1.0Authors: Steve Schlosser and John Linwood Griffin - 1999 - 2005-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Summary-=-=-=-The MEMSMODEL library provides a model of a MEMS-based storage devicedescribed by Carley et al., and used in all of our systems researchover the past five years. See http://www.pdl.cmu.edu/MEMS/ for asummary of research and links to papers. The model is configurable,and is generally integrated into the DiskSim simulator. The seekmodel can be configured to be either our piecewise-linear model or amore general solution described by Hong et al. The library gathers awide variety of statistics on seek time, transfer time, energy used,number of read/write tips engaged, etc.Components/Features-=-=-=-=-=-=-=-=-=-MEMSMODEL implements two different seek time calculation functions.The first is a piecewise-linear calculation of seek time, described inour SIGMETRICS paper from 2000. The second is a general solution,described by Bo Hong from UC Santa Cruz. Experimentation has shownthat they give nearly identical results, although it has not beenrigorously tested across many workloads. The seek functions areimplemented in mems_internals.c, mems_piecewise_seek.c, andmems_hong_seek.c. These are built into the mems_internals library,and can be exercised independent of DiskSim.MEMSMODEL is interfaced to DiskSim through mems_disksim.c andmems_event.c. The event loop in mems_event.c simulates requests beingexecuted by the MEMS model. It has become pretty complicated overtime, but is based on the DiskSim simpledisk model(disksim_simpledisk.c).Many statistics are gathered while the simulation runs, and theresults are output in the DiskSim output file.Overall seek timeX seek timeY seek timeInitial turnaround timeStreaming turnaround timeSubtrack accessesTips per accessNumber of spinupsNumber of spindownsInactive timeBuffer accessesPer-request energyTotal energyServicing energyStartup energyIdle energyInactive energyAn interesting feature of MEMSMODEL is its ability to access a batchof requests using parallel read/write tips, even if those requests arenot to contiguous LBNs. Batched requests are marked as such whendelivered to DiskSim, and MEMSMODEL will not begin executing themuntil all of the requests in the batch have arrived. If the requestedLBNs are at the same X/Y offset, then the model will access them withparallel read/write tips, up to the number of tips that can be activeconcurrently. If there are not enough tips or if some of the LBNs areat different X/Y offsets, then the simulator will access as many as itcan at once, and access those that remain in subsequent passes.There is a simple re-use buffer, which is disabled in this version.There is also rudimentary support for prefetching, which is alsodisabled.Configuration parameters-=-=-=-=-=-=-=-=-=-=-=-=-Please see the user's manual for a description of each of the model'sparameters.Using the library-=-=-=-=-=-=-=-=-We have used the library in two different ways: as part of astand-alone program to study seek time dynamics of MEMS-based storagedevices and their dependence on various design parameters, and as partof DiskSim to compare the performance of MEMS-based storage devicesand disk drives. There is an example of how to generate basic seekcurves for each model in the tests/ directory. The memsvalid scriptin the disksim/valid directory will run some sample simulationsthrough DiskSim. There are also sample configuration files in thatdirectory.Known bugs-=-=-=-=-=-Batches of parallel writes causes crashes - just use reads instead.BufferPrefetching
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?