From: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
To: haofeng hua <huahaofeng@gmail.com>
Cc: xen-devel@lists.xen.org
Subject: Re: Xen block backend/frontend multiqueue support
Date: Wed, 19 Mar 2014 11:09:28 -0400 [thread overview]
Message-ID: <20140319150928.GA15729@phenom.dumpdata.com> (raw)
In-Reply-To: <CAJ5UBUjC_mY5waiO_kLEi2PROJc1Yo-RwSg7KWsKi2dY+cpY7w@mail.gmail.com>
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.
prev parent reply other threads:[~2014-03-19 15:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 12:00 Xen block backend/frontend multiqueue support haofeng hua
2014-03-19 15:09 ` Konrad Rzeszutek Wilk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140319150928.GA15729@phenom.dumpdata.com \
--to=konrad.wilk@oracle.com \
--cc=huahaofeng@gmail.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).