Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Update
kdump.5722
kdump-calibrate-systemd-runtime.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdump-calibrate-systemd-runtime.patch of Package kdump.5722
From: Petr Tesarik <ptesarik@suse.cz> Date: Thu Sep 18 17:01:08 2014 +0200 Subject: Calibrate: update user-space run-time requirements for systemd References: bnc#883883 Patch-mainline: v0.8.16 Git-commit: 04bc6fa91a88e7ff91acb6d2924774bf28463c6b If systemd is included, journald is also started, so the estimate must add: 1. the process 2. the journal, which is stored in ramfs I would love to reduce the size of the journal, but systemd hard-codes the minimum to 4M, see src/journal/journal-file.c: /* This is the minimum journal file size */ #define JOURNAL_FILE_SIZE_MIN (4ULL*1024ULL*1024ULL) /* 4 MiB */ Strictly speaking, journald is allowed to use at least twice as much, but let's hope it doesn't in practice. Signed-off-by: Petr Tesarik <ptesarik@suse.cz> --- kdumptool/calibrate.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) --- a/kdumptool/calibrate.cc +++ b/kdumptool/calibrate.cc @@ -203,13 +203,15 @@ static inline unsigned long s390x_align_ #define DIRTY_RATIO 20 // Userspace base requirements: -// bash (PID 1) 3 M +// systemd (PID 1) 3 M +// journald 2 M +// the journal itself 4 M // 10 * udevd 12 M // kdumptool 4 M // makedumpfile 1 M // ------------------------- -// TOTAL: 20 M -#define USER_BASE_KB MB(20) +// TOTAL: 26 M +#define USER_BASE_KB MB(26) // Additional requirements when network is configured // dhclient 7 M
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor