Le 21/04/2023 à 17:15, Stephen Hemminger a écrit :
Better to understand more about our opinion of this script before send a v2
patch.
I've used 'lstopo'. It's a great tool.
To my opinion, considering there're Linux tools to show all kinds of
information, the reason that DPDK has its own tool
Hi Stephen, Thomas, Brice,
> -Original Message-
> From: Brice Goglin
> Sent: Tuesday, April 25, 2023 1:06 AM
> To: Stephen Hemminger ; Thomas Monjalon
>
> Cc: Lu, Wenzhuo ; dev@dpdk.org;
> david.march...@redhat.com
> Subject: Re: [PATCH] usertools: enhance CPU l
21/04/2023 03:47, Lu, Wenzhuo:
> Hi Stephen,
>
> From: Stephen Hemminger
> > On Tue, 18 Apr 2023 13:25:41 +0800
> > Wenzhuo Lu wrote:
> >
> > > The cores in a single CPU may be not all the same.
> > > The user tool is updated to show the
> > > difference of the cores.
> > >
> > > This patch add
Hi Stephen,
> -Original Message-
> From: Stephen Hemminger
> Sent: Wednesday, April 19, 2023 12:47 AM
> To: Lu, Wenzhuo
> Cc: dev@dpdk.org
> Subject: Re: [PATCH] usertools: enhance CPU layout
>
> On Tue, 18 Apr 2023 13:25:41 +0800
> Wenzhuo Lu wrote:
>
On Tue, 18 Apr 2023 13:25:41 +0800
Wenzhuo Lu wrote:
> fd = open("{}/cpu{}/topology/physical_package_id".format(base_path, cpu))
> socket = int(fd.read())
> fd.close()
> +fd = open("{}/cpu{}/topology/die_id".format(base_path, cpu))
> +die = int(fd.read())
> +fd.close()
The cores in a single CPU may be not all
the same.
The user tool is updated to show the
difference of the cores.
This patch addes below informantion,
1, Group the cores based on the die.
2, A core is either a performance core or an
efficency core.
A performance core is shown as 'Core-P'.
6 matches
Mail list logo