All of lore.kernel.org
 help / color / mirror / Atom feed
From: don-lartc@isis.cs3-inc.com (Don Cohen)
To: lartc@vger.kernel.org
Subject: [LARTC] Traffic shaping for upload & download
Date: Fri, 01 Nov 2002 16:15:10 +0000	[thread overview]
Message-ID: <marc-lartc-103616784908337@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103612899211878@msgid-missing>

 > Lets say we want to limit a customer usage to 256kbit total.
That is, you want to limit upload+download.

Whether or not it can be done, I think it's worth pointing out that
this is nonsense.  It makes sense to allocate A+B only if A and B can
be used to replace each other.  Upload and Download are not like that.
They're more like food and air - you need both.  If you have no air it
won't do any good to be given more food.

In your case the analogous thing is that you have a total of 1Mbit up
and 1Mbit down available, two users, and you allocate 1Mbit total to
each.  One decides to attack the other by using 1Mbit upload.  You
decide that's fair, the other (the victim) can just use 1Mbit
download.  Well, maybe he can, but it won't do him any good.  

I suggest instead that you allocate upload and download bandwidth
separately.
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-11-01 16:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-01  5:35 [LARTC] Traffic shaping for upload & download Joseph Watson
2002-11-01  8:56 ` Stef Coene
2002-11-01 16:15 ` Don Cohen [this message]

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-103616784908337@msgid-missing \
    --to=don-lartc@isis.cs3-inc.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.