[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] bandwidth limit and guarantee for DomUs


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Kuriakose Mathew <kmathew123@xxxxxxxxx>
  • Date: Fri, 21 May 2010 20:04:47 +0530
  • Delivery-date: Fri, 21 May 2010 07:35:46 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.