From: "'Martin A. Brown'" <mabrown-lartc@securepipe.com>
To: lartc@vger.kernel.org
Subject: RE: [LARTC] Split bandwidth equally per IP
Date: Sun, 07 Dec 2003 06:21:26 +0000 [thread overview]
Message-ID: <marc-lartc-107077853032332@msgid-missing> (raw)
In-Reply-To: <marc-lartc-107056586923918@msgid-missing>
Hello Mihai,
: Can you post a real script using esfq, that splits the bandwidth
: equally per IP?
I wish I had an example script to lend you....
To my recollection your issue was an obnoxious piece of software which was
generating many outbound flows. This sort of a technique should prevent
any single IP from dominating your bandwidth (without your allowing that
domination):
tc qdisc add dev $LAN_DEV parent $HTB_CLASS handle $ESFQ_HANDLE \
esfq perturb 10 depth $UNIQUE_CLIENTS hash dst
This attaches an esfq qdisc to the class which contains competing
workstations/users for download bandwidth (in your environment).
Reminder! We have already deNATted (is that a word) the inbound packets,
so the destination is the real workstation IP, and the
Here's the help string [from the README]....
Usage: ... esfq [ perturb SECS ] [ quantum BYTES ] [ depth FLOWS ]
[ divisor HASHBITS ] [ limit PKTS ] [ hash HASHTYPE]
Where:
HASHTYPE := { classic | src | dst }
I'd agree that the easily available documentation for ESFQ is minimal....I
would love to remedy that, so let me know how your experimentation with
the qdisc goes. In your case, I'd suggest starting with a "hash dst".
When I cautioned about Jon Zeeff's patch [0], I didn't necessarily mean to
scare you away from it. It may be a very good patch--I simply wanted to
point out that there already exists a tool to solve the problem you
appeared to need to solve. Note also the recent list activity (by
Chijioke Kalu) with regard to kernel-2.6 and ESFQ [1].
Also, the section of my text (from tldp.org) you quoted was specifically
about the very same download accelerators which were giving you fits.
These tools simultaneously create a large number of TCP connections for a
single application-layer function (usually fetching a large file) in order
to (attempt to) defeat per-connection byte-rate limits. The design of SFQ
did not anticipate this deliberate flooding attempt. ESFQ takes a step
toward correcting this.
Again, I don't know if ESFQ will solve your problem--I hope it does, and I
hope to hear a report from you that this was the tool you needed.
Best of luck,
-Martin
[0] http://mailman.ds9a.nl/pipermail/lartc/2003q4/010919.html
[1] http://mailman.ds9a.nl/pipermail/lartc/2003q4/010939.html
--
Martin A. Brown --- SecurePipe, Inc. --- mabrown@securepipe.com
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-12-07 6:21 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
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' [this message]
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-107077853032332@msgid-missing \
--to=mabrown-lartc@securepipe.com \
--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.