All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] htb3 & imq
Date: Tue, 13 Aug 2002 17:44:51 +0000	[thread overview]
Message-ID: <marc-lartc-102926073513426@msgid-missing> (raw)
In-Reply-To: <marc-lartc-102892233106032@msgid-missing>

> i have acheived restrictinng both in&out trafic using imq0.. i have
> marked the packets on different ineterface, hence sending them to the
> rules i want & then used **FORWARD** to imq .!.. it works pretty good,
> though done in a test bed of 4 ip.. i want to scale it to our running
> linux box handling about 250 ip's with 1.5mbps link..
> the question now i have start thinking, after Tobias Geiger'smail is -->
> what will be the cpu overhead when the linix box also runs squid in it..
>   withh htb3 & imq show the same result as shown in the test ?
> i hope & feel it will .. :)
I think the CPU is not so important.  I think there are other problems with 
shaping incoming bandwidth with imq.  First of all, you can create an extra 
queue and so extra delays.  But using a "shared" structure to manage incoming 
problems can also be a problem.  Imagine a setup where 100 kbps is split in 2 
parts of 50 and they can borrow from each other.  One class is empty and one 
class is filled.  When there is suddenly a burst in the empty class of 50 
kbps, it will take some time before the traffic in the full class will 
throttle down to 50kbps.  And don't forget the extra delay introduced by the 
imq device, so the response will even be slower.  It's better to be sure the 
50kbps is available for the bursty traffic.  Of cours, you waste some 
bandwidth, but a few kbps is enough to make telnet more responsive.
So you can do some shaping on incoming traffic, but bursty traffic is not so 
easy to mange.

To be honest, I just start reading and thinking about shaping incoming 
traffic, so any suggestions are welcome.

Stef
 
-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-08-13 17:44 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-09 19:45 [LARTC] htb3 & imq Arindam Haldar
2002-08-09 21:20 ` Stef Coene
2002-08-10  4:58 ` Arindam Haldar
2002-08-10  8:20 ` Stef Coene
2002-08-11  7:29 ` Arindam Haldar
2002-08-12 23:07 ` Tobias Geiger
2002-08-13  7:54 ` Stef Coene
2002-08-13 11:44 ` Arindam Haldar
2002-08-13 17:44 ` Stef Coene [this message]

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-102926073513426@msgid-missing \
    --to=stef.coene@docum.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.