diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-01-31 20:35:07 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-01-31 20:38:53 +0100 |
commit | be19b7df6ebe9cc521e929c5de2fe74ef84f7f80 (patch) | |
tree | 1c376c1ba05abb4572fbceef22e8a03c7250983e /src | |
parent | 8906b207d11b4e23be9d00cba7ecc80814e66b1f (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journal-file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index 59ad84e23b..20ca3f61cb 100644 --- a/src/journal/journal-file.c +++ b/src/journal/journal-file.c @@ -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) |