Software/Driver Configuration And Fine Tuning; Huge Pages - Chelsio Communications DPDK Installation And User Manual

Driver for linux
Table of Contents

Advertisement

Chapter 5. Software/Driver Configuration and Fine Tuning

5. Software/Driver Configuration and Fine Tuning

5.1.

Huge Pages

5.1.1. Using script
Run the res_hugepages.sh shell script (copied to /sbin during installation):
[root@host~]# res_hugepages.sh
5.1.2. 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 DPDK Driver for Linux
14

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DPDK and is the answer not in the manual?

Questions and answers

Table of Contents