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: [Xen-changelog] Plumb network vif credit-based rate

To: Matt Ayres <matta@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [Xen-changelog] Plumb network vif credit-based rate limiting thorugh xenbus
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Sat, 1 Apr 2006 17:55:38 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 01 Apr 2006 16:59:59 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <442EAB90.30604@xxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <E1FPN2f-0008LL-Mh@xxxxxxxxxxxxxxxxxxxxx> <442EAB90.30604@xxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

On 1 Apr 2006, at 17:34, Matt Ayres wrote:

Plumb network vif credit-based rate limiting thorugh xenbus
and xend into xm guest config files.
A new vif parameter 'rate' is supported, with an optional time window
paremeter for specifying granularity of credit replenishment. The default
window is 50ms. For example:
 'rate=10Mb/s'  'rate=250KB/s'  'rate=1MB/s@20ms'

Is this rate in+out or out only? Also, perhaps Chris could explain for us non-kernel hackers the purpose of specifying the credit replenishment granularity and how it can be beneficial to tune it under certain circumstances?

This is out only, but could fairly easily be extended to input too.

Granularity determines the frequency with which the VIFs transmission credit is replenished. So, for example, if you specify 10MB/s@50ms then the VIF is credited with about 50 kilobytes of credit every 50ms. The credit does not accumulate.

A smaller replenishment window will make for slightly less bursty transmission, but there is an overhead as the replenishment rate is increased. Actually we believe that 50ms is a good tradeoff and I wouldn't really expect that anyone would bother to change it.

 -- Keir


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

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