xend: VBD QoS policy bits

Add the ability to define VBD QoS policy in the xend layer.

Consider the following vbd entry:

vbd = [
   'phy:/dev/server/virtualmachine1-disk,xvda1,w,credit=3D5000/s@50ms',
]

This means that a VM may perform 5000 I/O operations per second, with
credit being replenished every 50 milliseconds.

The 'credit' xenstore value is by the blkback driver to ratelimit I/O
operations for the specific device.

Signed-off-by: William Pitcock <nenolod@dereferenced.org>
This commit is contained in:
Keir Fraser committed 2009-08-14 17:10:11 +01:00
1 parent 0cd32f209e
commit 2ca1b6fff7
2 files changed
+41 -3

No files matched your search

+1
View File
@@ -82,6 +82,7 @@ vbd
- uname
- dev (ioemu:, .. etc)
- mode (r, w. w!)
- credit
vif
- type
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.