130 likes | 289 Views
期末報告. CCUCOMM 網路前瞻實驗室 Yi-Chi Cheng 鄭伊騏. Outline. Introduction Test Result Conclusion. Scenario. Script. tc qdisc add dev ixp1 root handle 1:0 htb tc class add dev ixp1 parent 1:0 classid 1:1 htb rate 100Mbit tc class add dev ixp1 parent 1:1 classid 1:10 htb rate B bit
E N D
期末報告 CCUCOMM網路前瞻實驗室Yi-Chi Cheng 鄭伊騏 ANT LAB@CCU COMM
Outline • Introduction • Test Result • Conclusion ANT LAB@CCU COMM
Scenario ANT LAB@CCU COMM
Script • tc qdisc add dev ixp1 root handle 1:0 htb • tc class add dev ixp1 parent 1:0 classid 1:1 htb rate 100Mbit • tc class add dev ixp1 parent 1:1 classid 1:10 htb rate Bbit • tc qdisc add dev ixp1 parent 1:10 handle 10:0 bfifo limit 0 • tc filter add dev ixp1 parent 1:0 protocol ip prio 10 u32 match ip dport 21 0xff flowid 1:10 ANT LAB@CCU COMM
ROOT(100 Mbit) B bit Others (Dest. Port=21) Filter ANT LAB@CCU COMM
Test Result – Accuracy(1) ANT LAB@CCU COMM 百分比=(數值/頻寬)-1
Test Result – Accuracy(2)with overhead control ANT LAB@CCU COMM 百分比=(數值/頻寬)-1
Test Result - LatencyB=8K ( in µSec) ANT LAB@CCU COMM
Test Result - LatencyB=32K ( in µSec) ANT LAB@CCU COMM
Test Result - LatencyB=64K ( in µSec) ANT LAB@CCU COMM
Test Result - LatencyB=1M ( in µSec) ANT LAB@CCU COMM
Conclusion • 由準確性來看:HTB所切割出來的頻寬,在封包長度較短時,不是非常準確。 • 由Latency來看:HTB表現的十分穩定,不會因為網路流量改變,網路的Load變高,而造成其封包延遲的提高。 ANT LAB@CCU COMM
Future Work • Find out why HTB can’t run so precisely? • Htb_timer、Htb_rate_timer • According to the session description add the TC command automatically. ANT LAB@CCU COMM