jeyjey Posted April 12, 2018 Posted April 12, 2018 Hi. I have an issue configuring the board: no hugepage configured. I installed the command line Ubuntu. No I am in command line via SSH. Everything is ok. With a NanoPi Fire3, OrangePi Pc2 and an OrangePi Zero H5 I had not this issue. The folder /sys/kernel/mm/hugepages does not exist; the folder /proc/sys/vm has not the value or file that tells how mutch is the hugepages amount.
zador.blood.stained Posted April 12, 2018 Posted April 12, 2018 Hugepages (at least transparent hugepages) are not supported on a 32-bit ARM CPU without a MMU, and on ARM in general with the 3.4.x kernel.
datsuns Posted September 13, 2018 Posted September 13, 2018 On 4/12/2018 at 9:58 AM, jeyjey said: Hi. I have an issue configuring the board: no hugepage configured. I installed the command line Ubuntu. No I am in command line via SSH. Everything is ok. With a NanoPi Fire3, OrangePi Pc2 and an OrangePi Zero H5 I had not this issue. The folder /sys/kernel/mm/hugepages does not exist; the folder /proc/sys/vm has not the value or file that tells how mutch is the hugepages amount. What is the process for enabling hugepages on NanoPi Fire3?
Igor Posted September 14, 2018 Posted September 14, 2018 21 hours ago, datsuns said: What is the process for enabling hugepages on NanoPi Fire3? Build or use a kernel from a nightly repository and it should work.
datsuns Posted September 14, 2018 Posted September 14, 2018 Are hugepages enabled by default for the nightly repository images? I do seem to have gotten it to work with this command: sudo sysctl -w vm.nr_hugepages=128 When I run this, hugepages seem to be on: cat /proc/meminfo | grep Huge
Recommended Posts