[SPDK] spdk_mem_register error on 1G aligned devdax device
Jiahao Li <lijh2015 at mail.ustc.edu.cn>
| Newsgroups | dev.linux.lists.spdk |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm testing pmem performance using SPDK (to use ioat). spdk_mem_register returned error on mmap-ed 1G aligned devdax device (Either 2M hugepages or 1G hugepages failed). It trace the problem, and found vtophys_get_paddr_memseg(at https://github.com/spdk/spdk/blob/master/lib/env_dpdk/memory.c#L1105) returned error. I also tried 2M alignment, it worked fine on both hugepage sizes. What can be the cause of this problem? Thanks, Jiahao Li