forked from efficient/memc3
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add scripts to generate ycsb traces for benchmarking
- Loading branch information
Showing
11 changed files
with
109 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
# Please change this according to your ycsb installation | ||
# so that, ${YCSB_HOME}/bin/ycsb is the binary | ||
YCSB_HOME=/path/to/ycsb/ | ||
|
||
for setting in `ls ycsb_workload_settings` | ||
do | ||
echo using predefined workloadb to create transaction records for $setting with 5% updates | ||
echo generateing $setting.load, the insertions used before benchmark | ||
${YCSB_HOME}/bin/ycsb load basic -P ${YCSB_HOME}/workloads/workloadb -P ./workloads/$setting.dat > $setting.load | ||
echo generateing $setting.run, the lookup queries used before benchmark | ||
${YCSB_HOME}/bin/ycsb run basic -P ${YCSB_HOME}/workloads/workloadb -P ./workloads/$setting.dat > $setting.run | ||
|
||
echo using predefined workloadc to create transaction records for $setting with reads only | ||
echo generateing $setting.load, the insertions used before benchmark | ||
${YCSB_HOME}/bin/ycsb load basic -P ${YCSB_HOME}/workloads/workloadc -P ./workloads/$setting.dat > $setting.load | ||
echo generateing $setting.run, the lookup queries used before benchmark | ||
${YCSB_HOME}/bin/ycsb run basic -P ${YCSB_HOME}/workloads/workloadc -P ./workloads/$setting.dat > $setting.run | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 100M here | ||
recordcount=100000000 | ||
# number of queries, 100M | ||
operationcount=100000000 | ||
# distribution | ||
requestdistribution=latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 100M here | ||
recordcount=100000000 | ||
# number of queries, 100M | ||
operationcount=100000000 | ||
# distribution | ||
requestdistribution=uniform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 100M here | ||
recordcount=100000000 | ||
# number of queries, 100M | ||
operationcount=100000000 | ||
# distribution | ||
requestdistribution=zipfian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 10M here | ||
recordcount=10000000 | ||
# number of queries, 10M | ||
operationcount=10000000 | ||
# distribution | ||
requestdistribution=latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 10M here | ||
recordcount=10000000 | ||
# number of queries, 10M | ||
operationcount=10000000 | ||
# distribution | ||
requestdistribution=uniform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 10M here | ||
recordcount=10000000 | ||
# number of queries, 10M | ||
operationcount=10000000 | ||
# distribution | ||
requestdistribution=zipfian |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 1M here | ||
recordcount=1000000 | ||
# number of queries, 1M | ||
operationcount=1000000 | ||
# distribution | ||
requestdistribution=latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 1M here | ||
recordcount=1000000 | ||
# number of queries, 1M | ||
operationcount=1000000 | ||
# distribution | ||
requestdistribution=uniform |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# this is for kv, so 1 field only | ||
fieldcount=1 | ||
# value length, let's do with 32byte values | ||
fieldlength=32 | ||
# number of unique keys, 1M here | ||
recordcount=1000000 | ||
# number of queries, 1M | ||
operationcount=1000000 | ||
# distribution | ||
requestdistribution=zipfian |
This file was deleted.
Oops, something went wrong.