-
Notifications
You must be signed in to change notification settings - Fork 4
/
README.SRsim
52 lines (40 loc) · 2.47 KB
/
README.SRsim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Copyright 2015, HooYoung Ahn, school of computing, KAIST
hyahn@kaist.ac.kr
README is part of extended FlashSim.
To simulate multiple SSDs with various RAID levels,
We modified below files in extended Flashsim.
ssd.h, ssd_bm.cpp, bast_ftl.cpp, ssd_ftl_partent.cpp, ssd_block.cpp.
We newly make run_RAID0.cpp, run_RAID5.cpp , run_RAID6.cpp, ssd_stripe.cpp and
also modified the Makefile.
We prepare the minimized realworld trace Fianacial1 in the BenchmarkTraces folder and
it will be useful to test the simulator.
##############################################################################
FlashSim is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
FlashSim is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with FlashSim. If not, see <http://www.gnu.org/licenses/>.
##############################################################################
To use FlashSim with a main file, use the "ssd" (default) make target
and link the object files with your code that contains a main function. Some
examples can be found in the "test" and "trace" make targets and corresponding
source files.
Users must provide their FTL scheme to run FlashSim, which should include a
FTL, wear-leveler, and garbage-collector class. Please note that FLASHSIM WILL
NOT WORK WITHOUT PROVIDING A FTL SCHEME. The UML diagram has been provided to
assist with FTL development. Many private functions of the Controller class
made available to the FTL class will assist users in FTL development. Users can
run the "test" and "trace" make target output binaries to perform basic
testing of their FTL schemes.
Before running the FlashSim module, users should update the configuration file
"ssd.conf" according to their specificiations. Descriptions of configuration
settings can be found in the sample configuration file.
FlashSim was designed to be capable of being modularly integrated with Disksim.
The Ssd::event_arrive() function signature in ssd_ssd.cpp was designed to match
the event_arrive() function signature that Disksim uses to send events to disks.
Any questions, comments, suggestions, or code additions are welcome.