Lingjing You
1a928c22a0
Add insert hints for each writebatch (#5728)
Summary:
Add insert hints for each writebatch so that they can be used in concurrent write, and add write option to enable it.
Bench result (qps):
`./db_bench --benchmarks=fillseq -allow_concurrent_memtable_write=true -num=4000000 -batch-size=1 -threads=1 -db=/data3/ylj/tmp -write_buffer_size=536870912 -num_column_families=4`
master:
| batch size \ thread num | 1 | 2 | 4 | 8 |
| ----------------------- | ------- | ------- | ------- | ------- |
| 1 | 387883 | 220790 | 308294 | 490998 |
| 10 | 1397208 | 978911 | 1275684 | 1733395 |
| 100 | 2045414 | 1589927 | 1798782 | 2681039 |
| 1000 | 2228038 | 1698252 | 1839877 | 2863490 |
fillseq with writebatch hint:
| batch size \ thread num | 1 | 2 | 4 | 8 |
| ----------------------- | ------- | ------- | ------- | ------- |
| 1 | 286005 | 223570 | 300024 | 466981 |
| 10 | 970374 | 813308 | 1399299 | 1753588 |
| 100 | 1962768 | 1983023 | 2676577 | 3086426 |
| 1000 | 2195853 | 2676782 | 3231048 | 3638143 |
Pull Request resolved: https://github.com/facebook/rocksdb/pull/5728
Differential Revision: D17297240
fbshipit-source-id: b053590a6d77871f1ef2f911a7bd013b3899b26c
2019-09-12 17:15:18 -07:00
..
2018-08-02 15:42:42 -07:00
2019-09-11 18:36:41 -07:00
2019-06-06 13:56:07 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2018-04-12 17:59:16 -07:00
2019-06-28 17:41:58 -07:00
2016-09-28 11:53:15 -07:00
2019-08-23 13:55:34 -07:00
2019-09-12 17:15:18 -07:00
2019-06-06 13:56:07 -07:00
2019-09-12 12:11:34 -07:00
2019-05-30 17:44:09 -07:00
2017-07-15 16:11:23 -07:00
2019-09-11 14:13:38 -07:00
2017-08-03 15:56:46 -07:00
2015-05-22 16:03:39 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-08-15 17:01:03 -07:00
2019-08-15 17:01:03 -07:00
2019-08-15 17:01:03 -07:00
2019-07-09 10:51:37 -07:00
2019-08-15 17:01:03 -07:00
2018-04-12 17:59:16 -07:00
2017-08-03 15:56:46 -07:00
2019-05-31 11:57:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2015-06-19 16:24:36 -07:00
2019-05-30 17:44:09 -07:00
2019-01-03 11:23:49 -08:00
2019-08-16 16:42:56 -07:00
2018-04-12 17:59:16 -07:00
2019-06-03 13:25:26 -07:00
2019-06-18 16:42:26 -07:00
2019-06-03 13:25:26 -07:00
2018-08-13 11:44:02 -07:00
2019-04-18 10:55:01 -07:00
2019-04-18 10:55:01 -07:00
2019-07-09 10:51:37 -07:00
2019-06-06 13:56:07 -07:00