queue pair vs cpu cores
by Rajinikanth Pandurangan
Hi
As per understanding, using SPDK we can achieve full performance of a SSD
with 1 core and there is 1 queue pair per thread and 1 thread per core.
Typically applications spans multiple threads. As locking is discouraged
in SPDK, we have to map each thread to a queue pair. By doing so, we might
end up keeping all the cores busy just for IO polling. How do you guys
compare this scenario with Kernel mode in-terms of overall performance and
utilization? How do we control cpu utilization with no locks while
satisfying application that spans multiple threads?
Thanks,
Raj