kernel: lower the full kernel core cap to 64

This commit is contained in:
AuxXxilium
2026-08-14 18:22:16 +02:00
parent 42cc639457
commit 7399afdd39
3 changed files with 3 additions and 3 deletions

View File

@@ -290,7 +290,7 @@ function arcVersion() {
KERNEL="$(readConfigKey "kernel" "${USER_CONFIG_FILE}")"
KOPTS=("official" "Synology stock kernel (${KVER})")
[ -f "${CUSTOM_PATH}/bzImage-${PLATFORM}-${KPRE:+${KPRE}-}${KVER}-legacy.gz" ] && KOPTS+=("legacy" "5.10.55 + backports, more hardware, better cpu handling")
[ -f "${CUSTOM_PATH}/bzImage-${PLATFORM}-${KPRE:+${KPRE}-}${KVER}-full.gz" ] && KOPTS+=("full" "legacy for up to 128 cores (may break iscsi/shutdown)")
[ -f "${CUSTOM_PATH}/bzImage-${PLATFORM}-${KPRE:+${KPRE}-}${KVER}-full.gz" ] && KOPTS+=("full" "legacy for up to 64 cores (may break iscsi/shutdown)")
[ -f "${CUSTOM_PATH}/bzImage-${PLATFORM}-${KPRE:+${KPRE}-}${KVER}-upstreamed.gz" ] && KOPTS+=("upstreamed" "5.10.260 + the same additions as legacy")
dialog --backtitle "$(backtitle)" --title "Kernel" --colors \
--default-item "${KERNEL}" --menu "Choose a kernel:" 0 0 0 \

View File

@@ -261,7 +261,7 @@ elif [ "${ARC_MODE}" = "config" ]; then
KPRE="$(readConfigKey "platforms.${PLATFORM}.productvers.\"${PRODUCTVER}\".kpre" "${P_FILE}")"
KOPTS=("official" "Synology stock kernel (${KVER})")
[ -f "${CUSTOM_PATH}/bzImage-${PLATFORM}-${KPRE:+${KPRE}-}${KVER}-legacy.gz" ] && KOPTS+=("legacy" "5.10.55 + backports, more hardware, better cpu handling")
[ -f "${CUSTOM_PATH}/bzImage-${PLATFORM}-${KPRE:+${KPRE}-}${KVER}-full.gz" ] && KOPTS+=("full" "legacy for up to 128 cores (may break iscsi/shutdown)")
[ -f "${CUSTOM_PATH}/bzImage-${PLATFORM}-${KPRE:+${KPRE}-}${KVER}-full.gz" ] && KOPTS+=("full" "legacy for up to 64 cores (may break iscsi/shutdown)")
[ -f "${CUSTOM_PATH}/bzImage-${PLATFORM}-${KPRE:+${KPRE}-}${KVER}-upstreamed.gz" ] && KOPTS+=("upstreamed" "5.10.260 + the same additions as legacy")
dialog --backtitle "$(backtitle)" --title "Kernel" --colors \
--default-item "${KERNEL}" --menu "Choose a kernel:" 0 0 0 \

View File

@@ -147,7 +147,7 @@ declare -A CMDLINE
# Cap CPU threads to what the kernel supports
if [ "${KERNEL}" = "full" ]; then
PLTCNT=128
PLTCNT=64
else
PLTCNT="$(readConfigKey "platforms.${PLATFORM}.ccnt" "${P_FILE}")"
fi