> 在 2015年3月24日,下午1:44,lyt_yudi <[email protected]> 写道:
> 
>> Oh, you should ignore me. I messed up disk IO limits with network limits :-(
>> 
>> So you are right, we use TC to limit traffic...
> 
> ok… this is a bug for that (rate limit can’t work)?  

hi, 

just test it. got some result.

from the GUI, can’t be enabled policy(rate_limit) successfully.

for example:
# tc class show dev tap100i0
“here no content output"

but from the CLI, can enable policy successfully.

# /sbin/tc qdisc add dev tap100i0 handle ffff: ingress
# /sbin/tc filter add dev tap100i0 parent ffff: protocol ip prio 50 estimator 
1sec 8sec u32 match ip src 0.0.0.0/0 police avrate 100kbps drop flowid :1
# /sbin/tc qdisc add dev tap100i0 root handle 1: htb default 1
# /sbin/tc class add dev tap100i0 parent 1: classid 1:1 htb rate 100kbps burst 
10kb

# tc class show dev tap100i0
class htb 1:1 root prio 0 rate 800000bit ceil 800000bit burst 10Kb cburst 1600b 

so, when use the OVS to create a network and configure it, there will be a bug, 
can’t be enabled policy successfully.



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to