Hi All,
1) DPDK fails if huge-pages are not reserved. But should not it fall back to regular 4k pages ?
2) And how user space should know the requirement of number of hug pages before-hand ?
a. Rather should it always be reserved before-hand in the system?, with that we might waste some.
root@bcm958742t:~# /usr/share/spdk/examples/nvme/perf -r 'trtype:PCIe traddr:0000:01:00.0' -q 128 -s 4096 -w write -d 2048 -t 30 -c 0x1
Starting DPDK 16.11.1 initialization...
[ DPDK EAL parameters: perf -c 1 -m 2048 --file-prefix=spdk_pid3[ 187.734815] audit: type=1701 audit(1500448013.777:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3465 comm="perf" exe="/usr/share/spdk/examples/nvme/perf" sig=6 res=1
465 ]
EAL: Detected 8 lcore(s)
EAL: No free hugepages reported in hugepages-2048kB
PANIC in rte_eal_init():
Cannot get hugepage information
1: [/usr/share/spdk/examples/nvme/perf() [0x4197d4]]
Aborted (core dumped)
Regards,
Oza.