This forum has been archived. All content is frozen. Please use KDE Discuss instead.

ktorrent connection slowdown

Tags: None
(comma "," separated)
ungua
Registered Member
Posts
46
Karma
0

ktorrent connection slowdown

Thu Jan 18, 2007 9:24 pm
we share a 4½mbit adsl-connection with seven computers. when i run ktorrent, the connection speed is sometimes reduced to as little as 250kb/s - even though up- and downloading speed in ktorrent is nothing more than 10kb/s each. is there any possibility to reduce this effect and make ktorrent more efficient? the main priority has to be not to spoil network speed for all other people...

regards
ungua
jdong
Registered Member
Posts
358
Karma
0

Thu Jan 18, 2007 10:09 pm
Set upload limits, and try disabling DHT if it's on.
ungua
Registered Member
Posts
46
Karma
0

Fri Jan 19, 2007 3:41 pm
thank you for your answer! what is dht?

regards
ungua
ungua
Registered Member
Posts
46
Karma
0

Fri Jan 19, 2007 6:36 pm
after observing it for a while i have to admit that this solution is very negative for me; i limited upload to 10kb/s which i have constantly. but download-speed has been reduced to 0-2,5kb/s. can i do something with that, too!?

regards
ungua
jdong
Registered Member
Posts
358
Karma
0

Sat Jan 20, 2007 12:24 am
DHT is Distributed Hash Table, a trackerless fallback for torrents that specify no trackers or if trackers are down.

It works by constructing a mesh of nodes via the UDP protocol. However, some router firmware are very sensitive to excessive UDP connections and easily bog down because of it.
michael.guerrero
Registered Member
Posts
13
Karma
0
OS

Sun Jan 21, 2007 1:52 am
If you are experiencing slowdowns on your entire network then you probably want to setup some quality of service (QoS) parameters on your router.

I have a linksys wrt54g and installed the dd-wrt firmware. It has some nice QoS capabilities (among other things). You can set your p2p traffic to be low priority, and some of your other stuff like http, pop3, smtp, ftp, etc... to a higher priority. You can also set your computer's IP or MAC address (depending on how you have things setup) to be lower priority than other computers.

This should allow you to make use of the spare bandwidth on your line when others aren't sending out traffic, but should give them priority over your p2p traffic when they have something to send.

Another thing that helped my situation, since my router got bogged down with udp requests (as jdong described) and became unusable after a couple days, was to limit the timeout on udp and tcp connections to 90.

Not sure what you have hooked up to your dsl, but if you have a configurable router, I'd look at the QoS features to help you out. If they work right, your other uses shouldn't notice your p2p traffic.
jdong
Registered Member
Posts
358
Karma
0

Sun Jan 21, 2007 2:33 am
yammer wrote:Another thing that helped my situation, since my router got bogged down with udp requests (as jdong described) and became unusable after a couple days, was to limit the timeout on udp and tcp connections to 90..


Sadly UDP is a connnectionless protocol that doesn't support "limiting", so the best way to limit it unfortunately is to disable it.
ungua
Registered Member
Posts
46
Karma
0

Sun Jan 21, 2007 9:40 pm
okay, thank you! i'll try to find out whether our router can do that. should be documented somewhere... :)

regards
ungua
Bruce Gi
Registered Member
Posts
1
Karma
0

Tue Apr 24, 2007 10:01 pm
if you want faster downloads the thing is you must limit the upload speed, but not to far. if you send a lot, you get more. but if you send to many your download speed get lower. try to search at wikipedia. there are tips to set a torrent programm.
ungua
Registered Member
Posts
46
Karma
0

Fri May 04, 2007 8:57 am
thank you for your reply, i'll search for that!
t1n0m3n
Registered Member
Posts
1
Karma
0

Mon May 28, 2007 1:48 am
jdong wrote:
yammer wrote:Another thing that helped my situation, since my router got bogged down with udp requests (as jdong described) and became unusable after a couple days, was to limit the timeout on udp and tcp connections to 90..


Sadly UDP is a connnectionless protocol that doesn't support "limiting", so the best way to limit it unfortunately is to disable it.


I think what he was trying to describe here (although wrong) was the FIN/RST flow timeout. This is the time in seconds that it takes to tear down the dynamic NAT entry made for a connection inside the router after receiving a FIN or RST packet. Since torrents use a lot of connections, most routers cannot tear down the NAT entries fast enough. What happens is that you run out of memory on the router. This is why it takes a couple of days to kill your internet connection.

The ideal way to prevent this would be to limit the amount of connections that the client requests.... Or buy a router that has a more aggressive timeout value.... Or (in my case) have a router that this value is adjustable.

So turn your speed back up, just limit the number of your connections and I think you will have a much better experience.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]