All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aleksander Kamenik <aleksander@krediidiinfo.ee>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Fair que between 255 users
Date: Tue, 30 Oct 2007 14:18:06 +0000	[thread overview]
Message-ID: <47273D1E.3000902@krediidiinfo.ee> (raw)
In-Reply-To: <d69a06e80710291246g6bc68766hbe35d4808037dd17@mail.gmail.com>

Peter V. Saveliev wrote:

> simply sfq -- is enough, isn't it?

sfq is great actually, but it works for connections. If you have say 10 
users and 9 of them each have 1 active ftp RETR connections but the 10th 
user has 100 active ftp RETR connections, then he gets 99,9% of traffic, 
doesn't he? (just an example)

I think what the GP is looking for, as am I, is a simple way of giving 
each user an equal share of the bandwidth.

This can be achieved for example by hundreds of HTB classes. But that's 
the rub. I have 20 /24 internal networks which amounts to a maximum of 
5000+ unique IP's which DHCP gives out. There are only about 500 active 
users though and the total number of users (active at least once a 
month) is probably around 1000.

I don't think it makes sense to create 5000 htb leaf classes and let 
them all borrow from each other. 90% of them would be _only_ lending and 
10% would be fighting over who gets the small bit of it.

What I'm looking for is something like the ISP's use. Like sfq which 
creates fair queues per connections pools where each pool is a bunch of 
connections from/to the same IP addr. Is there something like this for 
linux?


-- 
Aleksander Kamenik
system administrator
+372 6659 649
aleksander@krediidiinfo.ee

Krediidiinfo AS
http://www.krediidiinfo.ee/
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2007-10-30 14:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-29 19:46 [LARTC] Fair que between 255 users Thomas Elsgaard
2007-10-29 20:00 ` Peter V. Saveliev
2007-10-30 13:50 ` Daniel
2007-10-30 14:18 ` Aleksander Kamenik [this message]
2007-10-30 16:50 ` Jens Thiele
2007-10-30 17:01 ` Marco Aurelio
2007-10-31  4:45 ` Corey Hickey

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=47273D1E.3000902@krediidiinfo.ee \
    --to=aleksander@krediidiinfo.ee \
    --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.