How to allow large pages in linux

Enter following command:

sudo sysctl -w vm.nr_hugepages=128

or enter following commands to keep it allowed after reboot:

echo 'vm.nr_hugepages=128' >> /etc/sysctl.conf

sudo sysctl -p

YOUR REACTION?