7 messages in com.xensource.lists.xen-develRe: [Xen-devel] Limiting Domains' Net...
FromSent OnAttachments
Ross C Mcilroy23 Feb 2005 07:02 
Keir Fraser23 Feb 2005 10:47 
Ross C Mcilroy24 Feb 2005 01:59 
Keir Fraser24 Feb 2005 03:08 
Ross C Mcilroy25 Feb 2005 04:27 
Ross C Mcilroy25 Feb 2005 07:44 
Keir Fraser25 Feb 2005 07:51 
Subject:Re: [Xen-devel] Limiting Domains' Network Network Transmit Rate
From:Keir Fraser (Keir@cl.cam.ac.uk)
Date:02/23/2005 10:47:51 AM
List:com.xensource.lists.xen-devel

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