Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: "BAKONYI Péter - paha" <paha@paha.hu>
To: lartc@vger.kernel.org
Subject: [LARTC] simple traffic shaping problem
Date: Sun, 03 Feb 2002 18:21:43 +0000	[thread overview]
Message-ID: <marc-lartc-101276057903430@msgid-missing> (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:paha@paha.hu | tel:+36-30-9480314 | icq:10257749
BME -= http://paha.hu && http://ftc.handball.hu =- INFO
--------------->  a Debian Linux user  <------PAHA--+--

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/

             reply	other threads:[~2002-02-03 18:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-03 18:21 BAKONYI Péter - paha [this message]
2002-02-04 18:17 ` [LARTC] simple traffic shaping problem bert hubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-lartc-101276057903430@msgid-missing \
    --to=paha@paha.hu \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox