Re: Rate

Alby <[email protected]> Fri, 14 Feb 2003 14:52:30 -0500 (EST)
Newsgroups gmane.linux.linux-router
Message-ID <[email protected]>



h3ct0r:

	You are Da Man!!!! But one thing I just noticed, you'll now need
to pipe your network through a Linux Proxy Server running Squid. The LRP=20
Router won't play any role.



http://www.ibiblio.org/pub/Linux/docs/HOWTO/other-formats/html_single/Ban=
dwidth-Limiting-HOWTO.html



Bandwidth Managenment HOWTO:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
2. Before We Start

Let's imagine the following situation:

We have 115,2 kbits/s ppp (modem) internet link (115,2/10 =3D 11,5
kbytes/s). Note: with eth connections (network card) we would divide
115,2 by 8; with ppp we divide by 10, because of start/stop bits (8 +
1 + 1 =3D 10).

We have some LAN stations and their users are doing bulk downloads all th=
e time.

We want web pages to open fast, no matter how many dowloads are happening.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D




=09

-Alby









>=20
> ok, maybe in the Bandwidth Managenment HOWTO??
>=20
> On 2003.02.14 16:32 Alby wrote:
> >=20
> >=20
> >=20
> > h3ct0r:
> >=20
> > 	(ipchains) is only refering to the traffic control of specific
> > ports (nntp, pop, smtp, ftp, dns, etc...). In Jeroen's case, he was
> > asking
> > how he could control the bandwidth of folks downloading files on the
> > same
> > network as websurfers. Since downloading doesn't use a specific port,
> > (ipchains) cannot tier the bandwidth of the downloads. The remedy
> > would
> > be to teir the bandwidth of all ports over 1024, but then your going
> > to
> > effect more than just downloaders. If somebody on that network starts
> > up
> > a video feed via WinMedia/Real they too will have their bandwidth
> > capped.
> >=20
> > 	I am saying that "generally" you could control the traffic on
> > a
> > general scale, but in doing so you effect more than just those lookin=
g
> > to
> > download. Incoming Traffic could be tiered, but even that web surfer
> > who
> > might open up a video/audio feed would then fall under the
> > incoming-traffic
> > rules.
> >=20
> > 	Overall, the only resolution I can think of for Jeroen would
> > be
> > to code something on an application level to tier downloads. But sinc=
e
> > I don't code, I network, I cannot comment on what path to take down
> > that
> > road. But if somebody has a specific link somewhere which shows how
> > you
> > can tier the bandwidth of such a general function as download and at
> > the
> > same time not effect other services which use ports over 1024, I'd be
> > very interested in reading it.
> >=20
> > -Alby
> >=20
> >=20
> >=20
> >=20
> >=20
> > >
> > > in the ipchains-HOWTO exist a many lines dedicated to this
> > questions,
> > > you can give more priority to www port, nos not to ftp port.
> > > read de ipchains-HOWTO or iptables-HOWTO (www.linuxdoc.org)
> > >
> > >
> > > > From: "Jeroen Steenhuis (Dutch Plating Power BV)"
> > > > <[email protected]>
> > > > To: <[email protected]>
> > > > Sent: Friday, February 14, 2003 7:27 AM
> > > > Subject: [LRP] Rate
> > > >
> > > >
> > > > > > Is it possible to give download processes less priority
> > (bandwidh)
> > > > then
> > > > > > somebody who is browsing the internet?
> > > > > >
> > > > > > People here are getting angry if sombody downloads a file,
> > > > browsing gets
> > > > > > very slow...
> >=20
> >=20
> --=20
> =BFQu=E9 es para una mujer un papel roto en dos partes? Un rompecabezas=
. =BFY=20
> en tres partes? Una utop=EDa.
> 		-- An=F3nimo.=20
>=20


_______________________________________________
linux-router maillist  -  [email protected]
http://www.linuxrouter.org/mailman/listinfo/linux-router