-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mixed read/write tests to the benchmark.
As we make changes that might impact mixed read/write workloads it is useful to have some examples of these in our benchmarks. This change adds a 20/80, 50/50, and 80/20 read/write workload to the benchmarks. The results reporting is updated to support multiple job types in a single benchmark. This works by continuing to average over iterations as before, but averages each job separately then sums the averages to produce the final throughput number for that benchmark (i.e. (avg(read throughput) + avg(write throughput)) for the mixed benchmarks). Signed-off-by: Andrew Peace <adpeace@amazon.com>
- Loading branch information
Showing
4 changed files
with
96 additions
and
8 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,24 @@ | ||
[global] | ||
name=fs_bench | ||
bs=256k | ||
runtime=30s | ||
time_based | ||
group_reporting | ||
|
||
[sequential_read] | ||
size=100G | ||
rw=read | ||
ioengine=sync | ||
fallocate=none | ||
numjobs=1 | ||
|
||
[sequential_write_four_threads] | ||
new_group | ||
numjobs=4 | ||
size=100G | ||
rw=write | ||
ioengine=sync | ||
fallocate=none | ||
create_on_open=1 | ||
fsync_on_close=1 | ||
unlink=1 |
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,24 @@ | ||
[global] | ||
name=fs_bench | ||
bs=256k | ||
runtime=30s | ||
time_based | ||
group_reporting | ||
|
||
[sequential_read_two_threads] | ||
size=100G | ||
rw=read | ||
ioengine=sync | ||
fallocate=none | ||
numjobs=2 | ||
|
||
[sequential_write_two_threads] | ||
new_group | ||
numjobs=2 | ||
size=100G | ||
rw=write | ||
ioengine=sync | ||
fallocate=none | ||
create_on_open=1 | ||
fsync_on_close=1 | ||
unlink=1 |
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,24 @@ | ||
[global] | ||
name=fs_bench | ||
bs=256k | ||
runtime=30s | ||
time_based | ||
group_reporting | ||
|
||
[sequential_read_four_threads] | ||
size=100G | ||
rw=read | ||
ioengine=sync | ||
fallocate=none | ||
numjobs=4 | ||
|
||
[sequential_write] | ||
new_group | ||
numjobs=1 | ||
size=100G | ||
rw=write | ||
ioengine=sync | ||
fallocate=none | ||
create_on_open=1 | ||
fsync_on_close=1 | ||
unlink=1 |
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