change max core number to 256 for Arm64 platform
PATCH 1/2 config: enable more than 128 cores for Arm platform
In reply to Joyce KongWhen running dpdk applications on cores whose ids are bigger than original max_core setting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128
The fix is to increase max_core to 256 on Arm platform.
--- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 1 file changed, 1 insertion(+)
config/defconfig_arm64-armv8a-linuxapp-gcc +1 -0
@@ -6,3 +6,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256
Signature · 1 line
2.7.4
PATCH 2/2 config: enable more than 128 cores for meson build
In reply to Joyce KongWhen running dpdk applications on cores whose ids are bigger than original max_core setting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128
The fix is to increase max_core to 256 on thundex platform for meson build.
--- config/arm/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
config/arm/meson.build +1 -1
@@ -51,7 +51,7 @@ flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], ['RTE_CACHE_LINE_SIZE', 128], ['RTE_MAX_NUMA_NODES', 2], - ['RTE_MAX_LCORE', 96], + ['RTE_MAX_LCORE', 256], ['RTE_MAX_VFIO_GROUPS', 128], ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [
Signature · 1 line
2.7.4
cover change max core number to 256 for Arm64 platform
v1: change the max core setting to 256 for arm64 platform
Joyce Kong (2):
config: enable more than 128 cores for Arm platform
config: enable more than 128 cores for meson build
config/arm/meson.build | 2 +- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Signature · 1 line
2.7.4
Hi,
21/11/2018 12:10, Joyce Kong:
Quoted 5 lines
v1: change the max core setting to 256 for arm64 platform
Joyce Kong (2):
config: enable more than 128 cores for Arm platform
config: enable more than 128 cores for meson build
2 comments:
- It doesn't need to be split in 2 commits.
- Are you sure you want this change in 18.11? No risk?
PATCH v2 1/1 config: enable more than 128 cores for Arm64 platform
In reply to Joyce KongWhen running dpdk applications on cores whose ids are bigger than original max_core setting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128
The fix is to increase max_core to 256 on Arm64 platform.
--- config/arm/meson.build | 2 +- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
config/arm/meson.build +1 -1
@@ -51,7 +51,7 @@ flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], ['RTE_CACHE_LINE_SIZE', 128], ['RTE_MAX_NUMA_NODES', 2], - ['RTE_MAX_LCORE', 96], + ['RTE_MAX_LCORE', 256], ['RTE_MAX_VFIO_GROUPS', 128], ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [
config/defconfig_arm64-armv8a-linuxapp-gcc +1 -0
@@ -6,3 +6,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256
Signature · 1 line
2.7.4
Re: [PATCH v2] config: enable more than 128 cores for Arm64 platform
-----Original Message-----
Quoted 33 lines
Date: Wed, 21 Nov 2018 19:27:12 +0800
From: Joyce Kong <[email protected]>
To: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected], [email protected]
Subject: [PATCH v2] config: enable more than 128 cores for Arm64 platform
X-Mailer: git-send-email 2.7.4When running dpdk applications on cores whose ids are bigger than original
max_coresetting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128The fix is to increase
max_coreto 256 on Arm64 platform.Fixes b3ce00e5 ("mk: introduce ARMv8 architecture")Signed-off-by Joyce Kong <[email protected]>Reviewed-by Gavin Hu <[email protected]>--- config/arm/meson.build | 2 +- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)config/arm/meson.build +0
-0
config/arm/meson.build flags_cavium = [ · line 54
Quoted 5 lines
config/arm/meson.build +1
-1@@ -51,7 +51,7 @@ flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], ['RTE_CACHE_LINE_SIZE', 128], ['RTE_MAX_NUMA_NODES', 2], - ['RTE_MAX_LCORE', 96], + ['RTE_MAX_LCORE', 256],
This change makes thunderx config to 256 cores not armv8. For generic config, it needs to be under "flags_generic" not under "flags_cavium". Just like you did for updating defconfig_arm64-armv8a-linuxapp-gcc config instead of defconfig_arm64-thunderx-linuxapp-gcc
Quoted 15 lines
config/arm/meson.build +0
-0['RTE_MAX_VFIO_GROUPS', 128], ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [config/defconfig_arm64-armv8a-linuxapp-gcc +1
-1@@ -6,3 +6,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 --2.7.4
Quoted 15 lines
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Wednesday, November 21, 2018 7:14 PM
To: Joyce Kong (Arm Technology China) <[email protected]>
Cc: [email protected]; [email protected]; Honnappa Nagarahalli <[email protected]>; Gavin Hu (Arm Technology China) <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/2] change max core number to 256 for Arm64 platformHi,
21/11/2018 12:10, Joyce Kong:
Quoted 2 lines
v1: change the max core setting to 256 for arm64 platform
Quoted 7 lines
Quoted 3 lines
Joyce Kong (2):
config: enable more than 128 cores for Arm platform
config: enable more than 128 cores for meson build2 comments:
- It doesn't need to be split in 2 commits.
Combined into 1 commit in v2.
Quoted 1 line
- Are you sure you want this change in 18.11? No risk?
Yes, no risk.
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Quoted 1 line · On Wed, 21 Nov 2018 11:41:36 +0000 "Joyce Kong (Arm Technology China)"…
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Please fix your mail system. Because technically sending mail to a mailing list with this footer means everyone on the list should delete the mail.
PATCH v3 1/1 config: enable more than 128 cores for Arm64 platform
In reply to Joyce KongWhen running dpdk applications on cores whose ids are bigger than original max_core setting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128
The fix is to increase max_core to 256 on Arm64 platform.
--- config/arm/meson.build | 5 +++-- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 4 insertions(+), 2 deletions(-)
config/arm/meson.build +3 -2
@@ -46,13 +46,14 @@ flags_common_default = [ flags_generic = [ ['RTE_MACHINE', '"armv8a"'], + ['RTE_MAX_LCORE', 256], ['RTE_CACHE_LINE_SIZE', 128]] flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], ['RTE_CACHE_LINE_SIZE', 128], ['RTE_MAX_NUMA_NODES', 2], - ['RTE_MAX_LCORE', 96], - ['RTE_MAX_VFIO_GROUPS', 128], + ['RTE_MAX_LCORE', 256], + ['RTE_MAX_VFIO_GROUPS', 128], ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [ ['RTE_MACHINE', '"dpaa"'],
config/defconfig_arm64-armv8a-linuxapp-gcc +1 -0
@@ -6,3 +6,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256
Signature · 1 line
2.7.4
Re: [PATCH v2] config: enable more than 128 cores for Arm64 platform
In reply to Jerin JacobQuoted 40 lines
-----Original Message-----
From: Jerin Jacob <[email protected]>
Sent: Wednesday, November 21, 2018 7:35 PM
To: Joyce Kong (Arm Technology China) <[email protected]>
Cc: [email protected]; [email protected]; Honnappa Nagarahalli <[email protected]>; Gavin Hu (Arm Technology China) <[email protected]>; [email protected]
Subject: Re: [PATCH v2] config: enable more than 128 cores for Arm64 platform-----Original Message-----
Quoted 29 lines
Date: Wed, 21 Nov 2018 19:27:12 +0800
From: Joyce Kong <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: [PATCH v2] config: enable more than 128 cores for Arm64 platform
X-Mailer: git-send-email 2.7.4When running dpdk applications on cores whose ids are bigger than original
max_coresetting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128The fix is to increase
max_coreto 256 on Arm64 platform.Fixes b3ce00e5 ("mk: introduce ARMv8 architecture")Signed-off-by Joyce Kong <[email protected]>Reviewed-by Gavin Hu <[email protected]>--- config/arm/meson.build | 2 +- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 2 insertions(+), 1 deletion(-)
Quoted 17 lines
config/arm/meson.build flags_cavium = [ · line 54
Quoted 10 lines
config/arm/meson.build index renamed from config/arm/meson.build +0
-0b755138..020df09 100644
config/arm/meson.build +1
-1@@ -51,7 +51,7 @@ flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], ['RTE_CACHE_LINE_SIZE', 128], ['RTE_MAX_NUMA_NODES', 2], - ['RTE_MAX_LCORE', 96], + ['RTE_MAX_LCORE', 256],This change makes thunderx config to 256 cores not armv8.
For generic config, it needs to be under "flags_generic"
not under "flags_cavium". Just like you did for updating defconfig_arm64- armv8a-linuxapp-gcc config instead of defconfig_arm64-thunderx-linuxapp- gcc
Config to 256 cores for both flags_generic and flags_cavium in V3.
For thunderx, it will do meson build according to flasg_cavium instead of flags_generic. And there is no inheritance relationship between the two flags.
Quoted 9 lines
Quoted 9 lines
config/arm/meson.build +0
-0['RTE_MAX_VFIO_GROUPS', 128], ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [ diff --gita/config/defconfig_arm64-armv8a-linuxapp-gcc
b/config/defconfig_arm64-armv8a-linuxapp-gcc
index 1842744..a6ed90c 100644config/defconfig_arm64-armv8a-linuxapp-gcc +0
-0@@ -6,3 +6,4 @@
Quoted 6 lines
Quoted 6 lines
config/defconfig_arm64-armv8a-linuxapp-gcc +1
-1CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 --2.7.4
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Re: [PATCH v3] config: enable more than 128 cores for Arm64 platform
In reply to Joyce Kong-----Original Message-----
Quoted 35 lines
Date: Thu, 22 Nov 2018 15:01:14 +0800
From: Joyce Kong <[email protected]>
To: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected], [email protected]
Subject: [PATCH v3] config: enable more than 128 cores for Arm64 platform
X-Mailer: git-send-email 2.7.4When running dpdk applications on cores whose ids are bigger than original
max_coresetting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128The fix is to increase
max_coreto 256 on Arm64 platform.Fixes b3ce00e5 ("mk: introduce ARMv8 architecture")Signed-off-by Joyce Kong <[email protected]>Reviewed-by Gavin Hu <[email protected]>--- config/arm/meson.build | 5 +++-- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 4 insertions(+), 2 deletions(-)config/arm/meson.build +0
-0@@ -46,13 +46,14 @@ flags_common_default = [ flags_generic = [
config/arm/meson.build flags_common_default = [ · line 55
Quoted 10 lines
config/arm/meson.build +2
-2['RTE_MACHINE', '"armv8a"'], + ['RTE_MAX_LCORE', 256], ['RTE_CACHE_LINE_SIZE', 128]] flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], ['RTE_CACHE_LINE_SIZE', 128], ['RTE_MAX_NUMA_NODES', 2], - ['RTE_MAX_LCORE', 96], - ['RTE_MAX_VFIO_GROUPS', 128], + ['RTE_MAX_LCORE', 256],
thunderx has only 96 cores. It the "thunderx2" which has more cores. There no speerate config "thunderx2", it is using generic armv8 config. So this specific line of change is not needed.
Quoted 16 lines
config/arm/meson.build +1
-0+ ['RTE_MAX_VFIO_GROUPS', 128], ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [ ['RTE_MACHINE', '"dpaa"'],config/defconfig_arm64-armv8a-linuxapp-gcc +1
-1@@ -6,3 +6,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 --2.7.4
PATCH v4 1/1 config: enable more than 128 cores for Arm64 platform
In reply to Joyce KongWhen running dpdk applications on cores whose ids are bigger than original max_core setting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128
The fix is to increase max_core to 256 on Arm64 platform.
--- config/arm/meson.build | 1 + config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 2 insertions(+)
config/arm/meson.build +1 -0
@@ -46,6 +46,7 @@ flags_common_default = [ flags_generic = [ ['RTE_MACHINE', '"armv8a"'], + ['RTE_MAX_LCORE', 256], ['RTE_CACHE_LINE_SIZE', 128]] flags_cavium = [ ['RTE_MACHINE', '"thunderx"'],
config/defconfig_arm64-armv8a-linuxapp-gcc +1 -0
@@ -6,3 +6,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256
Signature · 1 line
2.7.4
Re: [PATCH v3] config: enable more than 128 cores for Arm64 platform
In reply to Jerin JacobQuoted 46 lines
-----Original Message-----
From: Jerin Jacob <[email protected]>
Sent: Thursday, November 22, 2018 3:09 PM
To: Joyce Kong (Arm Technology China) <[email protected]>
Cc: [email protected]; [email protected]; Honnappa Nagarahalli <[email protected]>; Gavin Hu (Arm Technology China) <[email protected]>; [email protected]
Subject: Re: [PATCH v3] config: enable more than 128 cores for Arm64 platform-----Original Message-----
Quoted 35 lines
Date: Thu, 22 Nov 2018 15:01:14 +0800
From: Joyce Kong <[email protected]>
To: [email protected]
CC: [email protected], [email protected], [email protected], [email protected], [email protected]
Subject: [PATCH v3] config: enable more than 128 cores for Arm64 platform
X-Mailer: git-send-email 2.7.4When running dpdk applications on cores whose ids are bigger than original
max_coresetting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128The fix is to increase
max_coreto 256 on Arm64 platform.Fixes b3ce00e5 ("mk: introduce ARMv8 architecture")Signed-off-by Joyce Kong <[email protected]>Reviewed-by Gavin Hu <[email protected]>--- config/arm/meson.build | 5 +++-- config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 4 insertions(+), 2 deletions(-)config/arm/meson.build index renamed from config/arm/meson.build +0
-0b755138..9b5f09c 100644
config/arm/meson.build +0
-0@@ -46,13 +46,14 @@ flags_common_default = [
Quoted 16 lines
config/arm/meson.build flags_common_default = [ · line 55
Quoted 11 lines
config/arm/meson.build +2
-2flags_generic = [ ['RTE_MACHINE', '"armv8a"'], + ['RTE_MAX_LCORE', 256], ['RTE_CACHE_LINE_SIZE', 128]] flags_cavium = [ ['RTE_MACHINE', '"thunderx"'], ['RTE_CACHE_LINE_SIZE', 128], ['RTE_MAX_NUMA_NODES', 2], - ['RTE_MAX_LCORE', 96], - ['RTE_MAX_VFIO_GROUPS', 128], + ['RTE_MAX_LCORE', 256],thunderx has only 96 cores. It the "thunderx2" which has more cores. There no speerate config "thunderx2", it is using generic armv8 config. So this specific line of change is not needed.
Remove this specific line of change in V4.
Quoted 10 lines
Quoted 10 lines
config/arm/meson.build +1
-0+ ['RTE_MAX_VFIO_GROUPS', 128], ['RTE_USE_C11_MEM_MODEL', false]] flags_dpaa = [ ['RTE_MACHINE', '"dpaa"'],config/defconfig_arm64-armv8a-linuxapp-gcc +0
-0@@ -6,3 +6,4 @@
Quoted 6 lines
Quoted 6 lines
config/defconfig_arm64-armv8a-linuxapp-gcc +1
-1CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 --2.7.4
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Re: [PATCH v4] config: enable more than 128 cores for Arm64 platform
In reply to Joyce Kong-----Original Message-----
Quoted 17 lines
Date: Thu, 22 Nov 2018 15:37:07 +0800
From: Joyce Kong <[email protected]>
To: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected], [email protected], [email protected]
Subject: [PATCH v4] config: enable more than 128 cores for Arm64 platform
X-Mailer: git-send-email 2.7.4When running dpdk applications on cores whose ids are bigger than original
max_coresetting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128
Quoted 7 lines
The fix is to increase
max_coreto 256 on Arm64 platform.Fixes b3ce00e5 ("mk: introduce ARMv8 architecture")Signed-off-by Joyce Kong <[email protected]>Reviewed-by Gavin Hu <[email protected]>
Quoted 29 lines
--- config/arm/meson.build | 1 + config/defconfig_arm64-armv8a-linuxapp-gcc | 1 + 2 files changed, 2 insertions(+)config/arm/meson.build +1
-0@@ -46,6 +46,7 @@ flags_common_default = [ flags_generic = [ ['RTE_MACHINE', '"armv8a"'], + ['RTE_MAX_LCORE', 256], ['RTE_CACHE_LINE_SIZE', 128]] flags_cavium = [ ['RTE_MACHINE', '"thunderx"'],config/defconfig_arm64-armv8a-linuxapp-gcc +1
-1@@ -6,3 +6,4 @@ CONFIG_RTE_TOOLCHAIN="gcc" CONFIG_RTE_TOOLCHAIN_GCC=y +CONFIG_RTE_MAX_LCORE=256 --2.7.4
Thomas Monjalon
AppliedRe: [PATCH v4] config: enable more than 128 cores for Arm64 platform
22/11/2018 12:04, Jerin Jacob:
Quoted 11 lines
From: Joyce Kong <[email protected]>
Quoted 10 lines
When running dpdk applications on cores whose ids are bigger than original
max_coresetting, eal error as below:
EAL: Detected 104 lcore(s)
EAL: Detected 2 NUMA nodes
EAL: invalid core list
-l CORELIST core indexes between 0 and 128The fix is to increase
max_coreto 256 on Arm64 platform.
Quoted 8 lines
Quoted 5 lines
Fixes b3ce00e5 ("mk: introduce ARMv8 architecture")Signed-off-by Joyce Kong <[email protected]>Reviewed-by Gavin Hu <[email protected]>Acked-by Jerin Jacob <[email protected]>
Applied, thanks
Note: Arm64 replace by arm64 to comply with Honnappa's naming recommendation.