Unnamed repository
0aada50b66
Transparent hugepages are on by default. Disable it in kdump kernel by adding the parameter 'transparent_hugepage=never'. This might help us with some of the memory issues we are facing. From my test on two arch, not only there are no any bad effect on saving vmcore after turn off THP, but also we can get more 'MemAvailable:' in the kdump kernel. 1)x86_64 without the parameter ===================== kdump:/# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.10.0-229.el7.x86_64 root=/dev/mapper/rhel_ibm--x3250m4--01-root ro rd.lvm.lv=rhel_ibm-x3250m4-01/swap console=ttyS0,115200n8 rd.lvm.lv=rhel_ibm-x3250m4-01/root LANG=en_US.UTF-8 irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail acpi_no_memhotplug disable_cpu_apicid=0 elfcorehdr=869764K kdump:/# cat /proc/meminfo MemTotal: 145492 kB MemFree: 68284 kB MemAvailable: 111632 kB <<------ Buffers: 36 kB Cached: 48184 kB ... added the parameter ===================== kdump:/# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.10.0-229.el7.x86_64 root=/dev/mapper/rhel_ibm--x3250m4--01-root ro rd.lvm.lv=rhel_ibm-x3250m4-01/swap console=ttyS0,115200n8 rd.lvm.lv=rhel_ibm-x3250m4-01/root LANG=en_US.UTF-8 irqpoll nr_cpus=1 reset_devices cgroup_disable=memory mce=off numa=off udev.children-max=2 panic=10 rootflags=nofail acpi_no_memhotplug transparent_hugepage=never disable_cpu_apicid=0 elfcorehdr=869764K kdump:/# cat /proc/meminfo MemTotal: 145492 kB MemFree: 68388 kB MemAvailable: 111728 kB <<------- ... VmallocChunk: 34359659520 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB ... 2)ppc64 without the parameter ==================== kdump:/# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.10.0-229.el7.ppc64 root=/dev/mapper/rhel_ibm--p8--05--lp6-root ro rd.lvm.lv=rhel_ibm-p8-05-lp6/root rd.lvm.lv=rhel_ibm-p8-05-lp6/swap LANG=en_US.UTF-8 irqpoll maxcpus=1 noirqdistrib reset_devices cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10 rootflags=nofail kvm_cma_resv_ratio=0 elfcorehdr=154880K kdump:/# cat /proc/meminfo MemTotal: 480832 kB MemFree: 293952 kB MemAvailable: 427840 kB <<-------- mallocUsed: 23680 kB VmallocChunk: 8589901824 kB HardwareCorrupted: 0 kB AnonHugePages: 0 kB ... added the parameter =================== kdump:/# cat /proc/cmdline BOOT_IMAGE=/vmlinuz-3.10.0-229.el7.ppc64 root=/dev/mapper/rhel_ibm--p8--05--lp6-root ro rd.lvm.lv=rhel_ibm-p8-05-lp6/root rd.lvm.lv=rhel_ibm-p8-05-lp6/swap LANG=en_US.UTF-8 irqpoll maxcpus=1 noirqdistrib reset_devices cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10 rootflags=nofail kvm_cma_resv_ratio=0 transparent_hugepage=never elfcorehdr=154880K kdump:/# cat /proc/meminfo MemTotal: 480832 kB MemFree: 294592 kB MemAvailable: 428480 kB <<------- ... HugePages_Total: 0 Signed-off-by: Li Wang <liwang@redhat.com> Acked-by: Minfei Huang <mhuang@redhat.com> Acked-by: Baoquan He <bhe@redaht.com> |
||
---|---|---|
anaconda-addon | ||
.gitignore | ||
98-kexec.rules | ||
dracut-kdump-capture.service | ||
dracut-kdump-emergency.service | ||
dracut-kdump-error-handler.service | ||
dracut-kdump-error-handler.sh | ||
dracut-kdump.sh | ||
dracut-module-setup.sh | ||
dracut-monitor_dd_progress | ||
fadump-howto.txt | ||
kdump-dep-generator.sh | ||
kdump-in-cluster-environment.txt | ||
kdump-lib-initramfs.sh | ||
kdump-lib.sh | ||
kdump.conf | ||
kdump.conf.5 | ||
kdump.service | ||
kdump.sysconfig | ||
kdump.sysconfig.i386 | ||
kdump.sysconfig.ppc64 | ||
kdump.sysconfig.ppc64le | ||
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.7-kexec-ppc64-disabling-exception-handling-when-buildi.patch | ||
kexec-tools-2.0.7-kexec-ppc64-move-to-device-tree-version-17.patch | ||
kexec-tools-2.0.7-ppc64-kdump-Fix-ELF-header-endianess.patch | ||
kexec-tools-2.0.7-Provide-an-option-to-use-new-kexec-system-call.patch | ||
kexec-tools.spec | ||
mkdumprd | ||
mkdumprd.8 | ||
README | ||
rhcrashkernel-param | ||
sources | ||
zanata-notes.txt |
Adding a patch to kexec-tools ============================= There is a mailing list kexec@lists.fedoraproject.org where all the dicussion related to fedora kexec-tools happen. All the patches are posted there for inclusion and committed to kexec-tools after review. So if you want your patches to be included in fedora kexec-tools package, post these to kexec@lists.fedoraproject.org. One can subscribe to list and browse through archives here. https://admin.fedoraproject.org/mailman/listinfo/kexec