[PATCH v2 3/4] usertools/dpdk-hugepages.py: sort by NUMA node
Burakov, Anatoly
anatoly.burakov at intel.com
Tue Aug 20 11:04:43 CEST 2024
On 8/19/2024 1:32 PM, Robin Jarry wrote:
> Anatoly Burakov, Aug 16, 2024 at 14:16:
>> Currently, the list of per-NUMA node hugepages is displayed in glob
>> order,
>> which can be arbitrary. Fix it to sort the glob order.
>>
>> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
>
> Hey Anatoly,
>
> I mean no offense to anyone but dpdk-hugepages.py is really ugly :(
>
> Is this script really needed? If it is, maybe it would be a good
> opportunity to rewrite it. Is this something you'd be willing to work on?
I do agree it is, umm, let's say not up to Python standards, but I was
attempting to minimize changes to ensure this change gets integrated
quickly. I can try and rewrite it if that's something that community is
willing to accept. I'm not a master Pythonist by any stretch, but I do
like to think I'm at least capable :D
--
Thanks,
Anatoly
More information about the dev
mailing list