Chapter XXIV. DPDK Driver
Software/Driver Configuration and Fine Tuning
5.1.
Huge Pages
Using script
Run the res_hugepages.sh shell script (copied to /sbin during installation):
[root@host~]# res_hugepages.sh
Manual
i.
Mount hugetlbfs:
[root@host~]# mkdir -p /mnt/huge
[root@host~]# mount -t hugetlbfs nodev /mnt/huge
ii. Reserve Huge Page memory manually:
•
x86_64
[root@host~]# echo 1024 >
/sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
•
POWERPC64
[root@host~]# echo 512 > /sys/devices/system/node/node0/hugepages/hugepages-
16384kB/nr_hugepages
In case of dual socket machines, run the above command for other CPU nodes.
Chelsio Unified Wire for Linux
335
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers