[LARTC] New tools

2004-02-12 Thread Tom Olexa
Hello everybody,
I would like to share what I created.
I was working on a router with CBQ  IMQ.
I created some tools working with the above, but maybe with other
setups as well. One is UDP traffic generator, the other is a
speed meter for CBQ.

See
http://exef.xko.cz/others/others.htm

Use in peace,
Tom


-- 
ExEf - the Ultimate Effect Processor - GNU Linux
*** http://exef.xko.cz ***


-- 
Chces kilo? Tak pripoj kamose pres VOLNY.
Vice na http://studentpartner.volny.cz/

___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] Excess BW again

2003-10-15 Thread Tom Olexa
Hello there,

I've already posted st similar, but anyway...
can anyone tell me, why the following setup

tc qdisc add dev eth0 root handle 1: htb r2q 5 

tc class add dev eth0 parent 1: classid 1:1 htb rate 512kbit ceil
512kbit tc class add dev eth0 parent 1:1 classid 1:10 htb rate
64kbit ceil 512kbit tc class add dev eth0 parent 1:1 classid 1:11
htb rate 256kbit ceil 512kbit

tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
match ip dst 195.28.103.7 flowid 1:10
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
match ip dst 195.28.103.5 flowid 1:11

doesn't distribute the excess bw in proportion of allocated bw?

Ratio I expect is 64/256, but I get some 1/2.1 or similar. This
varies according to r2q, but anyway it never gets close to 1/4.

kernel 2.4.21, htb 3.12, but also tested on 2.4.18, htb 3.6 with
similar results...

Can anyone try this setup?

Thanks, Tom

-- 
Potrebujete vice prostoru pro vase stranky?
Ptejte se na http://sluzby.volny.cz/cs/product/ftp_paid


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/


[LARTC] Excess bandwidth sharing

2003-10-08 Thread Tom Olexa
Hello there,

I do
tc qdisc add dev eth0 root handle 1: htb r2q 1 default 12
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 64kbit
ceil 512kbit tc class add dev eth0 parent 1:1 classid 1:11 htb
rate 256kbit ceil 512kbit

tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
match ip dst 195.28.103.7 flowid 1:10
tc filter add dev eth0 parent 1: protocol ip prio 1 u32 \
match ip dst 195.28.103.5 flowid 1:11

and I expect both streams to share the total 512kbit in
proportion of their rates (1/4). Unfortunately the rates are some
100/120, total 512kbit.
Can anyone tell me whatsda problem?
This behavior may vary when all rates are different.
Thanks, Tom Olexa

-- 
Potrebujete vice prostoru pro vase stranky?
Ptejte se na http://sluzby.volny.cz/cs/product/ftp_paid


___
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/