Hugepages - how to enable?

Post Reply
turtleminor13
Posts: 1
Joined: Wed Sep 11, 2019 11:33 am
languages_spoken: english
ODROIDs: Odroid-N2
Has thanked: 0
Been thanked: 0
Contact:

Hugepages - how to enable?

Unread post by turtleminor13 » Sat Sep 14, 2019 11:52 am

I've just gotten a N2 and I'm using the latest Odroid Ubuntu minimal: ubuntu-18.04.3-4.9-minimal-odroid-n2-20190806.img
It seems huge pages are not available? On other Ubuntu systems I'm able to get huge pages with the command --> "sudo sysctl -w vm.nr_hugepages=13"
With this N2 ubuntu system I get the error --> "sysctl: cannot stat /proc/sys/vm/nr_hugepages: No such file or directory"

Are there instructions somewhere for enabling hugepages in Ubuntu on the N2?

Thanks

User avatar
igorpec
Posts: 390
Joined: Sat Dec 12, 2015 4:34 pm
languages_spoken: english,german,slovene
ODROIDs: XU4, HC1, C2, C1+
Has thanked: 7 times
Been thanked: 26 times
Contact:

Re: Hugepages - how to enable?

Unread post by igorpec » Sat Sep 14, 2019 5:33 pm

> Are there instructions somewhere for enabling hugepages in Ubuntu on the N2?

Apparently you need to recompile the kernel and enable it.
ARMBIAN - follow on Twitter
linux for ARM development boards with user friendly development tools

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: No registered users and 3 guests