Revision 48e7effa79d1ab165e83b2f96455f77ffd79cca3 authored by Siying Dong on 26 March 2019, 02:14:04 UTC, committed by Facebook Github Bot on 26 March 2019, 02:18:04 UTC
Summary: With https://github.com/facebook/rocksdb/pull/3009 we go through every CF to check whether a bottommost compaction is needed to be triggered. This is done within DB mutex. What we do within DB mutex may heavily influece the write throughput we can achieve, so we always want to minimize work there. Here we try to avoid this for-loop by first check a global threshold. In most of the time, the CF loop can be avoided. Pull Request resolved: https://github.com/facebook/rocksdb/pull/5090 Differential Revision: D14582684 Pulled By: siying fbshipit-source-id: 968f6d9bb6affe1a5ebc4910b418300b076f166f
1 parent 52e6404
File | Mode | Size |
---|---|---|
env_default.cc | -rw-r--r-- | 1.2 KB |
env_win.cc | -rw-r--r-- | 42.0 KB |
env_win.h | -rw-r--r-- | 10.1 KB |
io_win.cc | -rw-r--r-- | 30.6 KB |
io_win.h | -rw-r--r-- | 14.1 KB |
port_win.cc | -rw-r--r-- | 6.5 KB |
port_win.h | -rw-r--r-- | 9.2 KB |
win_jemalloc.cc | -rw-r--r-- | 2.0 KB |
win_logger.cc | -rw-r--r-- | 5.2 KB |
win_logger.h | -rw-r--r-- | 1.6 KB |
win_thread.cc | -rw-r--r-- | 4.3 KB |
win_thread.h | -rw-r--r-- | 3.6 KB |
xpress_win.cc | -rw-r--r-- | 5.6 KB |
xpress_win.h | -rw-r--r-- | 753 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...