diff --git a/bsp-files/kickstarts/post_kernel_aio_and_worker.cfg b/bsp-files/kickstarts/post_kernel_aio_and_worker.cfg index 14a89d53..f2281101 100644 --- a/bsp-files/kickstarts/post_kernel_aio_and_worker.cfg +++ b/bsp-files/kickstarts/post_kernel_aio_and_worker.cfg @@ -13,14 +13,7 @@ n_cpus=$(cat /proc/cpuinfo 2>/dev/null | \ n_numa=$(ls -d /sys/devices/system/node/node* 2>/dev/null | wc -l) KERN_OPTS=" iommu=pt usbcore.autosuspend=-1" -# Add kernel options for hugepages -if grep -q pdpe1gb /proc/cpuinfo -then - KERN_OPTS="${KERN_OPTS} hugepagesz=1G hugepages=${n_numa}" - KERN_OPTS="${KERN_OPTS} hugepagesz=2M hugepages=0 default_hugepagesz=2M" -else - KERN_OPTS="${KERN_OPTS} hugepagesz=2M hugepages=0 default_hugepagesz=2M" -fi +KERN_OPTS="${KERN_OPTS} hugepagesz=2M hugepages=0 default_hugepagesz=2M" # If this is an all-in-one system, we need at least 4 CPUs if [ "$system_type" = "All-in-one" -a ${n_cpus} -lt 4 ]; then