我已经安装了ubuntu12.04和openvswitch和xen,我知道xen domU发送的限制流量可以是xen netback发送的速率限制,也可以是openvswitch使用的"ingress_policing“。
但是,因为下载xen domUs中的某些东西可能会占用我们所有的带宽,所以有一种方法可以限制xen domUs接收的流量吗?
发布于 2012-10-10 08:45:24
最后,我们使用这个限制进入vm的通信量,它在vm用户从外部下载数据时生效:
ovs-vsctl -- set port vps2 qos=@newqos -- --id=@newqos create qos type=linux-htb other-config:max-rate=5000000 queues=0=@q0 \
-- --id=@q0 create queue other-config:max-rate=5000000而ingress_policing将在vm发出的流量中生效:
ovs-vsctl set interface vps2 ingress_policing_rate=10000
ovs-vsctl set interface vps2 ingress_policing_burst=100https://serverfault.com/questions/435988
复制相似问题