All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Traffic shaping questions and possible extensions
@ 2007-08-23 17:24 Justin Schoeman
  2007-08-27 21:57 ` Andy Furniss
  0 siblings, 1 reply; 2+ messages in thread
From: Justin Schoeman @ 2007-08-23 17:24 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-08-27 21:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-23 17:24 [LARTC] Traffic shaping questions and possible extensions Justin Schoeman
2007-08-27 21:57 ` Andy Furniss

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.