]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
Add --wal_bytes_per_sync for db_bench and more IO stats
authorMark Callaghan <mdcallag@gmail.com>
Tue, 19 May 2015 23:19:30 +0000 (16:19 -0700)
committerMark Callaghan <mdcallag@gmail.com>
Tue, 19 May 2015 23:19:30 +0000 (16:19 -0700)
commit944043d683a5b5e2dada8a79848dabd672fc87c0
tree837f3d136d926f65ade86321083b51da0aeb72ce
parentd5de04d20e960f1a6e1eeedab8d7b1dbd6886f5b
Add --wal_bytes_per_sync for db_bench and more IO stats

Summary:
See https://gist.github.com/mdcallag/89ebb2b8cbd331854865 for the IO stats.
I added "Cumulative compaction:" and "Interval compaction:" lines. The IO rates
can be confusing. Rates fro per-level stats lines, Wr(MB/s) & Rd(MB/s), are computed
using the duration of the compaction job. If the job reads 10MB, writes 9MB and the job
(IO & merging) takes 1 second then the rates are 10MB/s for read and 9MB/s for writes.
The IO rates in the Cumulative compaction line uses the total uptime. The IO rates in the
Interval compaction line uses the interval uptime. So these Cumalative & Interval
compaction IO rates cannot be compared to the per-level IO rates. But both forms of
the rates are useful for debugging perf.

Task ID: #

Blame Rev:

Test Plan:
run db_bench

Revert Plan:

Database Impact:

Memcache Impact:

Other Notes:

EImportant:

- begin *PUBLIC* platform impact section -
Bugzilla: #
- end platform impact -

Reviewers: igor

Reviewed By: igor

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D38667
db/db_bench.cc
db/internal_stats.cc
db/internal_stats.h