mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.