update leveled read me

This commit is contained in:
siddontang 2014-05-15 09:23:30 +08:00
parent 781122ece4
commit 23bd4b0ba7
1 changed files with 2 additions and 20 deletions

View File

@ -14,24 +14,6 @@ dev.sh may help you:
. ./dev.sh
# Performance
for better performance, I change some leveldb configurations to build:
+ db/dbformat.h
// static const int kL0_SlowdownWritesTrigger = 8;
static const int kL0_SlowdownWritesTrigger = 16;
// static const int kL0_StopWritesTrigger = 12;
static const int kL0_StopWritesTrigger = 64;
+ db/version_set.cc
//static const int kTargetFileSize = 2 * 1048576;
static const int kTargetFileSize = 32 * 1048576;
//static const int64_t kMaxGrandParentOverlapBytes = 10 * kTargetFileSize;
static const int64_t kMaxGrandParentOverlapBytes = 20 * kTargetFileSize;
# Notice
I have changed this package to [https://github.com/siddontang/go-leveldb](https://github.com/siddontang/go-leveldb) and will not maintain here anymore.