Files
rippled/util
sdong e6de02103a Add a utility function to guess optimized options based on constraints
Summary:
Add a function GetOptions(), where based on four parameters users give: read/write amplification threshold, memory budget for mem tables and target DB size, it picks up a compaction style and parameters for them. Background threads are not touched yet.

One limit of this algorithm: since compression rate and key/value size are hard to predict, it's hard to predict level 0 file size from write buffer size. Simply make 1:1 ratio here.

Sample results: https://reviews.facebook.net/P477

Test Plan: Will add some a unit test where some sample scenarios are given and see they pick the results that make sense

Reviewers: yhchiang, dhruba, haobo, igor, ljin

Reviewed By: ljin

Subscribers: leveldb

Differential Revision: https://reviews.facebook.net/D18741
2014-07-22 15:24:21 -07:00
..
2014-05-14 12:40:49 -07:00
2014-05-08 13:50:49 -07:00
2014-05-08 13:50:49 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00
2014-05-09 08:41:02 -07:00
2014-05-02 16:24:04 -04:00
2014-05-02 16:24:04 -04:00
2014-06-20 11:14:14 +02:00
2014-04-04 14:03:19 -07:00
2014-05-21 07:54:22 -04:00
2014-07-08 12:31:49 -07:00
2014-03-03 21:11:49 -08:00
2014-01-17 12:46:06 -08:00
2014-01-17 12:46:06 -08:00
2014-03-21 15:32:48 -07:00
2014-05-14 12:13:50 -07:00
2014-05-14 12:13:50 -07:00
2014-07-15 09:16:32 -04:00
2014-04-08 10:58:07 -07:00
2014-07-10 13:19:47 -07:00
2014-07-08 11:41:57 -07:00
2014-07-08 11:41:57 -07:00
2013-12-03 12:42:15 -08:00
2014-04-09 21:17:14 -07:00
2014-04-09 21:17:14 -07:00
2014-04-17 14:29:28 -07:00
2014-04-25 09:50:51 -04:00
2014-05-01 14:09:32 -04:00
2014-05-01 14:09:32 -04:00