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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user