...
코드 블럭 | ||||
---|---|---|---|---|
| ||||
# 1. Using dpdk based python program /usr/local/bin/dpdk-hugepages.py -p 1G --setup 32G # 2. Insert 'nr_hugepages' echo 4 > /sys/kernel/mm/hugepages/hugepages-1048576kB/nr_hugepages # 3. The permanent option (but I won't recommend this, this makes the the grub penic attack in rocky linux and goes to emergency mode) vi /etc/fstab nodev /mnt/huge hugetlbfs pagesize=1GB 0 0 |
Download pktgen-dpdk from official website (make sure, the version of pktgen-dpdk is higher than dpdk → it's very fragile)
...