Deon Nicholas 4985a9f73b [Rocksdb] [Multiget] Introduced multiget into db_bench
Summary:
Preliminary! Introduced the --use_multiget=1 and --keys_per_multiget=n
flags for db_bench. Also updated and tested the ReadRandom() method
to include an option to use multiget. By default,
keys_per_multiget=100.

Preliminary tests imply that multiget is at least 1.25x faster per
key than regular get.

Will continue adding Multiget for ReadMissing, ReadHot,
RandomWithVerify, ReadRandomWriteRandom; soon. Will also think
about ways to better verify benchmarks.

Test Plan:
1. make db_bench
2. ./db_bench --benchmarks=fillrandom
3. ./db_bench --benchmarks=readrandom --use_existing_db=1
	      --use_multiget=1 --threads=4 --keys_per_multiget=100
4. ./db_bench --benchmarks=readrandom --use_existing_db=1
	      --threads=4
5. Verify ops/sec (and 1000000 of 1000000 keys found)

Reviewers: haobo, MarkCallaghan, dhruba

Reviewed By: MarkCallaghan

CC: leveldb

Differential Revision: https://reviews.facebook.net/D11127
2013-06-12 12:42:21 -07:00
..
2013-03-14 16:00:23 -07:00
2013-06-12 11:17:19 -07:00
2013-06-12 11:17:19 -07:00
2013-06-12 11:17:19 -07:00
2013-05-23 11:49:38 -07:00
2012-09-16 19:33:43 -07:00
2013-06-12 11:17:19 -07:00
2012-12-17 11:26:59 -08:00
2012-12-17 11:26:59 -08:00
2013-02-28 18:04:58 -08:00
2013-06-12 11:17:19 -07:00
2013-02-28 18:04:58 -08:00
2013-02-28 18:04:58 -08:00
2013-06-12 11:17:19 -07:00
2013-06-12 11:17:19 -07:00
2013-02-28 18:04:58 -08:00
2013-02-28 18:04:58 -08:00
2013-06-12 11:17:19 -07:00
2013-06-12 11:17:19 -07:00