How to mmap any address space using huge pages?

Adam Turowski adam.s.turowski at gmail.com
Thu Oct 21 03:22:10 EDT 2021


> Hi, Adam
>
> Did you tell the OS to reserve huge pages?
>
> (in ubuntu, add vm.nr_hugepages = N in /etc/sysctl.conf or
>
> Add hugepages=16, hugepagesz=256M in bootcommd)
>
> Just in case you didn’t set it.

That's not the case. The HugeTLB in my case is useless, because I
don't mmap the memory.

--
Regards,
Adam



More information about the Kernelnewbies mailing list