linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Jeff Sipek <jeffpc@optonline.net>
Cc: Pascal Schmidt <der.eremit@email.de>,
	Larry McVoy <lm@bitmover.com>,
	linux-kernel@vger.kernel.org
Subject: Re: bandwidth for bkbits.net (good news)
Date: Sun, 31 Aug 2003 04:42:48 +0200	[thread overview]
Message-ID: <20030831024248.GR24409@dualathlon.random> (raw)
In-Reply-To: <200308302218.45779.jeffpc@optonline.net>

On Sat, Aug 30, 2003 at 10:18:37PM -0400, Jeff Sipek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Saturday 30 August 2003 21:39, Andrea Arcangeli wrote:
> > On Sun, Aug 31, 2003 at 03:05:37AM +0200, Pascal Schmidt wrote:
> > > On Sat, 30 Aug 2003, Larry McVoy wrote:
> > > >> All you have to do is drop the incoming packets if they exceed
> > > >> a certain bandwidth.
> > > >
> > > > If you think we haven't done that, think again.
> > > >
> > > > We're at the wrong end of the pipe to do that, I'm pretty sure that
> > > > what you are describing simply won't work.
> > >
> > > In a way, you're on the right end of the pipe because the system
> > > that does your traffic shaping is part of the general network, viewed
> > > from the machines behind the shaper.
> > >
> > > Dropping the packets means that the sending side, at least if we're
> > > talking TCP, will throttle its sending rate. But, depending on the
> > > distance in hops to the sender, it may take up to a few seconds for
> > > this to kick in. So I guess that's why it doesn't work for your
> > > VoIP case - the senders don't notice fast enough that they should
> > > slow down.
> >
> > that's because you don't limit the bkbits.net to a fixed rate. If you
> > want to give priorities, it won't work well because it takes time to be
> > effective, but if you rate limit hard both ways it has to work, unless
> > you're under syn-flood ;) The downside is that you will waste bandwith
> > (i.e. you will hurt the bkbits.net service even when you don't use
> > voip), but it will work.
> 
> How about giving something to voip as a hard limit and then using some shaper 
> to give it more if needed.

it may take a few secs to rate limit the rest, the old tcp connections
will keep sending packets that will get rejected when voip kicks in,
that's the problem described in the email I answered to with the
solution (i.e.  limit bkbits.net hard). I'm pretty sure that rate
limting bkbits.net hard (like we do with my brother's computer when he
generates heavy traffic) will let voip to work flawlessy, but it has the
downside of limiting the bandwith available to bkbits users even when
nobody place phone calls. Upgrading the current line and using the
software rate limiting with the solution I proposed, or adding a new
line dedicated to bkbits.net, wouldn't be much different in practice (if
it was me I'd choose it only in function of what's more cost effective,
after double checking that my algorithm infact works fine for higher
bandwidth too, I only tested it on 640kbit).

