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

Unexplicably slow

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

Unexplicably slow

Fri Nov 04, 2005 12:32 pm
My problem is one other have had as well: KTorrent is painfully slow.
I'm not behind a NAT, my port settings and such are the same I use in Azureus, but I still don't get download speeds to go over ~15K/sec. With Az, I get the maximum speeds I can with my connection, which is a 10 Mbit/10 Mbit one.
Any insight as to why?
George
Moderator
Posts
5421
Karma
1

Fri Nov 04, 2005 12:33 pm
Version ?
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Fri Nov 04, 2005 12:40 pm
1.2dev, checked out from SVN ~30 minutes ago, but it was slow with 1.1 as well.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Tue Nov 08, 2005 3:29 pm
theShrike wrote:1.2dev, checked out from SVN ~30 minutes ago, but it was slow with 1.1 as well.


True for me too, I get much better speeds with btdownloadcurses. I use ktorrent-1.2dev from svn
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Tue Nov 08, 2005 4:57 pm
Still experiencing the same, 1.2beta (svn revision 478976).
Sometimes I do get a momentary 150k/s but the performance on average stays in the 15-20k range.
I should note that upload speeds are what are to be expected from my connection.
Somehow I'm forced to think ktorrent isn't that aggressive in requesting chunks. Developer people want to confirm this?
George
Moderator
Posts
5421
Karma
1

Tue Nov 08, 2005 6:52 pm
[quote="theShrike"]Still experiencing the same, 1.2beta (svn revision 478976).
Sometimes I do get a momentary 150k/s but the performance on average stays in the 15-20k range.
I should note that upload speeds are what are to be expected from my connection.
Somehow I'm forced to think ktorrent isn't that aggressive in requesting chunks. Developer people want to confirm this?[/quot
We keep a maximum of 10 outstanding requests per peer. You could try increasing the number to something higher

It's in libktorrrent/torrent/chunkdownload.cpp line 176 :

for (Uint32 i = 0;i < num && pd->getNumRequests() < 10;i++)

You can change the number to something higher, but I doubt that would do anything, as soon as a piece arrives, we request new pieces.

Allthough maybe there is a problem with us requesting a piece, the other side doesn't send it and so the piece keeps hogging the connection forever and if you got 10 of those you will not send any requests ...

I need to examine this.
George
Moderator
Posts
5421
Karma
1

Tue Nov 08, 2005 8:12 pm
I have added a timeout for each request, as it turns out there are quite a few timeouts, so upgrade to the latest svn version and see how it goes.
imported4-Anonymous
Registered Member
Posts
329
Karma
0

Tue Nov 08, 2005 9:07 pm
It's certainly not stalling as much as it was, not seeing a speed increase yet but it may be too soon to tell. I'll keep you posted
theShrike
Registered Member
Posts
1
Karma
0

Fri Nov 11, 2005 2:03 pm
Well, after a while, I can say that I do get better speeds already (in the 150-200k/s range). It does take longer to get there, and they're not as good as I've gotten with other clients that'll remain unnamed, but KTorrent is now my favorite toy. Keep up the goodness.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]