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] Strange HTB problem
Date: Wed, 02 Apr 2003 20:14:50 +0000	[thread overview]
Message-ID: <marc-lartc-104931453807601@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104931203304565@msgid-missing>

On Wednesday 02 April 2003 21:32, Venceslav Vatashki wrote:
> Hello friends,
> I have small LAN network with 5 computers.I use HTB init script
> with configuration like this :
> //////
> RATE€Kbit
> PRIO=5
> LEAF=sfq
> RULE\x192.168.1.[1..6]
> //////
> The problem is when user start to download with Flashget,MassDownloader
> (with 10 threads) he kills the internet connection (240Kbit) without
> overlimiting his 80Kbit. Other users get 1-2kbps, witch is extremely
> unpleasant.
So you have 240Kbit, 1 user uses his 80kbit and other users don't get any 
bandwidth.  Are all these users in the same class?  If they are, it's the sfq 
qdisc that causes problems.  
It will create 1 "queue" for each flow.  Flows have different ip-addresses and 
ports.  So the 10 downloads ends up in 10 different queues.  So the more 
sessions a user opens, the more bandwidth he gets
You can try the esfq qdisc.  That's an enhanced sfq qdisc.  You can create the 
different queues based on ip-addresses and/or ports and this for source 
and/or destination.  In your case, you can use the source address so each 
user has his own queue. So each user has the same amount of bandwidth.  I 
have a link somewhere on the faq page on www.docum.org.

> Btw which is the HTB version that ships with linux 2.4.20 ?
I think it's 3.7 but it's the same code as version 3.6.

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/

      reply	other threads:[~2003-04-02 20:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-02 19:32 [LARTC] Strange HTB problem Venceslav Vatashki
2003-04-02 20:14 ` 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-104931453807601@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.