[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Xen block backend/frontend multiqueue support

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.

Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.