Skip to contentSkip to conversation

simple traffic shaping problem

LARTC BAKONYI Péter - paha 2 participants 2 messages Feb 3, 2002 – Feb 4, 2002

lore
Share & tools
lore
#0 lore raw

Hi All,

I read the advanced networking howto and find a useful way to shape my adsl link.

is says:

"tc qdisc add dev ppp0 root tbf rate 220kbit latency 50ms burst 1500

[...]
Change 220kbit to your uplinks *actual* speed, minus a few percent. If you have a really fast modem, raise 'burst' a bit. "

My adsl's upload brandwidth is about 120 kbits/sec, download brandwidth is about 384 kbits/sec.

So I use

tc qdisc add dev ppp0 root tbf rate 100kbit latency 50ms burst 1500

but after this command upload falls down to ~20-30 kbita/sec average. as I see in iptraf, the upload speed can reach the needed 100 kbits/sec but it 'hangs' very often.

can you help me with the right parameters?

thank you,

--+--BYE:-----# an FTC Handball Fan & #-------------- mailto:[email protected] | tel:+36-30-9480314 | icq:10257749 BME -= http://paha.hu && http://ftc.handball.hu =- INFO ---------------> a Debian Linux user <------PAHA--+--

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

#1 lore raw
Quoted 7 lines · BAKONYI P?ter - paha

So I use

tc qdisc add dev ppp0 root tbf rate 100kbit latency 50ms burst 1500

but after this command upload falls down to ~20-30 kbita/sec average. as I see in iptraf, the upload speed can reach the needed 100 kbits/sec but it 'hangs' very often.

Raise latency too, 50ms*100kbit/sP00bitsb5 bytes, which is somewht less then a packet.

Quoted 1 line

can you help me with the right parameters?

I think this will help, but let us know!

Regards,

bert

Signature · 7 lines
http://www.PowerDNS.com          Versatile DNS Software & Services
http://www.tk                              the dot in .tk
Netherlabs BV / Rent-a-Nerd.nl           - Nerd Available -
Linux Advanced Routing & Traffic Control: http://ds9a.nl/lartc
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/