On Thu, 29 Apr 2021 10:10:37 +0000
"Szwed, Maciej" <maciej.sz...@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 <step...@networkplumber.org> 
> Sent: Friday, April 23, 2021 6:56 PM
> To: Szwed, Maciej <maciej.sz...@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.sz...@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 via email to