Lei Jin fbd2dafc9f CompactedDBImpl::MultiGet() for better CuckooTable performance
Summary:
Add the MultiGet API to allow prefetching.
With file size of 1.5G, I configured it to have 0.9 hash ratio that can
fill With 115M keys and result in 2 hash functions, the lookup QPS is
~4.9M/s  vs. 3M/s for Get().
It is tricky to set the parameters right. Since files size is determined
by power-of-two factor, that means # of keys is fixed in each file. With
big file size (thus smaller # of files), we will have more chance to
waste lot of space in the last file - lower space utilization as a
result. Using smaller file size can improve the situation, but that
harms lookup speed.

Test Plan: db_bench

Reviewers: yhchiang, sdong, igor

Reviewed By: sdong

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D23673
2014-09-25 13:34:51 -07:00
..
2014-09-04 16:18:36 -07:00
2014-09-04 16:18:36 -07:00
2014-09-24 13:12:16 -07:00
2014-09-24 13:12:16 -07:00
2014-08-11 13:22:47 -04:00
2014-09-18 13:32:44 -07:00
2014-09-12 16:23:58 -07:00
2014-09-25 11:14:01 -07:00
2014-09-25 11:14:01 -07:00
2014-09-25 11:08:16 -07:00
2014-09-25 11:14:01 -07:00
2014-08-28 17:06:29 -07:00
2014-09-04 23:06:23 +08:00
2014-09-18 13:32:44 -07:00
2014-09-05 14:14:37 +08:00
2014-09-05 14:14:37 +08:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2014-03-14 13:02:20 -07:00
2014-01-30 22:10:10 -08:00
2014-09-04 23:06:23 +08:00
2014-09-04 16:18:36 -07:00
2014-09-04 16:18:36 -07:00
2014-04-15 13:39:26 -07:00
2014-09-25 11:14:01 -07:00
2014-09-25 11:14:01 -07:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00
2014-09-12 16:23:58 -07:00