DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Hyper-threaded cores
@ 2021-04-22  8:19 Szwed, Maciej
  2021-04-23 16:56 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Szwed, Maciej @ 2021-04-22  8:19 UTC (permalink / raw)
  To: users

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Hyper-threaded cores
  2021-04-22  8:19 [dpdk-users] Hyper-threaded cores Szwed, Maciej
@ 2021-04-23 16:56 ` Stephen Hemminger
  2021-04-29 10:10   ` Szwed, Maciej
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2021-04-23 16:56 UTC (permalink / raw)
  To: Szwed, Maciej; +Cc: users

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Hyper-threaded cores
  2021-04-23 16:56 ` Stephen Hemminger
@ 2021-04-29 10:10   ` Szwed, Maciej
  2021-04-29 15:21     ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Szwed, Maciej @ 2021-04-29 10:10 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: users

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?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [dpdk-users] Hyper-threaded cores
  2021-04-29 10:10   ` Szwed, Maciej
@ 2021-04-29 15:21     ` Stephen Hemminger
  0 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2021-04-29 15:21 UTC (permalink / raw)
  To: Szwed, Maciej; +Cc: users

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-03 12:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-22  8:19 [dpdk-users] Hyper-threaded cores Szwed, Maciej
2021-04-23 16:56 ` Stephen Hemminger
2021-04-29 10:10   ` Szwed, Maciej
2021-04-29 15:21     ` Stephen Hemminger

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git