a question about TBF
Read shapter
9.2.2.1. Parameters & usage in Advanced Routing HOWTO
mpu
A zero-sized packet does not use zero bandwidth. For ethernet, no packet uses less than 64 bytes. The Minimum Packet Unit determines the minimal token usage for a packet
Quoted 4 lines · Huang Xin Gang
Alexey Talikov,hello!
Thanks for your help!
But my problem is still here.I found that if a packet is too short,the tick value which
corresponds to it in the "rtab" is zero.That means the packet doesn't consume any tokens when it's being sent.
Quoted 50 lines
Is my knowledge right?
==== 2002-06-03 09:09:00 you wrote:===>
Quoted 38 lines
Increase your burst it value at list MTU i.e 1500 byte
rate=ST*burst (ST system timer 100HZ for intel/amd 1024 for alpha)
rate
burst=------- and burst>MTU
STSee: Advanced routing HOWTO and for more details
Short Evaluation of Linux's TBF Queueing Discipline. Kurt Wagner 17 May 2001Quoted 7 lines · Huang Xin Gang
LARTC£¬hello£¡
I set the command following:
tc qdisc add dev eth0 root tbf rate 100kbit latency 50ms burst 120
and then I send flow with speed of 115.2kbit, and if all the packets sent is only 120bytes,the
above command is useless.
Quoted 9 lines
I thinks because the time occupied when sent a packet only 120 bytes is 120*8/(100*1024)<10ms, but Linux system produces a tick every 10ms,so every time when a packet only 120 bytes is being sent, the "toks" equals to zero always, and this packet can be sent immediately.
all the packets are sent immediately, then the speed is not limited to 100kbit.
How can I deal with this problem?
Quoted 8 lines
¡¡¡¡¡¡best regards!
¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Huang Xin Gang ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡[email protected] ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2002-06-03
,S f¢–)à–+-ü°L)šŠYš�?jya¶Ú?þf¢–f§vÏZž_æj)fj?åŠËb�ú?•ªíps–Lèm¶Ÿ?•ªírŠàQuoted 6 lines
-----------------------------------
mailto:[email protected]
BR
Alexey Talikov
FORTEK
-----------------------------------
Quoted 7 lines
= = = = = = = = = = = = = = = = = = = >
best regards!
Huang Xin Gang [email protected]
2000-02-15
-----------------------------------
mailto:[email protected]
BR
Alexey Talikov
FORTEK
-----------------------------------
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/