[Question] Configuring CPU Cores for NVMe Target & Host in Linux Kernel

Jigao Luo jigao.luo at outlook.com
Tue Jun 4 14:10:30 PDT 2024


Hi everyone,

I am benchmarking NVMe over Fabrics Target and Host using both the Linux 
kernel driver and the SPDK driver. In SPDK, there is an option to 
specify a core mask that limits the CPU cores on which SPDK can execute 
work items. The SPDK team provides a benchmark report that demonstrates 
the core scalability of NVMe over Fabrics Target and Host: 
https://ci.spdk.io/download/performance-reports/SPDK_rdma_mlx_perf_report_2401.pdf

I am curious if there is a similar parameter available in the Linux 
kernel target/host driver. I have not been able to find such a 
parameter. Can you confirm if it is possible to configure the number of 
cores used by the Linux kernel NVMe driver? If this configuration is not 
available, could you provide me guidance on understanding core 
scalability in the Linux implementation?

Additionally, I have a question regarding the Linux NVMe target driver 
(RDMA): Is it possible to configure multiple NVMe SSDs on the same 
addr_trsvcid (e.g., port 4420) on the target machine?

Thank you for your assistance.

Best regards,
Jigao




More information about the Linux-nvme mailing list