Re: [PATCH mm-unstable v2 0/3] mm/hugetlb: alloc/free gigantic folios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/13/2024 8:54 PM, Yu Zhao wrote:

Use __GFP_COMP for gigantic folios can greatly reduce not only the
amount of code but also the allocation and free time.

Approximate LOC to mm/hugetlb.c: +60, -240

Allocate and free 500 1GB hugeTLB memory without HVO by:

Do you also have numbers with HVO enabled ?

   time echo 500 >/sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages
   time echo 0 >/sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages

        Before  After
Alloc  ~13s    ~10s
Free   ~15s    <1s

Thanks,

-jane





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux