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] Split bandwidth equally per IP
Date: Thu, 04 Dec 2003 19:44:28 +0000	[thread overview]
Message-ID: <marc-lartc-107056829527147@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107056586923918@msgid-missing>

On Thursday 04 December 2003 19:52, Mihai Vlad wrote:
> It's me again, with the same problem.
>
> I want to be able to split the bandwidth per IP, as I have 10 clients in my
> LAN and I want to be sure they get the same rate when downloading.
>
> I followed all the steps from the HTB manual, but the script can be
> "beaten" when one uses more connection for downloading ("FlashGet" or
> "Download Accelerator").
>
> I have the same rates for all the 10 IP-s in my LAN.
>
> Stef Coene told me to decrease the burst. (Indeed, 80k was a huge burst) I
> did that, but it seams nothing's changed.
The burst parameter is not made for hugh bursts.  If you don't specify a 
burst, htb will calculate the smallest one suitable for that class.

> Jon Zeeff said that sfq generally creates a queue per connection. (And that
> is the reason why clients with more connections get more bandwidth)
Yes and no.  Sfq creates 1 queue for a connection, but htb should distribute 
the bandwidth eaqual between the classes even if 1 class has more connections 
in it.

> So I need to change this "per connection" into "per IP".
>
> Everything is clear, but I do not know what to change into my script to do
> this.
Can you post the output of
tc -s -d class show dev eth0 

Stef

-- 
stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.openprojects.net

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

  reply	other threads:[~2003-12-04 19:44 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-04 18:52 [LARTC] Split bandwidth equally per IP Mihai Vlad
2003-12-04 19:44 ` Stef Coene [this message]
2003-12-05 15:08 ` jzeeff
2003-12-05 15:19 ` jzeeff
2003-12-05 15:57 ` Mihai Vlad
2003-12-05 17:02 ` Martin A. Brown
2003-12-05 17:50 ` jzeeff
2003-12-05 22:45 ` Mihai Vlad
2003-12-07  0:12 ` jzeeff
2003-12-07  6:21 ` 'Martin A. Brown'
2003-12-07  6:23 ` 'Martin A. Brown'
2003-12-07  8:30 ` Mihai Vlad
2003-12-07  9:32 ` Chijioke Kalu
2003-12-07 21:19 ` Nickola Kolev
2003-12-17 16:56 ` Mihai Vlad

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-107056829527147@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.