From 1fa80181aecd4b9db513f16c136157a4546686d3 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 2 Apr 2012 19:04:56 +0200 Subject: [PATCH] journal: decrease default mmap window size to allow a bigger number of journals to be traversed in parallel --- TODO | 4 ++++ src/journal/journal-file.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index d494c86abb..d8fffc369b 100644 --- a/TODO +++ b/TODO @@ -19,6 +19,10 @@ Bugfixes: Features: * cleanup syslog 'priority' vs. 'level' wording +* add flag file for shutdownd so that clients can check whether a shutdown is queued + +* new env var for /var/tmp? glib? + * dbus upstream still refers to dbus.target and shouldn't * Make -f in systemctl enable both --follow and --force 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)