Skip to contentSkip to conversation

Network bandwidth control in Xen

DISCUSSION Pradeep Padala 2 participants 2 messages May 16, 2008 – May 23, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

Is there a way to control the network bandwidth used by a virtual machine in Xen? I remember seeing some related features in unstable branches, but I haven't been following recently. The XenEnterprise version seems to have this.

===

Quoted 1 line

From http://www.xensource.com/PRODUCTS/Pages/XenEnterprise.aspx

To guarantee that compute power is directed to the most essential workloads that require them, Citrix XenServer Enterprise Edition allows administrators to set quality-of-service (QoS) priorities and levels for CPU utilization as well as disk and network bandwidth.
===

Does the open source version have this as well? If yes, can I set the bandwidth using xm?

Thanks,
Pradeep

#1 lore raw
Quoted 7 lines

Subject: [Xen-devel] Network bandwidth control in Xen

Hi,

Is there a way to control the network bandwidth used by a virtual machine in
Xen?

You can only rate limit the outbound network traffic from guest domains using the "rate" parameter of the vif=['...'] option. For other or more advanced QoS configurations you might have to fall back on Linux kernel capabilities like queuing disciplines etc.