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

Net extremely sluggish with new ktorrent

Tags: None
(comma "," separated)
imported4-Daniel
Registered Member
Posts
7
Karma
0

Sun Nov 12, 2006 1:44 pm
Wow... somthing _is_ different.

First: the configure-script misses that i havent installed 'libgmp3-dev' maybe you should add a check for it.

I compiled it via
#CFLAGS=-O2 ./configure && make

But it seems slower (the GUI) than the 2.0.3 - BUT, the torrent performance is much better than the previous one. it instantly started and went up to ~300kbytes down (in windows with azereus i have 100kbytes in average). With the 2.0.3 i had on the _same_ torrents a very unstable performance and ~20kbytes average down.

Maybe the GUI is slower because of the higher load - or can i compile it somehow different (debuginfos...etc)?

The previusly reported ARP's from my surecom router: have listened for 5mins to the traffic. Not one single ARP :)

Now ill look on the longtime performance - will report later.

cu
imported4-Daniel
Registered Member
Posts
7
Karma
0

Sun Nov 12, 2006 6:11 pm
nope... sorry ive to announce: same problem again - the torrents are working quite fine. But after some time (~1h) my router starts responding (even the http-configuration interface wont show up).

I dont know if the problem is the router - but this is the first app which made it lock up (prior i used azereus or bittorrent).

Okay, but i know - that if the router would be well-programmed, i wont lock up - in no circumstances....

after a hard-reset (power off / on at the router) it works again...

if i can supply you with some debugging infos, just ask.

greetings
Daniel
micha
Registered Member
Posts
12
Karma
0

Mon Nov 13, 2006 12:38 am
I had a similar problem here - connection got really sluggish when ktorrent (svn HEAD) was running. Connection was sluggish for my machine and my roommates started complaining as well. Putting my ISP's DNS server addresses into resolv.conf instead of the router's address solved the problem here.

Cheers,

Michael
jdong
Registered Member
Posts
358
Karma
0

Mon Nov 13, 2006 2:56 am
This almost sounds like a router problem to me....

I use a beefy Linux box with 128MB RAM as my internet gateway (which also runs its own DNS cacher), and I've never experienced these problems, even when I instruct my torrent clients to open 1000+ connections.


I'm wondering if we can narrow it down to a particular brand/model? Also, we should figure out why other torrent clients don't trigger the bug?

Could it be related to DHT/UDP and how we don't impose any kind of rate or "connection" limiting on our DHT implementation?
George
Moderator
Posts
5421
Karma
1

Mon Nov 13, 2006 9:55 am
To much DHT traffic ? You should try disabling DHT and then using your router again as DNS. If it is DHT, things should keep working.
micha
Registered Member
Posts
12
Karma
0

Mon Nov 13, 2006 8:07 pm
George wrote:To much DHT traffic ? You should try disabling DHT and then using your router again as DNS. If it is DHT, things should keep working.

Yes, with DHT off it's almost the same (direct dns servers vs. router as dns server) yet a little more fluent when using the dns servers directly
George
Moderator
Posts
5421
Karma
1

Tue Nov 14, 2006 9:50 am
Maybe we can force the DHT traffic to be low priority.
jdong
Registered Member
Posts
358
Karma
0

Tue Nov 14, 2006 5:19 pm
uTorrent does some form of rate limiting (both by bandwidth consumption and by the number of "connections"/unique hosts it would talk to)

Some googling shows that a chunk of routers have _REALLY_ limited UDP tables and if that's exceeded all kinds of wacky things happen.
imported4-Daniel
Registered Member
Posts
7
Karma
0

Wed Nov 15, 2006 8:12 pm
Okay... i works with DHT diabled... i had i running quite some days with about 5Gb download (~6 torrents) and the router hasent locked up.

Maybe a DHT-connection limit would do - or maybe there are some bugs in the DHT-stuff?!

But ktorrent is sofar for me the best torrent app with respect to the GUI/userfriendlieness/efficiency - thx for it!!!

lg Daniel
George
Moderator
Posts
5421
Karma
1

Thu Nov 16, 2006 1:34 pm
Daniel wrote:Maybe a DHT-connection limit would do - or maybe there are some bugs in the DHT-stuff?!


DHT is connectionless, it uses UDP, so imposing incoming limits is not possible. We can limit the number of nodes we talk to, but at any given time that is allready limited to 255 at the same time
gregbowden
Registered Member
Posts
4
Karma
0

Works for me.

Thu Nov 23, 2006 2:08 pm
micha wrote:Putting my ISP's DNS server addresses into resolv.conf instead of the router's address solved the problem here.


Once I added my DNS server IP addresses into my /etc/resolv.conf normal HTTP connections started working again.

Before I did this I could not use the internet at all when KTorrent was running.

BTW, I am using a Belkin F5D7632-4 router and have DHT enabled and all ports open for bittorrent.

Regards,

Greg

EDIT: Just noticed this also allowed me to connect to about 100 more peers than before. I was only getting about 30-45 peers a torrent now I'm getting 150+ (That's the limit I set per torrent.).

I'm using the SVN checkout from 21st of November.
stoeptegel
Registered Member
Posts
1075
Karma
0

Thu Nov 23, 2006 2:43 pm
I think our problem might suffer from the same problem as mentioned here:
http://www.kdedevelopers.org/node/2545
gregbowden
Registered Member
Posts
4
Karma
0

Thanks.

Thu Nov 23, 2006 2:50 pm
Thanks for the info.
berzy
Registered Member
Posts
4
Karma
0

irratic DL & UL speeds

Sat Nov 25, 2006 4:21 pm
i'm just getting into linux so i don't understand everything that is being said in the forum but i'm have similar probs.
i'm running Mepis 6.0, ktorrent 2.0.3 & KDE 3.5.3 with a d-link 524 router
basically i can't get a stable DL at all. tried all sorts of tweaks and setting changes with ktorrent and the router, with no luck.
i'm in a remote area so my bandwidth is **** but i've had no prob getting consistant 20k-60k DL's before this setup.

any help out there? i'm not to experienced with konsole or editing packages but i'm a fast learn. i just want a consistant DL.

thanks in advance
imported4-Ivan
Registered Member
Posts
819
Karma
0

Sat Nov 25, 2006 5:54 pm
Can you try 2.1beta1? You'll need to compile it from source found on downloads page. Instructions are simple considering you have installed all needed development packages:
./configure
make
make install (as root)

You'll need:
- Qt3 dev package
- KDE dev
- libgmp dev

probably some more packages but hopefully these will depend on them so they'll get installed too.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]