From: "George Adams" Date: Wed, 05 May 2004 21:00:59 +0000 Subject: [LARTC] Newbie trying to throttle bandwidth Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org I apologize with what may be some very basics questions. I'm trying to go = through sections 9 and 15 of the LARTC FAQ, but my head can't quite grasp=20 what's going on. I'll keep going through them to see if something clicks, = but meanwhile I was hoping someone might point me in the direction that I=20 should focus my efforts. The server at our church is running Gentoo Linux and has ~500Kbps up/down=20 SDSL connection to the world. We offer online sermons both for RealAudio=20 streaming (16Kbps per stream) and downloading via HTTP. The problem is tha= t=20 someone with a fast pipe of their own (DSL/cable/etc.) can download 1 or=20 more sermons and slurp up all the bandwidth, reducing the RealAudio streams= =20 to a trickle and causing lots of "rebuffering" for anyone trying to listen. So ideally, I'd like to create a policy something like this: 1) SSH connections (port 22) (i.e. me connecting remotely) get all the=20 bandwidth they can consume. 2) RealAudio streaming clients (port 554) get all the bandwidth left after = #1 that they can consume. 3) Web downloaders (port 80) get all the bandwidth left after #1 and #2 tha= t=20 they can consume. So if nothing else is going on, downloaders should be allowed to have 100% = of the bandwidth. But if, for example, 6 people start using RealAudio=20 streams (16Kbps per stream * 6 =3D 96Kbps, or about 20% of the available=20 bandwidth), then I'd like the 6 RA streams to have top priority so as to=20 receive clean, uninterupted streams. The downloaders (however many there=20 are) would have the remaining 80% of the bandwidth to divide among=20 themselves). And if some of the RA streamers then disconnected, the unused= =20 bandwidth should become available to the downloaders. So what technique do I need to be looking at here? Is there a cookbook=20 recipie that would apply to this situation? Thanks to anyone who can point me in the right direction! _________________________________________________________________ Watch LIVE baseball games on your computer with MLB.TV, included with MSN=20 Premium!=20 http://join.msn.com/?page=FEatures/mlb&pgmarket=3Den-us/go/onm00200439ave/d= irect/01/ _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/