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] bandwidth limit and guarantee for DomUs

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] bandwidth limit and guarantee for DomUs
From: Kuriakose Mathew <kmathew123@xxxxxxxxx>
Date: Fri, 21 May 2010 20:04:47 +0530
Delivery-date: Fri, 21 May 2010 07:35:46 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=ipQBQJSXe948wVTfzcvRh+P33iiWHhKOz3DOmNoOyJc=; b=Nlc2N15b8arFVODeywkifj/zW9NS2RiQd5iCBM7+Bams3AEwimCAYZ0kWELFus+mb3 HkfWySN6Cj4d+Cv8NkfUOhf9jYM1nXrdjmpPr6TUICXvPBSqmXC2s96DzMyhEoJHGssg U50pf3LsVWnR8NTG1DTPcJFcz+D4yvfoRUa1Q=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nASvUh20FJ2M2cz+GCY2LpBOQ2uU5EXl3Rbqi/uOQyogUcj2ZvYUi3z1XrHKDcfXTT KQPK8i0pG1rS9IsbOXv6BUqgD2R4VLy88bWi875xEMi8O3Bc6JcpDVc3paz/qi6mihm1 Uy+3gXwOj77d8rEsqSHSwZHXgFS1smTuovDZ0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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>