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

Re: [Xen-devel] Network questions



> 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


 


Rackspace

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