1
0
Fork 0

arm64: lsdk.config: lower the default NR_CPUS to 16

The default NR_CPUS was increased in 846a415 ("arm64: default NR_CPUS to
256"). This change caused performance degradations of up to 40% in IP
forwarding scenarios for DPAA1 platforms.

Lower the default to 16, the maximum number of cores available on NXP ARM
platforms supported by the LSDK.

Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
Acked-by: Li Yang <leoyang.li@nxp.com>
Tested-by: X.f.Ren <xiaofeng.ren@nxp.com>
(cherry picked from commit a60ce25d4a011bdb0aefcbab9d13029b975c8cb7)
5.4-rM2-2.2.x-imx-squashed
Camelia Alexandra Groza 2020-02-12 20:31:28 +00:00 committed by Jason Liu
parent 949e4a1475
commit 3d4b4f3321
1 changed files with 4 additions and 0 deletions

View File

@ -134,6 +134,10 @@ CONFIG_IOMMU_DEFAULT_PASSTHROUGH=y
# disable the "disable_bypass" temporarily to workaround the MC issue with it
CONFIG_ARM_SMMU_DISABLE_BYPASS_BY_DEFAULT=n
# decrease the default number of CPUs to the maximum available on NXP
# platforms to increase performance
CONFIG_NR_CPUS=16
#Qos
CONFIG_NETFILTER_INGRESS=y
CONFIG_NET_SCHED=y