1diff -Naur ./db/dbformat.h ../leveldb/db/dbformat.h 2--- ./db/dbformat.h 2017-11-03 18:04:26.000000000 -0400 3+++ ../leveldb/db/dbformat.h 2017-11-23 13:11:30.167396736 -0500 4@@ -25,10 +25,10 @@ 5 static const int kL0_CompactionTrigger = 4; 6 7 // Soft limit on number of level-0 files. We slow down writes at this point. 8-static const int kL0_SlowdownWritesTrigger = 8; 9+static const int kL0_SlowdownWritesTrigger = 16; 10 11 // Maximum number of level-0 files. We stop writes at this point. 12-static const int kL0_StopWritesTrigger = 12; 13+static const int kL0_StopWritesTrigger = 64; 14 15 // Maximum level to which a new compacted memtable is pushed if it 16 // does not create overlap. We try to push to level 2 to avoid the 17diff -Naur ./db/version_set.cc ../leveldb/db/version_set.cc 18--- ./db/version_set.cc 2017-11-03 18:04:26.000000000 -0400 19+++ ../leveldb/db/version_set.cc 2017-11-23 13:12:12.700870777 -0500 20@@ -27,7 +27,7 @@ 21 // Maximum bytes of overlaps in grandparent (i.e., level+2) before we 22 // stop building a single file in a level->level+1 compaction. 23 static int64_t MaxGrandParentOverlapBytes(const Options* options) { 24- return 10 * TargetFileSize(options); 25+ return 20 * TargetFileSize(options); 26 } 27 28 // Maximum number of bytes in all compacted files. We avoid expanding