kdump/kdump-calibrate-update-user-space-requirements.patch
Petr Tesařík 9abc6ad8ec Accepting request 574523 from home:ptesarik:branches:Kernel:kdump
- kdump-calibrate-adjust-sizeof-struct-page.patch: calibrate:
  Adjust sizeof(struct page).
- kdump-calibrate-update-kernel-text-data-size.patch: calibrate:
  Update kernel text+data size.
- kdump-calibrate-update-user-space-requirements.patch: calibrate:
  Update user-space requirements.

OBS-URL: https://build.opensuse.org/request/show/574523
OBS-URL: https://build.opensuse.org/package/show/Kernel:kdump/kdump?expand=0&rev=147
2018-02-09 08:27:53 +00:00

45 lines
1.2 KiB
Diff

From: Petr Tesarik <ptesarik@suse.com>
Date: Thu, 8 Feb 2018 18:59:55 +0100
Subject: calibrate: Update user-space requirements
Upstream: merged
Git-commit: 9703485b83c13c3382ede24d92bef47ae3efe7af
Userspace memory consumption has also increased.
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
---
kdumptool/calibrate.cc | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
--- a/kdumptool/calibrate.cc
+++ b/kdumptool/calibrate.cc
@@ -213,20 +213,20 @@ static inline unsigned long s390x_align_
#define DIRTY_RATIO 20
// Userspace base requirements:
-// systemd (PID 1) 3 M
-// haveged 4 M
-// journald 2 M
+// systemd (PID 1) 8 M
+// haveged 6 M
+// journald 5 M
// the journal itself 4 M
-// 10 * udevd 12 M
+// 10 * udevd 28 M
// kdumptool 4 M
// makedumpfile 1 M
// -------------------------
-// TOTAL: 30 M
-#define USER_BASE_KB MB(30)
+// TOTAL: 56 M
+#define USER_BASE_KB MB(56)
// Additional requirements when network is configured
-// dhclient 7 M
-#define USER_NET_KB MB(7)
+// dhclient 10 M
+#define USER_NET_KB MB(10)
// Maximum size of the page bitmap
// 32 MiB is 32*1024*1024*8 = 268435456 bits