英特尔 SPDK ioat 示例失败 运行

intel SPDK ioat example fail to run

我是 intel SPDK 的新手,在 运行 示例代码时遇到了一些问题。

我按照this page所说的设置了BIOS。

Intel® Hyper-Threading Technology off

Intel SpeedStep® technology enabled

Intel® Turbo Boost Technology disabled

然后我 git 从 this page 和 运行 克隆所有命令。测试命令 ./test/unit/unittest.sh return 所有单元测试通过.

但是当我 运行 这个例子 examples/ioat/verify/verify 时,它 return

EAL: 24 hugepages of size 1073741824 reserved, but no mounted hugetlbfs found for that size

Starting SPDK v18.10-pre / DPDK 18.05.0 initialization...

[ DPDK EAL parameters: verify --no-shconf -c 0x1 --legacy-mem --file-prefix=spdk_pid3170 ]

EAL: Detected 16 lcore(s)

EAL: Detected 2 NUMA nodes

EAL: Multi-process socket /var/run/dpdk/spdk_pid3170/mp_socket

EAL: 24 hugepages of size 1073741824 reserved, but no mounted hugetlbfs found for that size

EAL: Probing VFIO support...

User configuration:

Run time: 10 seconds

Core mask: 0x1

Queue depth: 32

Not enough ioat channels found. Check that ioat channels are bound to uio_pci_generic or vfio-pci. scripts/setup.sh can help with this.

和scripts/setup.sh状态显示

Hugepages

node hugesize free / total

node0 1048576kB 24 / 24

node0 2048kB 0 / 800

node1 1048576kB 0 / 0

node1 2048kB 0 / 224

NVMe devices

BDF Numa Node Driver name Device name

I/OAT DMA

BDF Numa Node Driver Name

virtio

BDF Numa Node Driver Name Device Name

我的硬件是:

linux kernel version 4.15.7 with ioatdma compile as module

CPU intel Xeon E5-2695

chipset C612

如果有人能给我一些建议或给我一些关于 SPDK 的网站,那将是很大的帮助! 谢谢!

运行 ./scripts/setup.sh(无参数)。如果 I/OAT DMA 部分下没有 ioat 设备,则您无法 运行 此应用程序。也没有 hugetlbfs 挂载点。