All of lore.kernel.org
 help / color / mirror / Atom feed
* A question regarding to MSIX interrupts for NVME
@ 2013-08-27 20:56 Xuehua Chen
  2013-08-27 21:31 ` Keith Busch
  0 siblings, 1 reply; 8+ messages in thread
From: Xuehua Chen @ 2013-08-27 20:56 UTC (permalink / raw)


Hi, All,

I have a question regarding to the MSIX interrupts used by the linux
nvme driver to consult you.

It seems to me that admin queue is sharing vector 0 with IOCQ 1 now.
Is there any good reason
that admin queue should not have its own vector? It seems to me this
could makes interrupt
coalescing of nvme a bit strange due to the following reason.

In NVMe 1.1 spec, 5.12.1.9 Interrupt Vector Configuration, it is mentioned that

?By default, coalescing settings are enabled for each interrupt
vector. Interrupt coalescing is not supported for
the Admin Completion Queue.?

If a user want to enable coalescing for IOCQ 1, this will enable the
coalescing for admin queue
well since the interrupt vector are shared and violate the spec. So
this somehow makes IOCQ 1
different from other IOCQs.

Also does the spec don?t s support interrupt for ACQ because it want
ACQ be processed as soon
as possible? In the current implementation, admin queue commands could
be delayed when there
are lots of entries in IOCQ1 being processed. Maybe a separate vector
for admin queue could be
better for such a situation?

The above are my concerns on the current implementation of linux nvme
driver regarding to the
MSIX interrupts. Really want to know your thoughts and opinions on this.

Thanks a lot!

Best regards,

Xuehua

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-08-28 18:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-27 20:56 A question regarding to MSIX interrupts for NVME Xuehua Chen
2013-08-27 21:31 ` Keith Busch
2013-08-27 22:13   ` Xuehua Chen
2013-08-27 22:35     ` Keith Busch
2013-08-28  1:04       ` Xuehua Chen
2013-08-28 16:58         ` Xuehua Chen
2013-08-28 17:14           ` Matthew Wilcox
2013-08-28 18:49             ` Xuehua Chen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.