WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] Re: bandwidth limit and guarantee for DomUs

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Re: bandwidth limit and guarantee for DomUs
From: Kuriakose Mathew <kmathew123@xxxxxxxxx>
Date: Sat, 22 May 2010 12:08:54 +0530
Delivery-date: Fri, 21 May 2010 23:40:15 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=1xCQCWmw85oDvqhB4neRL4+K5QMB/we86sLoz2SZ9Nk=; b=G9L2mA6TPHC63zOLjVa3p/A037d/3+50+CFLuXCkcMZN6EM/3gp8wemKgVtXttvZUe NYr/LbGEo286BmSPyc8INLO0Z6l/LkSuXHmj6eVjP6ZgD9morzvcOf0iF9kDBHIjp5l0 z3N6XSkWgMOoNRFakM7Rmj1nPWVVDJtQsJjZ8=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=MnmyyDn4rorw+plR3sTeUbSL5vA2NSoPFUY7IZTkLHg3FHXAB2XnLEKz3SE/LCn9kz aO8uwPSETZgpETx57l1pNmiBsxc8QVxhle1jRjlJvtdDjDscmwXQhOWP/9ZyfLH0j2QL 5hz9KnxT4VCr2tamwmyZJ8cAWmgvK5/Zf7rMU=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTilTZ016iGhYr594-TlCNxrJWlXZs7YfXrawfcOY@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTilTZ016iGhYr594-TlCNxrJWlXZs7YfXrawfcOY@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Will the CPU scheduler algo for providing weights work in case of bandwidth weights?
Or any other better suggestions in this direction.

Thanks in advance
Mathew


On Fri, May 21, 2010 at 8:04 PM, Kuriakose Mathew <kmathew123@xxxxxxxxx> wrote:
Hi,

I have done a small code modification so that the bandwidth limit of each domU can be limited.

The implementation goes like this

In the file  linux-2.6-xen-sparse/drivers/xen/netback/netback.c
In the function, net_tx_action
netif->remaining_credit and  netif->credit_usec values are assigned such that in credit_usec seconds the domain can send remaining_credit bytes.

Now I want to implement something like providing guarantees to domains. That is whatever be the bandwidth utilization of say DomU2 DomU1 should be able to deliver at minimum rate similar to setting cpu cap and weights.

Can someone point me to some algorithm or reference in this direction

Thanks in advance
Mathew

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>