* Xen block backend/frontend multiqueue support
@ 2014-03-19 12:00 haofeng hua
2014-03-19 15:09 ` Konrad Rzeszutek Wilk
0 siblings, 1 reply; 2+ messages in thread
From: haofeng hua @ 2014-03-19 12:00 UTC (permalink / raw)
To: Konrad Rzeszutek Wilk, xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 546 bytes --]
Hi all, there are some questions about Xen block backend/frontend
multiqueue support.
In linux, block multiqueue API is used to allocate per CPU a block thread
to handle the block request.
In a system on xen hypervisor, the request from PV guest is put into the
shared ring and passed to the driver domain.
So how to use multiqueue API in frontend driver and backend driver
respectively?
What I think is using multiqueue API in backend driver to dispatch requests
from shared ring, does that work? What about the frontend driver?
Best regards.
[-- Attachment #1.2: Type: text/html, Size: 641 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Xen block backend/frontend multiqueue support
2014-03-19 12:00 Xen block backend/frontend multiqueue support haofeng hua
@ 2014-03-19 15:09 ` Konrad Rzeszutek Wilk
0 siblings, 0 replies; 2+ messages in thread
From: Konrad Rzeszutek Wilk @ 2014-03-19 15:09 UTC (permalink / raw)
To: haofeng hua; +Cc: xen-devel
On Wed, Mar 19, 2014 at 08:00:00PM +0800, haofeng hua wrote:
> Hi all, there are some questions about Xen block backend/frontend
> multiqueue support.
> In linux, block multiqueue API is used to allocate per CPU a block thread
> to handle the block request.
> In a system on xen hypervisor, the request from PV guest is put into the
> shared ring and passed to the driver domain.
> So how to use multiqueue API in frontend driver and backend driver
> respectively?
You would have to have more rings.
> What I think is using multiqueue API in backend driver to dispatch requests
> from shared ring, does that work? What about the frontend driver?
Same thing I believe - the frontend would allocate X amount of rings - where
the X is based on the amount of CPUs.
The backend would then have to support X amount of rings with the frontend.
>
> Best regards.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-19 15:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-19 12:00 Xen block backend/frontend multiqueue support haofeng hua
2014-03-19 15:09 ` Konrad Rzeszutek Wilk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).