Re: mldonkey & traffic shaping -> WWW still slow
From: prg (rdgentry1_at_cablelynx.com)
Date: 02/10/05
- Next message: whoha: "Re: How do you turn autonegotiate off for an interface?"
- Previous message: bgeer: "Re: netgear GA511 drivers?"
- In reply to: Benjamin Fraenkel: "mldonkey & traffic shaping -> WWW still slow"
- Next in thread: Benjamin Fraenkel: "Re: mldonkey & traffic shaping -> WWW still slow"
- Reply: Benjamin Fraenkel: "Re: mldonkey & traffic shaping -> WWW still slow"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 10 Feb 2005 09:31:04 -0800
Benjamin Fraenkel wrote:
> Hello,
>
> Im having an ADSL connection (512/128kbps). When I start mldonkey
> webbrowsing is practically impossible, though no dl/ul occurs in
> mldonkey just usual seeking for sources, connecting to servers. But
if I
> start a download (ftp/http) I still get maximumum download bw. So I
> thought it must be an upload problem and configured a router with
> traffic shaping.
> TCng script: http://www.fraenkel.at/bandwidth.tcng
>
> Of course I changed the gateways/dflt routes of all clients in the
> network to use the traffic shaping router and mldonkey traffic is now
> routed through the class 'download' with a max. of 8kbps - verified
> through analyzing network traffic and tc stats and the other classes
are
> working either.
> But webbrowsing is still that slow, until I shutdown mldonkey again.
>
> Here's the topology of my network:
http://www.fraenkel.at/topology.txt
> Because the Traffic shaping router and the router to the uplink are
on
> the same subnet traffic flows like that:
> Outgoing: Client --> Traffic Shaping Router ---> Router ---> Internet
> Incoming: Internet ---> Router ---> Client
> /*effectively not using the Traffic shaping router, but that's fine
> because I just want to limit upload bw*/
>
> I think it's not Linux specific but I have no idea what to do next,
> proposals desired!
Well, SFQ is not very insistent -- assumes everyone is playing "fair"
in order to get the F queueing.
http://www.tldp.org/HOWTO/Traffic-Control-HOWTO/classless-qdiscs.html#qs-sfq
[q]
Unfortunately, some clever software (e.g. Kazaa and eMule among others)
obliterate the benefit of this attempt at fair queuing by opening as
many TCP sessions (flows) as can be sustained.
[eq]
These hummers are difficult to control. For what you're trying to
accomplish, you might want to look at this:
http://mldonkey.berlios.de/modules.php?name=Wiki&pagename=TrafficShaping
The key to its working is the use of the UID of mldonkey so that the
dynamically allocated flows can be marked/identified for control
purposes. This also means that it only works on the machine running
mldonkey as the fwmarks are strictly "machine local".
Don't use any of the p2p apps so haven't any direct experience. The
above approach looks promising from my read-through. Just squashing
them whem found at work.
Someone around here likely has more experience and perhaps a ready-made
solution or specific guidance dealing with mldonkey in a setup like
yours. The problem is identifying/distinquishing all the p2p ports
being used.
With your network setup, it is _imperative_ that all machines/nics be
operating at top speed/full duplex (100 Mbps probably). The full
duplex is most important.
hth,
prg
email above disabled
- Next message: whoha: "Re: How do you turn autonegotiate off for an interface?"
- Previous message: bgeer: "Re: netgear GA511 drivers?"
- In reply to: Benjamin Fraenkel: "mldonkey & traffic shaping -> WWW still slow"
- Next in thread: Benjamin Fraenkel: "Re: mldonkey & traffic shaping -> WWW still slow"
- Reply: Benjamin Fraenkel: "Re: mldonkey & traffic shaping -> WWW still slow"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|