summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-02 19:04:56 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-02 19:29:47 +0200
commit1fa80181aecd4b9db513f16c136157a4546686d3 (patch)
treecb0f882738b84266c2a00e06c27547646cd128fb /src
parentdcc219a2734a3ef7f203fb8e94014bcbc2e017aa (diff)
journal: decrease default mmap window size to allow a bigger number of journals to be traversed in parallel
Diffstat (limited to 'src')
-rw-r--r--src/journal/journal-file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index c7ebcdb25c..be92c90447 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -35,7 +35,7 @@
#define DEFAULT_DATA_HASH_TABLE_SIZE (2047ULL*16ULL)
#define DEFAULT_FIELD_HASH_TABLE_SIZE (2047ULL*16ULL)
-#define DEFAULT_WINDOW_SIZE (128ULL*1024ULL*1024ULL)
+#define DEFAULT_WINDOW_SIZE (8ULL*1024ULL*1024ULL)
#define COMPRESSION_SIZE_THRESHOLD (512ULL)