Why NVMe MSIx vectors affinity set across NUMA nodes?

Ganapatrao Kulkarni gklkml16 at gmail.com
Mon Jan 22 10:12:45 PST 2018


On Mon, Jan 22, 2018 at 11:35 PM, Keith Busch <keith.busch at intel.com> wrote:
> On Mon, Jan 22, 2018 at 11:25:45PM +0530, Ganapatrao Kulkarni wrote:
>> what was the need to use flag PCI_IRQ_AFFINITY in NVMe driver?
>> i dont see this flag being used widely.
>
> The flag is how we get the affinity set in the first place. Without it,
> we'd have to rely on user space to set irq affinities.

AFAIK, usually drivers sets default affinity and it is likely be node
affinity for NUMA systems.
Later, it is the user-space(like irqbalance etc) which decides the
affinity not the driver.



More information about the Linux-nvme mailing list