Andrea

  reply	other threads:[~2003-08-31  2:42 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <q2SH.AA.3@gated-at.bofh.it>
     [not found] ` <qfwI.15D.27@gated-at.bofh.it>
     [not found]   ` <qgCn.2y4.11@gated-at.bofh.it>
2003-08-30 22:58     ` bandwidth for bkbits.net (good news) Pascal Schmidt
2003-08-30 23:07       ` Larry McVoy
2003-08-31  1:05         ` Pascal Schmidt
2003-08-31  1:39           ` Andrea Arcangeli
2003-08-31  2:18             ` Jeff Sipek
2003-08-31  2:42               ` Andrea Arcangeli [this message]
2003-08-31  2:56             ` Larry McVoy
2003-08-31 13:15               ` Alan Cox
2003-08-31 14:45                 ` Andrea Arcangeli
2003-08-31 15:31                   ` Alan Cox
2003-08-31 15:43                     ` Jörn Engel
2003-08-31 15:50                       ` Andrea Arcangeli
2003-08-31 17:06                         ` Florian Weimer
2003-08-31 21:21                           ` Larry McVoy
2003-09-02  7:06                           ` Henning P. Schmiedehausen
2003-09-05  8:10                             ` Florian Weimer
2003-09-05 15:35                               ` Henning Schmiedehausen
2003-09-05 15:50                                 ` Florian Weimer
2003-09-05 16:10                                 ` P
2003-09-05 16:43                                 ` Ricky Beam
2003-09-07 11:55                                   ` Henning Schmiedehausen
2003-09-07 18:41                                     ` Ricky Beam
2003-09-08  8:57                                       ` [COMPLETELY OFF-TOPIC] " Henning Schmiedehausen
2003-09-02 21:52                           ` Ricky Beam
2003-09-05  8:16                             ` Florian Weimer
2003-08-31 15:44                     ` Andrea Arcangeli
2003-08-31 16:22                       ` Larry McVoy
2003-08-31 16:33                         ` Andrea Arcangeli
2003-08-31 16:48                           ` Larry McVoy
2003-08-31 17:06                             ` Andrea Arcangeli
2003-08-31 21:18                               ` Larry McVoy
2003-08-31 22:49                                 ` Andrea Arcangeli
2003-08-31 22:52                                   ` Alan Cox
2003-08-31 22:58                                     ` Larry McVoy
2003-08-31 23:02                                     ` Andrea Arcangeli
2003-08-31 23:07                                       ` Larry McVoy
2003-08-31 23:22                                         ` Andrea Arcangeli
2003-09-01  0:12                                           ` Larry McVoy
2003-09-01  0:19                                             ` Jamie Lokier
2003-09-01  0:33                                               ` Larry McVoy
2003-09-01 11:43                                           ` Alan Cox
2003-09-01 16:13                                             ` Andrea Arcangeli
2003-09-01 16:24                                               ` Larry McVoy
2003-09-01 16:28                                               ` Alan Cox
2003-09-01 16:38                                                 ` Andrea Arcangeli
2003-08-31 23:39                                     ` Roman Zippel
2003-09-01  0:09                                       ` Larry McVoy
2003-09-01  0:20                                         ` Larry McVoy
2003-08-31 22:56                                   ` Larry McVoy
2003-08-31 23:13                                     ` Andrea Arcangeli
2003-09-01  0:18                                       ` Jamie Lokier
2003-09-01  0:25                                         ` Larry McVoy
2003-09-01  0:28                                         ` Andrea Arcangeli
2003-09-01  0:50                                           ` Jamie Lokier
2003-09-01  1:10                                             ` Andrea Arcangeli
2003-09-01  1:33                                               ` Larry McVoy
2003-09-02  7:11                                   ` Henning P. Schmiedehausen
2003-09-02  7:01                       ` Henning P. Schmiedehausen
2003-08-31 16:23                     ` Larry McVoy
2003-08-31 16:36                       ` Andrea Arcangeli
2003-08-31 15:38                   ` Jörn Engel
2003-09-02  6:55               ` Henning P. Schmiedehausen
2003-08-31 13:47             ` Pascal Schmidt
2003-08-31 14:51               ` Andrea Arcangeli
2003-09-02  6:53           ` Henning P. Schmiedehausen
2003-08-31  6:30       ` Jörn Engel
     [not found] <qn1b.2Pr.29@gated-at.bofh.it>
     [not found] ` <qoTh.5mt.11@gated-at.bofh.it>
     [not found]   ` <rdje.1sH.11@gated-at.bofh.it>
2003-09-02 17:49     ` Pascal Schmidt
2003-08-30  1:29 Larry McVoy
2003-08-30 15:03 ` Larry McVoy
2003-08-30 16:10   ` Jörn Engel
2003-08-31 10:13   ` Toon van der Pas

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=20030831024248.GR24409@dualathlon.random \
    --to=andrea@suse.de \
    --cc=der.eremit@email.de \
    --cc=jeffpc@optonline.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lm@bitmover.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).