Page 1 of 1

HugePages on Rp4

Posted: Thu Aug 06, 2020 9:17 pm
by frederick00
Hi Everyone,

Does raspberry pi 4 model b support HugePages ? if yes than how can i enable it ? i'm running a Debian based linux distro on Rp4.

i run

Code: Select all

 cat /proc/meminfo | grep Huge 
command but doesn't work, that didn't give me any feedback.


Thank you.

Re: HugePages on Rp4

Posted: Thu Aug 06, 2020 9:53 pm
by pidd
Can be done if you are prepared to build the kernel https://www.raspberrypi.org/documentati ... uilding.md

EDIT:Also see viewtopic.php?t=264361

Re: HugePages on Rp4

Posted: Thu Aug 06, 2020 9:59 pm
by frederick00
pidd wrote:
Thu Aug 06, 2020 9:53 pm
Can be done if you are prepared to build the kernel https://www.raspberrypi.org/documentati ... uilding.md
Thank you but should i run the the latest version of Raspberry Pi OS linked in the page or any distro is right ?

Re: HugePages on Rp4

Posted: Thu Aug 06, 2020 10:07 pm
by pidd
Depends what you mean by any distro, if its anything other than RpiOS it would be down to that OS whether it can be configured for huge-mem.

If it is RpiOS, why wouldn't you run the latest version?

Re: HugePages on Rp4

Posted: Thu Aug 06, 2020 10:24 pm
by frederick00
pidd wrote:
Thu Aug 06, 2020 10:07 pm
Depends what you mean by any distro, if its anything other than RpiOS it would be down to that OS whether it can be configured for huge-mem.

If it is RpiOS, why wouldn't you run the latest version?
Of course i'm running the latest version of the RpOS, i'll take a look at link.

Thank you.