[LARTC] simple traffic shaping problem

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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--+--



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux