diff options
author | Igor Canadi <icanadi@fb.com> | 2015-06-12 14:31:53 -0700 |
---|---|---|
committer | Igor Canadi <icanadi@fb.com> | 2015-06-12 14:31:53 -0700 |
commit | d59d90bb1f86934f0effc0b92c3d062eb41cdcb6 (patch) | |
tree | 547ee6379701c8ddd37e4da3ff48a18e0a636ae7 /HISTORY.md | |
parent | 46296cc869af0d5a6cb171e2278890fe6b648f25 (diff) |
db_bench periodically writes QPS to CSV file
Summary:
This is part of an effort to better understand and optimize RocksDB stalls under high load. I added a feature to db_bench to periodically write QPS to CSV files. That way we can nicely see how our QPS changes in time (especially when DB is stalled) and can do a better job of evaluating our stall system (i.e. we want the QPS to be as constant as possible, as opposed to having bunch of stalls)
Cool part of CSV files is that we can easily graph them -- there are a bunch of tools available.
Test Plan:
Ran ./db_bench --report_interval_seconds=10 --benchmarks=fillrandom --num=10000000
and observed this in report.csv:
secs_elapsed,interval_qps
10,2725860
20,1980480
30,1863456
40,1454359
50,1460389
Reviewers: sdong, MarkCallaghan, rven, yhchiang
Reviewed By: yhchiang
Subscribers: dhruba, leveldb
Differential Revision: https://reviews.facebook.net/D40047
Diffstat (limited to 'HISTORY.md')
-rw-r--r-- | HISTORY.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/HISTORY.md b/HISTORY.md index 7f8efa535..0a0b60891 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,6 +2,7 @@ ### New Features * Added experimental support for optimistic transactions. See include/rocksdb/utilities/optimistic_transaction.h for more info. +* Added a new way to report QPS from db_bench (check out --report_file and --report_interval_seconds) ### Public API changes * EventListener::OnFlushCompleted() now passes FlushJobInfo instead of a list of parameters. |