Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
disksim-4.0
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jana Berušková
disksim-4.0
Commits
3e622dbe
Commit
3e622dbe
authored
7 years ago
by
Jana Berušková
Browse files
Options
Downloads
Patches
Plain Diff
README changed
help in README was changed for patched version of project
parent
923db0c2
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+27
-30
27 additions, 30 deletions
README.md
with
27 additions
and
30 deletions
README.md
+
27
−
30
View file @
3e622dbe
...
...
@@ -11,15 +11,15 @@ Because it's unprecedented accuracy:
This tool helps with building DiskSim v4.0 in these ways:
*
base sources or these with [DIXtrac] ) tool were downloaded from: http://www.pdl.cmu.edu/Dixtrac/index.shtml
*
optionally
patch sources by Microsoft [SSD extension] were downloaded from: https://www.microsoft.com/en-us/download/details.aspx?id=52332
*
optionally
patch sources by Oliver Liu [64bit patch] were downloaded from: https://github.com/myidpt/PFSsim/tree/master/disksim/64bit-ssd-patch-files
*
patch sources by Microsoft [SSD extension] were downloaded from: https://www.microsoft.com/en-us/download/details.aspx?id=52332
*
patch sources by Oliver Liu [64bit patch] were downloaded from: https://github.com/myidpt/PFSsim/tree/master/disksim/64bit-ssd-patch-files
*
use additional patches in
`patches/`
*
optionally
enforce C standard and optimization, so
`disksim`
can be compiled by f.e.
`gcc`
v5.4.0 and can run faster
*
enforce C standard and optimization, so
`disksim`
can be compiled by f.e.
`gcc`
v5.4.0 and can run faster
*
run validation tests coming with sources
Folder
`scripts/`
holds other useful tools including a generator of
**JBOD|RAID{0|1|3|4|5}**
_parv_ files.
##
Download, patch and b
uild DiskSim
##
B
uild DiskSim
### Clone this repo
```
...
...
@@ -43,26 +43,14 @@ $ make help
Make patched DiskSim
Usage:
make [options] [target ...]
Options:
DIXTRAC=yes|no ... use DiskSim with DIXtrac (by default: yes)
SSD=yes|no ... use Microsoft SSD extension (by default: yes)
ARCH64=yes|no ... use Oliver Liu 64bit patch (by default: yes)
PATCHSYTHDEVS=yes|no ... patch loadsynthdevs() (by default: yes)
PRINTMAPREQUEST=yes|no ... print map requests (by default: yes)
STD=
<string>
... enforce C standard thru -std= (by default: gnu90)
OPTIMIZE=
<string>
... enforce C optimization thru -O (by default: 2)
TOLERANT=yes|no ... ignore patch failures (by default: yes)
INSTALLDIR=
<dir>
... dir to install binaries (by default: bin)
make [target ...]
Targets:
all ......... make sources, compile and install
sources ..... prepare sources to src/
all ......... make compile, install and test
compile ..... compile disksim in build/disksim-4.0/
install ..... install binaries to bin/
test ........ run valadation tests
clean ....... delete b
uild
/
clean ....... delete b
in
/
help ........ print this help screen
```
...
...
@@ -71,17 +59,20 @@ Targets:
$ make
```
```
Build configuration:
*
Use DiskSim with DIXtrac: yes
*
Use Microsoft SSD extension: yes
*
Use Oliver Liu 64bit patch: yes
*
Patch loadsynthdevs(): yes
*
Print map requests: yes
*
Enforce C standard: gnu90
*
Enforce C optimization: 2
*
Ignore patch failures: yes
*
Install dir for binaries: bin
[DISKSIM] Compile ...
chmod +x 'build/disksim-4.0/libparam/'
*
.pl
make -C 'build/disksim-4.0'
make[1]: Vstupuje se do adresáře „/home/oem/BP/My_BP/patches_all/patched/build/disksim-4.0“
make -C libddbg
make[2]: Vstupuje se do adresáře „/home/oem/BP/My_BP/patches_all/patched/build/disksim-4.0/libddbg“
cc -O2 -std=gnu90 -g -I../libparam -c -o ddbg_assert.o ddbg_assert.c
cc -O2 -std=gnu90 -g -I../libparam -c -o ddbg_trace.o ddbg_trace.c
ar cru libddbg.a ddbg_assert.o ddbg_trace.o
ar:
`u' modifier ignored since `
D' is the default (see
`
U')
mkdir -p include/libddbg lib
cp -p libddbg.h include/libddbg
cp -p libddbg.a lib
make[2]: Opouští se adresář „/home/oem/BP/My_BP/patches_all/patched/build/disksim-4.0/libddbg“
...
OK, installed binaries:
...
...
@@ -99,6 +90,12 @@ OK, installed binaries:
-rwxrwxr-x 1 jake jake 22792 pro 7 03:18 bin/mems_seektest
-rwxrwxr-x 1 jake jake 610552 pro 7 03:18 bin/physim
-rwxrwxr-x 1 jake jake 10480 pro 7 03:18 bin/rms
[DISKSIM] Run validation test build/disksim-4.0/valid/runvalid ...
cd 'build/disksim-4.0/valid/' && sh 'runvalid'
These results represent actual drive validation experiments
...
```
### Run validation tests
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment