I had the problem, that xmrig always told me on my Linux machines, that huge pages are disabled.
To create/enable huge pages on Debian 9 you just need to execute just two commands:
echo 128 > /proc/sys/vm/nr_hugepages
sysctl -w vm.nr_hugepages=128
This will enable 128 pages, for mining 16 or 32 pages should be more than enough.
Huge pages increased my xmrig mining speed by 20%-30%.
Happy mining!