DPDK usage discussions
 help / color / mirror / Atom feed
From: Rajesh Kumar <rajeshthepro@gmail.com>
To: Antonio Di Bacco <a.dibacco.ks@gmail.com>
Cc: users@dpdk.org
Subject: Re: Can I use main lcore as a worker core?
Date: Tue, 18 Mar 2025 22:05:06 +0530	[thread overview]
Message-ID: <CAA+jREShzbxhoNBHKgCEC8jTvE9LC8oHaTsXDoxuL0kAnA--WA@mail.gmail.com> (raw)
In-Reply-To: <CAO8pfFmJgnWHLayoptAZZ9-UW=iB5SMeGqq_XGHxFoPnUxF6qQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 561 bytes --]

If that is what you wanted, then create 2 lcore on first physical core.

--lcores (0-1)@0,2@1,3@2,4@3

in short, you are running lcore 0,1 in physical-core 0, lcore 2 in
physical-core 1, etc.,

Thanks,
*-Rajesh*


On Tue, Mar 18, 2025 at 8:08 PM Antonio Di Bacco <a.dibacco.ks@gmail.com>
wrote:

> When I instantiate a process with 4 cores, I have 3 worker cores and
> one main lcore.
>
> I'm wasting an isolated core (the main lcore) to do nothing.
>
> I want to overcome this and use also the main lcore.
>
> Best regards,
> Anna.
>

[-- Attachment #2: Type: text/html, Size: 1102 bytes --]

  reply	other threads:[~2025-03-18 16:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-18 14:38 Antonio Di Bacco
2025-03-18 16:35 ` Rajesh Kumar [this message]
2025-03-18 21:55 ` Stephen Hemminger

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=CAA+jREShzbxhoNBHKgCEC8jTvE9LC8oHaTsXDoxuL0kAnA--WA@mail.gmail.com \
    --to=rajeshthepro@gmail.com \
    --cc=a.dibacco.ks@gmail.com \
    --cc=users@dpdk.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).