-
Notifications
You must be signed in to change notification settings - Fork 54
/
ssd.conf
106 lines (82 loc) · 2.91 KB
/
ssd.conf
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Copyright 2009, 2010 Brendan Tauras
# ssd.conf 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/>.
##############################################################################
# ssd.conf
# FlashSim configuration file
# default values in ssd_config.cpp as used if value is not set in config file
# Ram class:
# delay to read from and write to the RAM for 1 page of data
RAM_READ_DELAY 0.01
RAM_WRITE_DELAY 0.01
# Bus class:
# delay to communicate over bus
# max number of connected devices allowed
# number of time entries bus has to keep track of future schedule usage
# number of simultaneous communication channels - defined by SSD_SIZE
BUS_CTRL_DELAY 0.1
BUS_DATA_DELAY 8
# Ssd class:
# number of Packages per Ssd (size)
SSD_SIZE 4
# Package class:
# number of Dies per Package (size)
PACKAGE_SIZE 2
# Die class:
# number of Planes per Die (size)
DIE_SIZE 1
# Plane class:
# number of Blocks per Plane (size)
# delay for reading from plane register
# delay for writing to plane register
# delay for merging is based on read, write, reg_read, reg_write
# and does not need to be explicitly defined
PLANE_SIZE 128
PLANE_REG_READ_DELAY 0.01
PLANE_REG_WRITE_DELAY 0.01
# Block class:
# number of Pages per Block (size)
# number of erases in lifetime of block
# delay for erasing block
BLOCK_SIZE 32
BLOCK_ERASES 100000
BLOCK_ERASE_DELAY 150
# Page class:
# delay for Page reads
# delay for Page writes
# -- A 64bit kernel is required if data pages are used. --
# Allocate actual data for pages
# Size of pages (in bytes)
PAGE_READ_DELAY 2
PAGE_WRITE_DELAY 20
PAGE_ENABLE_DATA 0
# MAPPING
# Specify reservation of
# blocks for mapping purposes.
MAP_DIRECTORY_SIZE 100
# FTL Implementation to use 0 = Page, 1 = BAST,
# 2 = FAST, 3 = DFTL, 4 = Bimodal
FTL_IMPLEMENTATION 3
# LOG Page limit for BAST
BAST_LOG_PAGE_LIMIT 1024
# LOG Page limit for FAST
FAST_LOG_PAGE_LIMIT 1024
# Number of pages allowed to be in DFTL Cached Mapping Table.
CACHE_DFTL_LIMIT 512
# 0 -> Normal behavior, 1 -> Striping, 2 -> Logical address space parallelism
PARALLELISM_MODE 2
# Written in round robin: Virtual block size (as a multiple of the physical block size)
VIRTUAL_BLOCK_SIZE 1
# Striping: Virtual page size (as a multiple of the physical page size)
VIRTUAL_PAGE_SIZE 1
# RAISSDs: Number of physical SSDs
RAID_NUMBER_OF_PHYSICAL_SSDS 2