Skip to content

blkback: Token-based QoS resource limiting for VBD I/O.

William Pitcock xen-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blkback: Implement VBD QoS mechanics.drivers/xen/blkback/blkback.c drivers/xen/blkback/common.h+28 -00 replies
2/2blkback: Read "tokens-refill", and "tokens-max" xenstore values to provide QoS parameters per device.drivers/xen/blkback/xenbus.c+5 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] blkback: Token-based QoS resource limiting for VBD I/O.

This patch series is a completed version of the I/O QoS work that I have been doing in the blkback driver. The end goal of this work is to enable constructs in the vm config file to define a ratelimiting policy for I/O accesses.

This is important because on systems where LVM+AoE are used, I/O performance is a larger challenge than with local disks. As such, the ability to reduce the effects of guests performing a lot of I/O operations is desirable.

This patch series was inspired by the UML 'token-limiter' patch, which was developed with a similar rationale. However, unlike the token-limiter patch the QoS limitation is enforced in the backend, which allows any paravirtualized guest to be run without the ability of getting around the QoS limits.

This patch series provides the host kernel side. Patches to xend will be necessary, and it may be desirable to see the QoS stats in the guest. However, the guest side (blkfront) would need to be modified to display these stats.

William Pitcock (2):
blkback: Implement VBD QoS mechanics.
blkback: Read "tokens-refill", and "tokens-max" xenstore values to
provide QoS parameters per device.

 drivers/xen/blkback/blkback.c |   22 ++++++++++++++++++++++
 drivers/xen/blkback/common.h  |    6 ++++++
 drivers/xen/blkback/xenbus.c  |    5 +++++
 3 files changed, 33 insertions(+), 0 deletions(-)