Re: [PATCH 2/2] drivers: xen/block: add multi-page ring support

From: Roger Pau Monné
Date: Mon Feb 02 2015 - 05:43:56 EST


El 23/01/15 a les 10.14, Bob Liu ha escrit:
> Extend xen/block to support multi-page ring.
> * xen-blkback notify blkfront with feature-multi-ring-pages
> * xen-blkfront write to xenstore about how many pages are used as the ring
>
> If using 4 pages as the ring, inflight requests inscreased from 32 to 128 and
> IOPS improved nearly 400% on our system.
>
> Signed-off-by: Bob Liu <bob.liu@xxxxxxxxxx>
> ---
> drivers/block/xen-blkback/xenbus.c | 86 +++++++++++++++++++++++++--------
> drivers/block/xen-blkfront.c | 94 ++++++++++++++++++++++++++----------

This requires a patch to xen/include/public/io/blkif.h in the Xen
repository describing how this protocol extension is going to work
before reviewing the Linux implementation.

Roger.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/