Skip to content

Commit 3afc6eb

Browse files
committed
powerpc: Set nr_cpus=16 for kdump kernel
Configure the kdump kernel with nr_cpus=16 to enable multi-threading in the makedumpfile core collector, allowing faster dump collection. Commit d428557 ("Use all available CPUs to collect dump") introduced multi-threading support in the core collector. There are two reasons for choosing nr_cpus=16: - Multiple experiments show that optimal performance is achieved when nr_cpus is between 16 and 30. The graph in commit d428557 supports this. - nr_cpus=16 is already used for the fadump kernel, so using the same value for kdump to maintain consistency. Signed-off-by: Sourabh Jain <[email protected]>
1 parent d96a9a3 commit 3afc6eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gen-kdump-sysconfig.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ ppc64le)
100100
update_param KDUMP_COMMANDLINE_REMOVE \
101101
"hugepages hugepagesz slub_debug quiet log_buf_len swiotlb hugetlb_cma ignition.firstboot"
102102
update_param KDUMP_COMMANDLINE_APPEND \
103-
"irqpoll nr_cpus=1 noirqdistrib reset_devices cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10 kvm_cma_resv_ratio=0 transparent_hugepage=never novmcoredd hugetlb_cma=0 kfence.sample_interval=0"
103+
"irqpoll nr_cpus=16 noirqdistrib reset_devices cgroup_disable=memory numa=off udev.children-max=2 ehea.use_mcs=0 panic=10 kvm_cma_resv_ratio=0 transparent_hugepage=never novmcoredd hugetlb_cma=0 kfence.sample_interval=0"
104104
update_param FADUMP_COMMANDLINE_APPEND \
105105
"nr_cpus=16 numa=off cgroup_disable=memory cma=0 kvm_cma_resv_ratio=0 hugetlb_cma=0 transparent_hugepage=never novmcoredd udev.children-max=2"
106106
;;

0 commit comments

Comments
 (0)