Unnamed repository
e074e3952b
tune sysconfig to save 2nd kernel memory usage The memory in 2nd kernel is limited, we need to use as less memory as we can to ensure vmcore capturing ok. I'm doing below improvements in this patch: 1) numa support is not necessary for kdump kernel, so disable it by adding numa=off to save some kernel mm memory usage. 2) Also add udev.children-max=2 to cmdline to limit max udev chidren processes. 3) For ppc64, ehea driver will by default enable multi queue feature which will use a lot of memory. Almost each ppc machine will oom for network(ssh/nfs) kdump. The module param use_mcs=0 is used to disable multi queue feature. Tested these params on an IBM machine with 2 numa nodes which ooms even for local dump to rootfs. With this patch oom does not happen for local/ssh dump, but for nfs dump oom still happens in the middle of makedumpfile vmcore copying. So there should be other improvement yet. For ehea driver there's other params we can use, but because it's hard to measure the saved memory, I'm waiting for input from IBM people. We can add them later. Signed-off-by: Dave Young <dyoung@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com> |
||
---|---|---|
po | ||
.gitignore | ||
98-kexec.rules | ||
dracut-kdump.sh | ||
dracut-module-setup.sh | ||
dracut-monitor_dd_progress | ||
firstboot_kdump.py | ||
kdump.conf | ||
kdump.conf.5 | ||
kdump.init | ||
kdump.service | ||
kdump.sysconfig | ||
kdump.sysconfig.i386 | ||
kdump.sysconfig.ia64 | ||
kdump.sysconfig.ppc64 | ||
kdump.sysconfig.s390x | ||
kdump.sysconfig.x86_64 | ||
kdumpctl | ||
kexec-kdump-howto.txt | ||
kexec-tools-2.0.3-disable-kexec-test.patch | ||
kexec-tools-2.0.3-kdump-pass-acpi_rsdp-to-2nd-kernel-for-efi-booting.patch | ||
kexec-tools-2.0.3-Load-bzImages-smaller-than-32-KiB.patch | ||
kexec-tools-2.0.3-ppc-exec-stack-fix.patch | ||
kexec-tools-2.0.3-ppc-ppc64-compile-purgatory-code-with-gcc-option-msoft-float.patch | ||
kexec-tools-2.0.3-vmcore-dmesg-Do-not-write-beyond-end-of-buffer.patch | ||
kexec-tools-2.0.3-vmcore-dmesg-vmcore-dmesg-Make-it-work-with-new-stru.patch | ||
kexec-tools.spec | ||
mkdumprd | ||
mkdumprd.8 | ||
rhcrashkernel-param | ||
sources | ||
zanata-notes.txt |