Error in DMA transfer when process restart
Weifeng Su
Hi Expert,
We are testing a new NVME disk. In the worst case, the DMA feedback duration of the NVME disk may reach seconds. In this case, I consider that if the process exits abnormally during the DMA transfer process, After another process restarts, it applies for the memory that is not finished. As a result, memory overrun may occur. However, DPDK and SPDK do not handle this problem. I would like to ask how the spdk is considered in this case? Any feedbacks are welcome!
Brs
Su Weifeng
Liu
The kernel vfio-pci/IOMMU will help to pin memory pages, I think it can cover the case you described here.
Quoted 21 lines
-----Original Message-----
From: Weifeng Su <swf504(a)163.com>
Sent: Tuesday, April 20, 2021 11:30 AM
To: spdk(a)lists.01.org
Subject: [SPDK] Error in DMA transfer when process restartHi Expert,
We are testing a new NVME disk. In the worst case, the DMA feedback
duration of the NVME disk may reach seconds. In this case, I consider that if the process exits abnormally during the DMA transfer process, After another process restarts, it applies for the memory that is not finished. As a result, memory overrun may occur. However, DPDK and SPDK do not handle this problem. I would like to ask how the spdk is considered in this case?
Any feedbacks are welcome!Brs
Su Weifeng
_______________________________________________
SPDK mailing list -- spdk(a)lists.01.org
To unsubscribe send an email to spdk-leave(a)lists.01.org
Weifeng Su
We are using aarch64 + SMMU, Is the solution vfio-pci/IOMMU still work?