Skip to content

Commit c432423

Browse files
author
Anastasios Papagiannis
committed
Fixes in README.
1 parent fa93382 commit c432423

File tree

2 files changed

+50
-16
lines changed

2 files changed

+50
-16
lines changed

.gitignore

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
*.o
2+
*.o.d
3+
*.jar
4+
*.class
5+
*.a
6+
*.so
7+
*.log
8+
a.out
9+
di-mmap_user_daemon
10+
*.ko.cmd
11+
*.mod.o.cmd
12+
*.o.cmd
13+
*.tmp_versions
14+
Module.symvers
15+
*.ko
16+
*.mod.c
17+
modules.order
18+
rmv
19+
set
20+
test
21+
seq_threads_read
22+
rand_threads_read
23+
rand_threads_write
24+
corr
25+
small
26+
fsmall
27+
fsmall_read
28+
fsmall_write
29+
tests/print_stats
30+
tests/print_stats_csv
31+
tests/prefetch
32+
tests/dontneed
33+
tests/set_file_priority
34+
iotracer/user/iotracer
35+
logbench/append-only-log
36+
logbench/append-only-per-process-log
37+
logbench/append-only-per-thread-log
38+
logbench/append-only-log-rw
39+

README.md

Lines changed: 11 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,26 @@ This library provides an optimized memory-mapped I/O path inside the Linux kerne
44

55
## Prerequisites
66

7-
FastMap runs on a modified version of Linux 4.14. In order to build and run
8-
this version of FastMap you can clone this kernel with:
7+
FastMap runs on a modified version of Linux 4.14. To build and run this version of FastMap you can clone this kernel with:
98
```bash
109
git clone https://github.com/tpapagian/linux-4.14.72-spf.git -b fastmap
1110
```
1211

13-
The modifications are minimal as they contain only some exported symbols and
14-
the addition of 2 fields in a single struct. The specific modification can
15-
be found at this [commit](https://github.com/tpapagian/linux-4.14.72-spf/commit/fdca6433c36bad7977ca019470225c54a4ef8fb7).
12+
The modifications are minimal as they contain only some exported symbols and the addition of 2 fields in a single struct. The specific modification can be found at this [commit](https://github.com/tpapagian/linux-4.14.72-spf/commit/fdca6433c36bad7977ca019470225c54a4ef8fb7).
1613

17-
After that you should configure, build and install this kernel using
18-
specific instruction based on your setup.
14+
After that, you should configure, build, and install this kernel using specific instructions based on your setup.
1915

2016
## Building FastMap
2117

22-
In order to build FastMap simply run ```make``` on the top level directory. This will build the driver (located in driver directory) and
23-
the associated user space tools (located in ioctl directory). After that it will also install FastMap module and run ```depmod```.
18+
In order to build FastMap simply run ```make``` on the top-level directory. This will build the driver (located in the driver directory) and the associated userspace tools (located in the ioctl directory). After that, it will also install the FastMap module and run ```depmod```.
2419

2520
## Running FastMap
2621

27-
The only required parameter is the number of 4KB DRAM pages that it will use as cache. You can define this in the ```driver/main.c``` file in the
28-
```perma_mmap_buf_size``` variable. Alternatively you can use this as a command line argument (i.e. ```modprobe dmap perma_mmap_buf_size=1024``` and in this case it will allocate 1024 4KB pages tottalling in 4GB of DRAM cache).
22+
The only required parameter is the number of 4KB DRAM pages that it will use as a cache. You can define this in the ```driver/main.c``` file in the
23+
```perma_mmap_buf_size``` variable. Alternatively, you can use this as a command-line argument (i.e. ```modprobe dmap perma_mmap_buf_size=1024``` and in this case it will allocate 1024 4KB pages totaling 4GB of DRAM cache).
2924

30-
In ```scripts``` directory you can find several scripts (with the appropriate comments) on how to laod and unload FastMap. These include:
31-
| Script | Description |
25+
In ```scripts``` directory you can find several scripts (with the appropriate comments) on how to load and unload FastMap. These include:
26+
| Script | Description |
3227
|-----------------------------|----------------------------------------|
3328
| scripts/load-it-blkdev.sh | Load FastMap for a block device. |
3429
| scripts/unload-it-blkdev.sh | Unload FastMap for a block device. |
@@ -38,9 +33,9 @@ In ```scripts``` directory you can find several scripts (with the appropriate co
3833
## Design and Evaluation
3934

4035
The following paper presents the design and experimental analysis of FastMap.
41-
```
42-
Anastasios Papagiannis, Giorgos Xanthakis, Giorgos Saloustros, Manolis Marazakis, and Angelos Bilas. Optimizing Memory-mapped I/O for Fast Storage Devices. In proceedings of the 2020 USENIX Annual Technical Conference (USENIX ATC 20). July 2020.
43-
```
36+
37+
*Anastasios Papagiannis, Giorgos Xanthakis, Giorgos Saloustros, Manolis Marazakis, and Angelos Bilas. Optimizing Memory-mapped I/O for Fast Storage Devices. In proceedings of the 2020 USENIX Annual Technical Conference (USENIX ATC 20). July 2020.*
38+
4439
The pdf, slides, and presentation can be found [here](https://www.usenix.org/conference/atc20/presentation/papagiannis).
4540

4641
Please cite this publication if you use/modify/evaluate FastMap.

0 commit comments

Comments
 (0)