Skip to content

Commit

Permalink
Adding a mostly write(0.95) workload for performance benchmarking
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 318336207
  • Loading branch information
p3rf Team authored and copybara-github committed Jun 25, 2020
1 parent ca0f6a8 commit f1a8170
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.next.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
- Integrate edw_benchmark with new Client Interface and results aggregation
framework.
- Update default stress-ng version from 5.23 to 9.25 (default on Ubuntu 1804).
- Added two new workloads(workloadw and workloadw_uniform) for testing mostly
write use cases(read/write 5/95)

### Bug fixes and maintenance updates:

Expand Down
20 changes: 20 additions & 0 deletions perfkitbenchmarker/data/ycsb/workloadw
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# PKB custom mostly write workload
#
# Read/update ratio: 5/95
# Default data size: 1 KB records (10 fields, 100 bytes each, plus key),
# total payloads are 1GB (1kb * 1000000) in size.
# Request distribution: zipfian

workload=site.ycsb.workloads.CoreWorkload

readallfields=true
operationcount=1000000
recordcount = 1000000

readproportion=0.05
updateproportion=0.95
scanproportion=0
insertproportion=0

requestdistribution=zipfian

20 changes: 20 additions & 0 deletions perfkitbenchmarker/data/ycsb/workloadw_uniform
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# PKB custom mostly write workload
#
# Read/update ratio: 5/95
# Default data size: 1 KB records (10 fields, 100 bytes each, plus key),
# total payloads are 1GB (1kb * 1000000) in size.
# Request distribution: uniform

workload=site.ycsb.workloads.CoreWorkload

readallfields=true
operationcount=1000000
recordcount = 1000000

readproportion=0.05
updateproportion=0.95
scanproportion=0
insertproportion=0

requestdistribution=uniform

0 comments on commit f1a8170

Please sign in to comment.