-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
44 lines (33 loc) · 2 KB
/
README
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
Copyright 2009, 2010 Brendan Tauras
btauras<code>at</code>gmail<code>dot</code>com
README is part of FlashSim.
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/>.
##############################################################################
README
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.