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:paha@paha.hu | tel:+36-30-9480314 | icq:10257749 BME -= http://paha.hu && http://ftc.handball.hu =- INFO ---------------> a Debian Linux user <------PAHA--+--
On Sun, Feb 03, 2002 at 07:21:43PM +0100, BAKONYI P?ter - paha wrote:> 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/s=5000bits=625 bytes, which is somewht less then a packet.> can you help me with the right parameters?I think this will help, but let us know! Regards, bert -- 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