Recent Post»

Recent Comment»

« 2024/5 »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
05-09 12:40

 

'Ingress policing rate'에 해당되는 글 1

  1. 2014.02.26 Open vSwitch를 이용한 QoS 설정하기
 

Open vSwitch를 이용한 QoS 설정하기

Network | 2014. 2. 26. 22:58 | Posted by 짱아
반응형


ingress_policing_rate :  ovs 포트에서 전송할 수 있는  Kbps

ingress_policing_burst : ingress_policing_rate을 넘어서 전송할 수 있는 최대 데이터량 Kb

Goal:

Rate-limit the traffic sent by each VM to 1 Mbps.

Configuration:

For both VMs, we modify the Interface table to configure an ingress policing rule.  There are two values to set:

  • “ingress_policing_rate”: the max-rate in kbps that this VM should be allowed to send.
  • “ingress_policing_burst”: a parameter to the policing algorithm to indicate the maximum amount of data (in kb) that this interface can send beyond the policing rate.

To rate limit VM1 to 1 Mbps, run:

ovs-vsctl set Interface tap0 ingress_policing_rate=1000

ovs-vsctl set Interface tap0 ingress_policing_burst=100

Similarly, to limit VM2 to 10 Mbps, run:

ovs-vsctl set Interface tap1 ingress_policing_rate=10000

ovs-vsctl set Interface tap1 ingress_policing_burst=1000



반응형
: