Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Peteris Krumins <newsgroups@lf.lv>
To: lartc@vger.kernel.org
Subject: [LARTC] Data rate accuracy started failing.
Date: Wed, 29 Oct 2003 20:50:33 +0000	[thread overview]
Message-ID: <marc-lartc-106746221115806@msgid-missing> (raw)


 Dear all,

  I am an experienced unix administrator and a long time ago (1+ year)
  I made traffic-shaping system for an ISP (~400 clients).

  Each ip address requires 4 classes -
   2 for incoming (internet->client), one for international traffic,
     the other for local-country and border-country traffic.
     and
   2 for outgoing (client->internet), for the same purposes.

 Everything worked ok until last week, when more clients
 were added. The data rate (rate NNkbit) is no longer stable -
 sometimes it exceeds the rate specified and sometimes
 there is starvation. And no, there is still planty of traffic
 left, so its not a problem of bandwidth capacity.

 The technique used is htb + sfq for traffic exceeding 0.8mbit/s,
 for traffics up to 0.8mbit/s as it is not cpu-intensive
 (but depends on HZ for calculations)

 Are there any limits I am not aware of? It seems that everything
 works ok again if I remove some addresses (single address /32 or
 larger networks). I am not sure which part fails, filtering
 or actual shaping.

 And, it is vanilla Linux 2.4.20 with qos services coming with
 it.

 Also, i never came up with the other question: there has always
 been problem with tbf. For example, rate 256kbit is specified but the
 actual rate never exceeds 230 - 250kbit, so I add 30kbit for each
 rate (so 256 becoms 286kbit) so client got exactly his 256kbit.
 

thanks,
P.Krumins

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

             reply	other threads:[~2003-10-29 20:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-29 20:50 Peteris Krumins [this message]
2003-10-29 22:11 ` [LARTC] Data rate accuracy started failing Vicent Roca Daniel

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-106746221115806@msgid-missing \
    --to=newsgroups@lf.lv \
    --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