• I
    db_bench periodically writes QPS to CSV file · d59d90bb
    Igor Canadi 提交于
    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
    d59d90bb
可在Tags中查看这些版本中当前仓库的状态.
HISTORY.md 20.6 KB