lkml.org 
[lkml]   [2003]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: bandwidth for bkbits.net (good news)
Date
From
On Sat, 30 Aug 2003 18:20:11 +0200, you wrote in linux.kernel:

> In order to control incoming traffic, it is easiest to look at tcp.
> udp can work similarly, but it doesn't have to. To throttle the
> stream of tcp packets, you could simply throw away the acks and the
> sending side will reduce it's speed. So you have to measure one
> stream and control a related but different one. Maybe this is
> possible, not sure.

All you have to do is drop the incoming packets if they exceed
a certain bandwidth. That will stop the corresponding ack automatically
since your TCP stack won't even see the packet.

I'm doing this on my ISDN line to limit the rest of the house to one
third of the bandwidth even if they're all busy downloading tons of
warez. I'm paying, I want the bandwidth when I need it. They can get
it all when there's no traffic for my machine.

No problem with the HTB queueing discipline.

[...]
> Third, there is the problem transition from continuous streams to
> discrete packets, when bandwidth is low. It doesn't take a huge
> amount of large packets to create enough latency for your sad VOIP.

Yes, latency is a problem if you want to saturate your bandwidth. It is
easy to guarantee some bandwith for latency critical stuff - just
don't give out that piece of bandwith to something else. Of course,
then most of the time that piece is wasted... and it doesn't help with
problems somewhere along the net.

> And fourth, the possibility of resonance frequency. If measurement
> and/or shaping intervals are too long and match nicely to the travel
> time to one of your peers, you are back at point three.

Dunno about that one.

--
Ciao,
Pascal
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [from the cache]
©2003-2011 Jasper Spaans