<html><head><meta http-equiv="Content-Type" content="text/html charset=gb2312"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">在 2015年3月24日,下午1:23,Dietmar Maurer <<a href="mailto:dietmar@proxmox.com" class="">dietmar@proxmox.com</a>> 写道:</div><br class="Apple-interchange-newline"><div class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">Oh, you should ignore me. I messed up disk IO limits with network limits :-(</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">So you are right, we use TC to limit traffic...</span></div></blockquote></div><br class=""><div class="">ok… this is a bug for that (rate limit can’t work)? </div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">maybe consider use OVS... </div><div class=""><br class=""></div><div class="">To rate limit VM1 to 1 Mbps, use these commands:</div><div class=""><p class=""><code class="">ovs-vsctl set interface tap0 ingress_policing_rate=1000<br class="">ovs-vsctl set interface tap0 ingress_policing_burst=100</code></p><div class=""><a href="http://openvswitch.org/support/config-cookbooks/qos-rate-limiting/" class="">http://openvswitch.org/support/config-cookbooks/qos-rate-limiting/</a></div><div class=""><br class=""></div><div class="">PVE can easy implementation it when use the OVS. </div></div><div class=""><br class=""></div><div class="">Thanks.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>