From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: Re: [PATCH] tools/python/xend: VBD QoS policy bits Date: Fri, 14 Aug 2009 17:19:22 +0200 Message-ID: <200908141719.22764.Christoph.Egger@amd.com> References: <20090814150428.20205CE13C@carpathia.dereferenced.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090814150428.20205CE13C@carpathia.dereferenced.org> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: William Pitcock List-Id: xen-devel@lists.xenproject.org On Friday 14 August 2009 11:48:47 William Pitcock wrote: > 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=5000/s@50ms', > ] > > This means that a VM may perform 5000 I/O operations per second, with > credit being replenished every 50 milliseconds. Does this enforce the VBD to do 5000 IO operations or none at all or is this considered as an upper limit ? > The 'credit' xenstore value is by the blkback driver to ratelimit I/O > operations for the specific device. > > Signed-off-by: William Pitcock -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Karl-Hammerschmidt-Str. 34, 85609 Dornach b. Muenchen Geschaeftsfuehrer: Thomas M. McCoy, Giuliano Meroni Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632