From: Kamaraj P <pkamaraj@gmail.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: Fred.L.Templin@boeing.com, "Burakov,
Anatoly" <anatoly.burakov@intel.com>,
Bruce Richardson <bruce.richardson@intel.com>,
David Marchand <david.marchand@redhat.com>,
Nageswara Rao Penumarthy <npenumar@cisco.com>,
dev <dev@dpdk.org>,
kalas@cisco.com
Subject: Re: Cannot set affinity - pthread_setaffinity_np - DPDK21
Date: Sun, 18 Sep 2022 22:05:57 +0530 [thread overview]
Message-ID: <CAG8PAarHYrSDm2g8mT0PxuWrNHq5rspXgN5y_f23Tu75P6sqkQ@mail.gmail.com> (raw)
In-Reply-To: <20220916081313.1680e742@hermes.local>
[-- Attachment #1: Type: text/plain, Size: 1327 bytes --]
Hi Stephen,
Yes. The core mask we have aligned to separate cgroup. Probably this might
be an issue here. We will change the alignment in our DPDK application.
BTW is there a way to check the cores affinity set to DPDK after
rte_eail_init ? Do we have to use the taskset command ?
Please advise.
Thanks,
Kamaraj
On Fri, Sep 16, 2022 at 8:43 PM Stephen Hemminger <
stephen@networkplumber.org> wrote:
> On Fri, 16 Sep 2022 09:37:32 +0530
> Kamaraj P <pkamaraj@gmail.com> wrote:
>
> > Hi Team,
> > Have sent a message to DPDK alias. Can you please have a look and share
> > your thoughts on this ?
>
> Top posting and nag messages just make developers angry
>
> >
> > On Thu, Sep 15, 2022 at 10:27 PM Kamaraj P <pkamaraj@gmail.com> wrote:
> >
> > > Hi Team,
> > >
> > > There are lot of discussion about below code:
> > > rte_panic("Cannot set affinity %d i %d threadid %d\n", ret, i,
> > > lcore_config[i].thread_id);
> > >
> > > Is there any guildiness(or patch) from the DPDK community about
> avoiding
> > > these panic messages in our DPDK application ? Even if we remove the
> panic
> > > to replace the warning , will it lead to any impact ?
>
> Did you check that the core mask passed into the application is valid?
> Or that that your application is not running in a container which blocks
> access to other CPU's.
>
[-- Attachment #2: Type: text/html, Size: 1972 bytes --]
next prev parent reply other threads:[~2022-09-18 16:36 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-15 16:57 Kamaraj P
2022-09-16 4:07 ` Kamaraj P
2022-09-16 15:13 ` Stephen Hemminger
2022-09-18 16:35 ` Kamaraj P [this message]
2022-09-19 17:04 ` Stephen Hemminger
2022-09-20 13:26 ` Kamaraj P
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAG8PAarHYrSDm2g8mT0PxuWrNHq5rspXgN5y_f23Tu75P6sqkQ@mail.gmail.com \
--to=pkamaraj@gmail.com \
--cc=Fred.L.Templin@boeing.com \
--cc=anatoly.burakov@intel.com \
--cc=bruce.richardson@intel.com \
--cc=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=kalas@cisco.com \
--cc=npenumar@cisco.com \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).