From: Justin Schoeman <justin@expertron.co.za>
To: lartc@vger.kernel.org
Subject: [LARTC] Traffic shaping questions and possible extensions
Date: Thu, 23 Aug 2007 17:24:25 +0000 [thread overview]
Message-ID: <46CDC2C9.2040702@expertron.co.za> (raw)
Hi,
It has been quite a while since I looked at what was happening in Linux
traffic shaping, so I am not sure if this has been discussed / improved
on since I last looked.
We use a traffic shaper based on HTB. The basic principals work fine,
but we have a problem with 'intermittent trafic' like http and
interactive ssh sessions.
Each of these categories of traffic have their own class, and are
allocated a certain 'guaranteed' rate. However, if other traffic is
bursting into this bandwidth, we see that very often it takes so long
for the other traffic to throttel back that the effective QoS is very bad.
If we hard cap the other traffic to leave the guarantee open, then web
and ssh access is very very good.
So the problem seems to lie with getting other traffic to slow down quicker.
Are there any current solutions/suggestions to working around this?
If not, I have one possible solution, and I would appreciate any
feedback on it:
At the moment, if traffic cannot be sent immediately (there is no
bandwidth available for it), then it is first queued, and if the queue
gets too long, packets are dropped.
This will slow down the sender, but relies on the expiry of TCP timers
to acheive this.
What I was thinking was that for bulk traffic that needs (and can
tolerate aggresive throtling), instead of queueing the packet, keep a
history of the last ACK packet sent, and resend it.
The receiver will see this as a duplicate ack, and immediately enter a
congestion avoidance algorithm, throtling the data.
Is this feasible, or is it a Really Stupid Idea (TM)?
Thanks!
Justin
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
next reply other threads:[~2007-08-23 17:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-23 17:24 Justin Schoeman [this message]
2007-08-27 21:57 ` [LARTC] Traffic shaping questions and possible extensions Andy Furniss
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=46CDC2C9.2040702@expertron.co.za \
--to=justin@expertron.co.za \
--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.