* [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]
[not found] <CA+h+_BuFT_cqGsxdyPOz8EtMOMdvZi4yWdW28=ZXsh70uL=Xzg@mail.gmail.com>
@ 2020-06-03 1:04 ` Ding Ma
2020-06-03 2:21 ` Stephen Hemminger
0 siblings, 1 reply; 6+ messages in thread
From: Ding Ma @ 2020-06-03 1:04 UTC (permalink / raw)
To: users
Hope it's the right way to ask DPDK questions. I am new to DPDK world and
got an error while setting up dpdk on my server. any idea about where I
should look at?
1. Error: rte_eal port num [0] is not match the pciidlist [4]
2. EAL: Error - exiting with code: 1
3. Cause: Generate core list error
Full paste:
ttps://pastebin.com/zea7514Y <https://pastebin.com/zea7514Y>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]
2020-06-03 1:04 ` [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4] Ding Ma
@ 2020-06-03 2:21 ` Stephen Hemminger
2020-06-03 2:34 ` Ding Ma
0 siblings, 1 reply; 6+ messages in thread
From: Stephen Hemminger @ 2020-06-03 2:21 UTC (permalink / raw)
To: Ding Ma; +Cc: users
On Tue, 2 Jun 2020 18:04:57 -0700
Ding Ma <mdyuki1016@gmail.com> wrote:
> Hope it's the right way to ask DPDK questions. I am new to DPDK world and
> got an error while setting up dpdk on my server. any idea about where I
> should look at?
>
>
> 1. Error: rte_eal port num [0] is not match the pciidlist [4]
> 2. EAL: Error - exiting with code: 1
> 3. Cause: Generate core list error
>
>
> Full paste:
> ttps://pastebin.com/zea7514Y <https://pastebin.com/zea7514Y>
Your DPDK is built for only 32 CPU's and you have a machine with 128.
Change your config and move on to the next issue.
* There are patches in review to avoid this in future versions of DPDK.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]
2020-06-03 2:21 ` Stephen Hemminger
@ 2020-06-03 2:34 ` Ding Ma
2020-06-03 20:51 ` Vincent Li
0 siblings, 1 reply; 6+ messages in thread
From: Ding Ma @ 2020-06-03 2:34 UTC (permalink / raw)
To: Stephen Hemminger; +Cc: users
Really appreciate your help. Two follow-ups:
- it actually works on 48 cores server and do you know why? (The problem
server is 96 cores)
- which part in config I need to change? (Sorry I am a noob) . Also, I am
using pre-built RPM to install dpdk, do I have to rebuild the RPM on 96
cores server in order to run it on the 96 cores server?
On Tue, Jun 2, 2020 at 7:21 PM Stephen Hemminger <stephen@networkplumber.org>
wrote:
> On Tue, 2 Jun 2020 18:04:57 -0700
> Ding Ma <mdyuki1016@gmail.com> wrote:
>
> > Hope it's the right way to ask DPDK questions. I am new to DPDK world and
> > got an error while setting up dpdk on my server. any idea about where I
> > should look at?
> >
> >
> > 1. Error: rte_eal port num [0] is not match the pciidlist [4]
> > 2. EAL: Error - exiting with code: 1
> > 3. Cause: Generate core list error
> >
> >
> > Full paste:
> > ttps://pastebin.com/zea7514Y <https://pastebin.com/zea7514Y>
>
> Your DPDK is built for only 32 CPU's and you have a machine with 128.
> Change your config and move on to the next issue.
>
> * There are patches in review to avoid this in future versions of DPDK.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]
2020-06-03 2:34 ` Ding Ma
@ 2020-06-03 20:51 ` Vincent Li
2020-06-03 21:35 ` Ding Ma
0 siblings, 1 reply; 6+ messages in thread
From: Vincent Li @ 2020-06-03 20:51 UTC (permalink / raw)
To: Ding Ma; +Cc: Stephen Hemminger, users
On Tue, 2 Jun 2020, Ding Ma wrote:
> Really appreciate your help. Two follow-ups:
> - it actually works on 48 cores server and do you know why? (The problem
> server is 96 cores)
I think Stephen might mean your pre-build DPDK might not be built with 32
cores, I am not familiar with this neither, but I here is my grep search:
/usr/src/dpdk# egrep 'CORE|CPU' x86_64-native-linux-gcc/.config
CONFIG_RTE_MAX_LCORE=128
# Recognize/ignore architecture we compile for. AVX/AVX512 CPU flags for
performance/power testing.
CONFIG_RTE_MAX_LCORE_FREQS=64
CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
I guess your pre-built DPDK might have CONFIG_RTE_MAX_LCORE built less
than 96, you can either rebuilt your DPDK RPM package or rebuild from DPDK
source with cores >= 96, say 128
> - which part in config I need to change? (Sorry I am a noob) . Also, I am
> using pre-built RPM to install dpdk, do I have to rebuild the RPM on 96
> cores server in order to run it on the 96 cores server?
>
> On Tue, Jun 2, 2020 at 7:21 PM Stephen Hemminger <stephen@networkplumber.org>
> wrote:
>
> > On Tue, 2 Jun 2020 18:04:57 -0700
> > Ding Ma <mdyuki1016@gmail.com> wrote:
> >
> > > Hope it's the right way to ask DPDK questions. I am new to DPDK world and
> > > got an error while setting up dpdk on my server. any idea about where I
> > > should look at?
> > >
> > >
> > > 1. Error: rte_eal port num [0] is not match the pciidlist [4]
> > > 2. EAL: Error - exiting with code: 1
> > > 3. Cause: Generate core list error
> > >
> > >
> > > Full paste:
> > > ttps://pastebin.com/zea7514Y <https://pastebin.com/zea7514Y>
> >
> > Your DPDK is built for only 32 CPU's and you have a machine with 128.
> > Change your config and move on to the next issue.
> >
> > * There are patches in review to avoid this in future versions of DPDK.
> >
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]
2020-06-03 20:51 ` Vincent Li
@ 2020-06-03 21:35 ` Ding Ma
2020-06-04 0:47 ` Vincent Li
0 siblings, 1 reply; 6+ messages in thread
From: Ding Ma @ 2020-06-03 21:35 UTC (permalink / raw)
To: Vincent Li; +Cc: Stephen Hemminger, users
Thanks for reply.
BTW I guess "CONFIG_RTE_MAX_LCORE=128" means no more than 128 cores. But
what does "CONFIG_RTE_MAX_LCORE_FREQS=64" mean?
On Wed, Jun 3, 2020 at 1:51 PM Vincent Li <vincent.mc.li@gmail.com> wrote:
>
>
> On Tue, 2 Jun 2020, Ding Ma wrote:
>
> > Really appreciate your help. Two follow-ups:
> > - it actually works on 48 cores server and do you know why? (The problem
> > server is 96 cores)
>
> I think Stephen might mean your pre-build DPDK might not be built with 32
> cores, I am not familiar with this neither, but I here is my grep search:
>
> /usr/src/dpdk# egrep 'CORE|CPU' x86_64-native-linux-gcc/.config
>
> CONFIG_RTE_MAX_LCORE=128
> # Recognize/ignore architecture we compile for. AVX/AVX512 CPU flags for
> performance/power testing.
> CONFIG_RTE_MAX_LCORE_FREQS=64
> CONFIG_RTE_TEST_PMD_RECORD_CORE_CYCLES=n
>
> I guess your pre-built DPDK might have CONFIG_RTE_MAX_LCORE built less
> than 96, you can either rebuilt your DPDK RPM package or rebuild from DPDK
> source with cores >= 96, say 128
>
>
> > - which part in config I need to change? (Sorry I am a noob) . Also, I am
> > using pre-built RPM to install dpdk, do I have to rebuild the RPM on 96
> > cores server in order to run it on the 96 cores server?
> >
> > On Tue, Jun 2, 2020 at 7:21 PM Stephen Hemminger <
> stephen@networkplumber.org>
> > wrote:
> >
> > > On Tue, 2 Jun 2020 18:04:57 -0700
> > > Ding Ma <mdyuki1016@gmail.com> wrote:
> > >
> > > > Hope it's the right way to ask DPDK questions. I am new to DPDK
> world and
> > > > got an error while setting up dpdk on my server. any idea about
> where I
> > > > should look at?
> > > >
> > > >
> > > > 1. Error: rte_eal port num [0] is not match the pciidlist [4]
> > > > 2. EAL: Error - exiting with code: 1
> > > > 3. Cause: Generate core list error
> > > >
> > > >
> > > > Full paste:
> > > > ttps://pastebin.com/zea7514Y <https://pastebin.com/zea7514Y>
> > >
> > > Your DPDK is built for only 32 CPU's and you have a machine with 128.
> > > Change your config and move on to the next issue.
> > >
> > > * There are patches in review to avoid this in future versions of DPDK.
> > >
> >
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4]
2020-06-03 21:35 ` Ding Ma
@ 2020-06-04 0:47 ` Vincent Li
0 siblings, 0 replies; 6+ messages in thread
From: Vincent Li @ 2020-06-04 0:47 UTC (permalink / raw)
To: Ding Ma; +Cc: Vincent Li, Stephen Hemminger, users
On Wed, 3 Jun 2020, Ding Ma wrote:
> Thanks for reply.
> BTW I guess "CONFIG_RTE_MAX_LCORE=128" means no more than 128 cores. But what does "CONFIG_RTE_MAX_LCORE_FREQS=64" mean?
>
right, CONFIG_RTE_MAX_LCORE_FREQS=64 is irrelevant here I think, something
relate to power.
# Compile librte_power
CONFIG_RTE_LIBRTE_POWER=y
CONFIG_RTE_LIBRTE_POWER_DEBUG=n
CONFIG_RTE_MAX_LCORE_FREQS=64
By the way, I think the patches Stephen talked about to remove
RTE_MAX_LCORE constrains is this:
Re: [dpdk-dev] [PATCH 0/4] Extend --lcores to run on cores > RTE_MAX_LCORE
https://marc.info/?l=dpdk-dev&m=159112164120276&w=2
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2020-06-04 0:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <CA+h+_BuFT_cqGsxdyPOz8EtMOMdvZi4yWdW28=ZXsh70uL=Xzg@mail.gmail.com>
2020-06-03 1:04 ` [dpdk-users] Need help: Generate core list error. rte_eal port num [0] is not match the pciidlist [4] Ding Ma
2020-06-03 2:21 ` Stephen Hemminger
2020-06-03 2:34 ` Ding Ma
2020-06-03 20:51 ` Vincent Li
2020-06-03 21:35 ` Ding Ma
2020-06-04 0:47 ` Vincent Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).