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] Limiting Domains' Network Network Transmit Rate


On 23 Feb 2005, at 15:02, Ross C Mcilroy wrote:

I was wondering if it is possible to limit the rate of packet
transmission for individual domains.  The "Safe Hardware Access..."
paper mention's a credit based scheduler for network transmission, which
would seem to be perfect for what I need, however in the Xen netback
driver source code, the credit code seems to be taken out by the
pre-processor (with a "#if 0").

Would this credit code work if I put it back in, and if so, how can the
credit for each vif be set?  If this would not work is there any other
way of limiting the network transmission of individual domains?

Yes, we should add that back in at some point. An alternative is to use the existing 'tc' functionality in Linux for network traffic shaping and policing.

 -- Keir



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel