Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Stef Coene <stef.coene@docum.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] traffic control based on the downloaded bytes
Date: Wed, 06 Nov 2002 20:06:03 +0000	[thread overview]
Message-ID: <marc-lartc-103661325923401@msgid-missing> (raw)
In-Reply-To: <marc-lartc-103657740713718@msgid-missing>

On Wednesday 06 November 2002 20:49, Gabor Csuri wrote:
> > > Hi All,
> > >
> > >  I'm new on this list. I'm the admin of the server in our house.
> > > We have a 768k/128k DSL line.
> > > There are 11 flats using this bandwith without any control.
> > > Some of them are "high donwloader" and the browsing speed is
> >
> > decreasing a
> >
> > > lot when the downloaders are waken up. :(
> > > I have an idea how the downloaders and the browsers can use
> >
> > this bandwith
> >
> > > without any conflict.
> > > My question is: Is it possible with iproute2 ?
> > > My idea: I define a bandwith to downloaders (maybe 512k).
> > > If any of the downloading thread exceed a limit (maybe 4Mbyte) it
> > > passed into the 512k bandwith.
> > > How can I do this trick?
> >
> > Go to the LARTC website and look at the WonderShaper script. It
> > does pretty
> > much what you want. Just set the port list to what you consider
> > "downloading" (probably ftp and ftpdata). I use this to keep my downloads
> > from interfering with my roommate's gaming.
>
> Hi Kenneth,
>  I've taken a look to wondershaper and I think this is a half-solution for
> me.
> I can set up priority by port-number and other properties but I think I
> can't separate packet which is a part of a 70KB gif image (part of a web
> page) or it's a part of a 800MB CD image coming from a website also. This
> is my problem.
You have to use some tricks if you want to do this.  See my previous post.  I 
think the delay pools of squid are the best solution.  The problem is that tc 
nor iptables has an idea about what's transferred.  Squids does.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

      parent reply	other threads:[~2002-11-06 20:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-06 10:09 [LARTC] traffic control based on the downloaded bytes Gabor Csuri
2002-11-06 17:04 ` Stef Coene
2002-11-06 19:49 ` Gabor Csuri
2002-11-06 20:06 ` Stef Coene [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-103661325923401@msgid-missing \
    --to=stef.coene@docum.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox