0 Replies Latest reply on Jul 1, 2013 8:03 PM by jiexie

    about hugepage problem in DPDK use

    jiexie Green Belt

      recently, I am studying Intel's Data Plane Developer Kit to search a solution for fast-path network processing, when I try the 1.4 version on a ubuntu server, at the stage of creating hugepage tlbfs, I met a problem.

      when creating success, there will be file nodes under /mnt/huge/, but now I try many times, there are no nodes being created though with the same operation.

      Here is my operation log, please someone give some advice, thanks!

      root@ubuntu:/home/jack/work/DPDK# echo 256 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages


      root@ubuntu:/home/jack/work/DPDK# mount -t hugetlbfs nodev /mnt/huge


      root@ubuntu:/home/jack/work/DPDK# cat /sys/devices/system/node/node0/meminfo |grep Huge

      Node 0 AnonHugePages:         0 kB

      Node 0 HugePages_Total:   256

      Node 0 HugePages_Free:    256

      Node 0 HugePages_Surp:      0

      root@ubuntu:/home/jack/work/DPDK# ls /mnt/huge/