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

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

To: Kuriakose Mathew <kmathew123@xxxxxxxxx>
Subject: Re: [Xen-devel] Re: bandwidth limit and guarantee for DomUs
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Mon, 24 May 2010 08:02:10 +0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 23 May 2010 17:05:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTime6Jlq5Myb2wZk3dZVNosadFSII8hNcAEDkTZK@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> <AANLkTime6Jlq5Myb2wZk3dZVNosadFSII8hNcAEDkTZK@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3
You reimplemented this:
http://xenbits.xensource.com/xen-unstable.hg?rev/dadadf9aeee7 ? This patch is
for outbound (from domU) traffic only.

For inbound (from domU), you can use tc on vifx.y.

Zhigang

On 05/22/2010 02:38 PM, Kuriakose Mathew wrote:
> 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
> <mailto: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


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>