DPDK usage discussions
 help / color / mirror / Atom feed
From: Stephen Hemminger <stephen@networkplumber.org>
To: "Szwed, Maciej" <maciej.szwed@intel.com>
Cc: "users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] Hyper-threaded cores
Date: Thu, 29 Apr 2021 08:21:31 -0700	[thread overview]
Message-ID: <20210429082131.3e08e670@hermes.local> (raw)
In-Reply-To: <BL0PR11MB2948E25102E424415AA19FE7975F9@BL0PR11MB2948.namprd11.prod.outlook.com>

On Thu, 29 Apr 2021 10:10:37 +0000
"Szwed, Maciej" <maciej.szwed@intel.com> wrote:

> Thanks Stephen - this is what I was looking for.
> One more thing: Is there a chance to put such implementation in rte_power and make an API call for it?
> 
> Thanks,
> Maciek
> 
> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org> 
> Sent: Friday, April 23, 2021 6:56 PM
> To: Szwed, Maciej <maciej.szwed@intel.com>
> Cc: users@dpdk.org
> Subject: Re: [dpdk-users] Hyper-threaded cores
> 
> On Thu, 22 Apr 2021 08:19:34 +0000
> "Szwed, Maciej" <maciej.szwed@intel.com> wrote:
> 
> > Hi,
> > I'm wondering if there is any way to get information in DPDK which cores are hyper-threaded siblings. I would need that information when I'm using rte_power for changing cores frequencies.
> > 
> > Thanks,
> > Maciek  
> 
> Look at the DPDK cpu-layout script?

The CPU layout is very system, OS and application dependent.
The rte_power library could read the same stuff out of sysfs
but it is not clear what it could do with it.

      reply	other threads:[~2021-04-29 15:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-22  8:19 Szwed, Maciej
2021-04-23 16:56 ` Stephen Hemminger
2021-04-29 10:10   ` Szwed, Maciej
2021-04-29 15:21     ` Stephen Hemminger [this message]

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=20210429082131.3e08e670@hermes.local \
    --to=stephen@networkplumber.org \
    --cc=maciej.szwed@intel.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).