All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] RFC: Implement I/O QoS in dom0
@ 2009-03-31  2:53 William Pitcock
  2009-03-31  2:12 ` [PATCH 1/2] blkback: Implement VBD QoS mechanics William Pitcock
  2009-03-31  2:38 ` [PATCH 2/2] blkback: Add default policy values for I/O QoS code William Pitcock
  0 siblings, 2 replies; 6+ messages in thread
From: William Pitcock @ 2009-03-31  2:53 UTC (permalink / raw)
  To: xen-devel

Greetings,

This patch series against xen.git implements a nieve token-based QoS
limiter for I/O accesses using blkback. The idea is to ensure a fair
share of disk I/O resources to all guests on the machine. Right now
if you have a setup involving AoE, ensuring guest reliability is much
more complex because the AoE layer bypasses the system scheduler.

This patchset intends to add simple QoS limits. It was inspired by the
'token-limiter' patch for UML, which is quite effective for limiting
I/O usage. However, since the limits are enforced by the host, this means
that users cannot get around the QoS limits by using a different kernel.

This work is not yet complete, see my commit commentary for things that
need to be done.

Mostly right now we need to consider whether a sysctl interface or a
sysfs interface would be best to implement for tweaking the blkback
limits.

Also please note that all of this applies to paravirtualized guests only,
HVM guests go through qemu-dm, which can be effectively limited using
ionice.

Please also note that this is a test patch only, and is not the final
version. Commentary and discussion of this patch and ways that it could be
changed/improved would be desirable.

William Pitcock (2):
  blkback: Implement VBD QoS mechanics.
  blkback: Add default policy values for I/O QoS code

 drivers/xen/blkback/blkback.c   |   22 ++++++++++++++++++++++
 drivers/xen/blkback/common.h    |    6 ++++++
 drivers/xen/blkback/interface.c |    9 +++++++++
 3 files changed, 37 insertions(+), 0 deletions(-)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-03-31 12:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-31  2:53 [PATCH 0/2] RFC: Implement I/O QoS in dom0 William Pitcock
2009-03-31  2:12 ` [PATCH 1/2] blkback: Implement VBD QoS mechanics William Pitcock
2009-03-31  2:38 ` [PATCH 2/2] blkback: Add default policy values for I/O QoS code William Pitcock
2009-03-31  7:22   ` Jeremy Fitzhardinge
2009-03-31  8:12     ` Ian Campbell
2009-03-31 12:25     ` William Pitcock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.