summaryrefslogtreecommitdiff
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
parentdcc219a2734a3ef7f203fb8e94014bcbc2e017aa (diff)
journal: decrease default mmap window size to allow a bigger number of journals to be traversed in parallel
-rw-r--r--TODO4
-rw-r--r--src/journal/journal-file.c2
2 files changed, 5 insertions, 1 deletions
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)