Re: [RFC PATCH v1 0/4] hugetlb: parallelize hugetlb page allocation on boot

From: David Hildenbrand
Date: Thu Nov 23 2023 - 09:10:58 EST


On 23.11.23 14:30, Gang Li wrote:
From: Gang Li <ligang.bdlg@xxxxxxxxxxxxx>

Inspired by these patches [1][2], this series aims to speed up the
initialization of hugetlb during the boot process through
parallelization.

It is particularly effective in large systems. On a machine equipped
with 1TB of memory and two NUMA nodes, the time for hugetlb
initialization was reduced from 2 seconds to 1 second.

Sorry to say, but why is that a scenario worth adding complexity for / optimizing for? You don't cover that, so there is a clear lack in the motivation.

2 vs. 1 second on a 1 TiB system is usually really just noise.

--
Cheers,

David / dhildenb