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] Network questions

To: "Xiaofang Chen" <xiachen@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Network questions
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Mon, 31 May 2004 22:52:36 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Mon, 31 May 2004 22:54:06 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Mon, 31 May 2004 13:47:29 MDT." <002c01c44748$1b3063b0$7eb6639b@XFCHEN>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> I wonder if there is some way to control the network traffic of new 
> domains(other than Dom0) in Xen.
> I mean although we can allocate an external IP address for each new domain, 
> and the new domains can
> access the WAN as they wish, there is only one physical network card.
> So if each new domain has a lot of network traffic, the interrupts will keep 
> the whole system very busy. 
> 
> I know we can control the CPU time, memory, and disk for new domains.
> So can we do something similar to that kind of scheduling for network?
> Or can someone tell me which part of the source code relates to this?

See "xc_dom_control.py vif_setsched". You can use it to set rate
limit for a domain's transmit bandwidth in bytes per microsecond.

As regards packets received, Xen is careful to do "early discard"
on incoming packets for domains that are unable to keep up with
packet arrivals, so only minimal resources are wasted. 

Under some deployment scenarios I guess it might be useful to be
able to rate limit incoming traffic as well as out going. We
currently don't do this, but it might be possible to configure
Linux tc to do this under the NGIO model in the unstable tree.

Ian


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

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