journal: increase compression threshold for objects from 64 to 512
Apparently the perfomance price for compression is to steep to apply it for all objects >= 64 and < 512 in size, as measured by Arjan Van De Ven, hence increase the threshold to 512 which yields better results.
This commit is contained in:
parent
8906b207d1
commit
be19b7df6e
|
@ -37,7 +37,7 @@
|
|||
|
||||
#define DEFAULT_WINDOW_SIZE (128ULL*1024ULL*1024ULL)
|
||||
|
||||
#define COMPRESSION_SIZE_THRESHOLD (64ULL)
|
||||
#define COMPRESSION_SIZE_THRESHOLD (512ULL)
|
||||
|
||||
/* This is the minimum journal file size */
|
||||
#define JOURNAL_FILE_SIZE_MIN (64ULL*1024ULL)
|
||||
|
|
Loading…
Reference in a new issue