Skip to content

Commit

Permalink
Organized the lsm-sim directory a bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrichardrushton committed Feb 22, 2018
1 parent b6e6ede commit 943b338
Show file tree
Hide file tree
Showing 108 changed files with 43 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ slab-based allocators with proposed log-structured allocators such as LSC.

-M force memcachier slab class configuration

-Y number of cache partitions

### Output

## Trace Format Protocol
Expand Down Expand Up @@ -138,4 +140,8 @@ Application in Trace Application in Cliffhanger Paper
13 19
31 20
```
# Experiments

If you used LSM-SIM to conduct experiments and must store your
scripts/experiments in the LSM-SIM repo, please create a folder for
them within the lsm-sim/experiments folder.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 19 additions & 0 deletions experiments/partitioning/experiments/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
### Vanilla LRU comparison with partitioned\_LRU
Comparison between typical LRU policy and LRU partitions.

# LSM-SIM Commit
b6e6ede222b1a7695149469059222ad041384980

# Parameters
app : 19
trace : ~/traces/app19
partitions : {1, 8, 16, 1024, 16384, 1048577} for partitioned\_LRU

# Description

This experiment will run a single iteration of the app19 trace on traditional
LRU, and 5 traces of increasing partitioning i.e. 1, 4, 16, 16384, 1048577}.
The traditional LRU run is purely a control case to verify that traditional\_LRU
is correct and displays the same numbers as partitioned\_LRU when run with a
single partition.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

partitions="1 8 16 1024 16384 1048577"

for partition in $partitions; do
~/projects/lsm-sim/lsm-sim -a 19 \
-p partitioned_LRU \
-Y $partition \
-v \
-f ~/traces/app19 > partitioned_LRU_19_${partition}.data 2>&1 &
done

~/projects/lsm-sim/lsm-sim -a 19 \
-p lru \
-v \
-f ~/traces/app19 > LRU_19.data 2>&1 &

wait
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 943b338

Please sign in to comment.