Andrew Kryczka
bb01c1880c
Introduce max_background_jobs mutable option
...
Summary:
- `max_background_flushes` and `max_background_compactions` are still supported for backwards compatibility
- `base_background_compactions` is completely deprecated. Now we just throttle to one background compaction when there's no pressure.
- `max_background_jobs` is added to automatically partition the concurrent background jobs into flushes vs compactions. Currently it's very simple as we just allocate one-fourth of the jobs to flushes, and the remaining can be used for compactions.
- The test cases that set `base_background_compactions > 1` needed to be updated. I just grab the pressure token such that the desired number of compactions can be scheduled.
Closes https://github.com/facebook/rocksdb/pull/2205
Differential Revision: D4937461
Pulled By: ajkr
fbshipit-source-id: df52cbbd497e13bbc9a60560a5ac2a2526b3f1f9
2017-05-24 11:29:08 -07:00
..
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-16 22:59:43 -07:00
2017-05-16 22:59:43 -07:00
2017-05-24 11:29:08 -07:00
2017-05-17 11:42:42 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-17 11:42:42 -07:00
2017-05-17 11:42:42 -07:00
2017-05-17 11:42:42 -07:00
2017-05-23 11:12:27 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-17 11:42:42 -07:00
2017-05-17 11:42:42 -07:00
2017-04-27 18:06:12 -07:00
2017-05-17 11:42:42 -07:00
2017-04-27 18:06:12 -07:00
2017-05-04 17:43:22 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-09 09:52:02 -07:00
2017-04-27 18:06:12 -07:00
2017-05-24 11:29:08 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-23 11:12:27 -07:00
2017-05-24 11:29:08 -07:00
2017-05-24 11:29:08 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-24 11:29:08 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-19 14:26:42 -07:00
2017-05-19 14:26:42 -07:00
2017-05-24 11:29:08 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-23 15:11:42 -07:00
2017-04-27 18:06:12 -07:00
2017-05-22 18:41:28 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-24 11:29:08 -07:00
2017-05-23 11:12:27 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-24 11:29:08 -07:00
2017-05-24 11:29:08 -07:00
2017-05-22 18:41:28 -07:00
2017-05-23 11:12:27 -07:00
2017-05-17 23:12:36 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-05 23:20:01 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-17 11:42:42 -07:00
2017-05-17 11:42:42 -07:00
2017-05-17 11:42:42 -07:00
2017-05-19 10:56:28 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-19 14:26:42 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-05 23:20:01 -07:00
2017-04-27 18:06:12 -07:00
2017-05-23 17:14:04 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-22 18:41:28 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-05 23:20:01 -07:00
2017-05-04 10:42:45 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-22 18:41:28 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-04 18:16:12 -07:00
2017-05-22 18:41:28 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-22 18:41:28 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-19 14:26:42 -07:00
2017-05-03 10:57:45 -07:00
2017-05-19 14:26:42 -07:00
2017-05-22 10:27:23 -07:00
2016-02-09 15:12:00 -08:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-04-27 18:06:12 -07:00
2017-05-19 14:26:42 -07:00
2017-05-19 14:26:42 -07:00