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

Widespread KTorrent Problem: slow downloads???

Tags: None
(comma "," separated)
seamus7
Registered Member
Posts
3
Karma
0
OR are my downloads a problem created by a misconfiguration on my part? I really want to use KTorrent and hope someone generous and knowledgeable is able to help me out here. :)

I set my upload slots to 4 or 5 yet the peers' list shows that I am uploading to over ten peers per torrent. This seems to cause each peer to receive a maximum of 1Kb/s which is not optimal, right? That would be detrimental to my download speed, right? That may be the reason KTorrent doesn't give me the download rates to which I'm accustomed, right? I don't know.

How do I figure out the source of my KTorrent woes?

There seem to be many people with the same problem: slow downloads with KTorrent after experiencing fast downloads with other clients. Does anyone have a link to a resource which addresses this seemingly widespread complaint with useful actionable information?

My Basic Settings:

global max connections: 200
per torrent:35
max download rate: 350
max upload: 28
upload slots: 5
max downloads: 3
max uploads: 2

I'm using Ubuntu 6.06 and KTorrent 2.02
imported4-Ivan
Registered Member
Posts
819
Karma
0

Tue Sep 26, 2006 10:35 am
I set my upload slots to 4 or 5 yet the peers' list shows that I am uploading to over ten peers per torrent.

Upload rate to a peer contains protocol bandwidth + actual upload rate (at least it seems that way to me). So, sometimes you might be having upload to peers who have upload slot and protocol messages to some other peers and this might seem that you're uploading to more than 4-5 peers. Offcourse, this may not be the scenario so if I'm wrong let me know.

There seem to be many people with the same problem: slow downloads with KTorrent after experiencing fast downloads with other clients.


We have done some changes regarding download speed recently. Are you able to compile/run KTorrent SVN version? I'll be here to help you do that.
It would be good if you could confirm that you have better download speed with new development version...
seamus7
Registered Member
Posts
3
Karma
0
I grabbed KTorrent-23-09-06 and began the compiling process. It stopped compiling after these messages:

checking for libz... -lz
checking for libpng... no
checking for libjpeg6b... no
checking for libjpeg... no
configure: WARNING: libjpeg not found. disable JPEG support.
checking for perl... /usr/bin/perl
checking for Qt... configure: error: Qt (>= Qt 3.3) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Tue Sep 26, 2006 5:18 pm
Changes got in trunk after 23.09 so you'll need the latest SVN. To get it type this in console:
Code: Select all
 svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent
 cd ktorrent
 svn co svn://anonsvn.kde.org/home/kde/branches/KDE/3.5/kde-common/admin/
 svn cat svn://anonsvn.kde.org/home/kde/trunk/extragear/network/Makefile.cvs > Makefile.cvs


Now your compiling problem. You'll need to install QT development package, KDE development package and libgmp dev package. Search for them in your package manager (don't know which distro are you using) and install them. If everything goes ok, you'll get rid of that error message.

BTW, if you use Kubuntu Dapper i386, I can send you deb package so you can skip this whole process.
seamus7
Registered Member
Posts
3
Karma
0

Tue Sep 26, 2006 9:37 pm
Yes I'm on a i386 system using Ubuntu Dapper 6.06 (Gnome). I also have the KDE desktop environment installed as well. If possible, send the deb package to seamus.seven at gmail dot com

Thanks
imported4-Ivan
Registered Member
Posts
819
Karma
0

Tue Sep 26, 2006 10:30 pm
I'm sending it right now.

Please, test your speed with this version and post your results here.
djseverin
Registered Member
Posts
10
Karma
0

Wed Sep 27, 2006 4:10 am
Would it be possible to upload that deb package to "SVN snapshots"? I would love to give it a test as I am having the same problem with regard to speed of torrents.


"We are the music makers, we are the dreamers of dreams"
jdong
Registered Member
Posts
358
Karma
0

Wed Sep 27, 2006 5:01 am
If those SVN patches work, could they be isolated and a 2.0.3 release made to "fix" the slow download problem, preferably soon so that we stand a chance of getting it into Ubuntu Edgy Eft? (within a week is ideal)

That would be just wonderful and save me some packaging logistics, also, as it'll take a while before I can get edgy-backports up and running.
imported4-Ivan
Registered Member
Posts
819
Karma
0

Wed Sep 27, 2006 10:14 am
Would it be possible to upload that deb package to "SVN snapshots"? I would love to give it a test as I am having the same problem with regard to speed of torrents.

http://rapidshare.de/files/34610512/kto ... 6.deb.html

If those SVN patches work, could they be isolated and a 2.0.3 release made to "fix" the slow download problem, preferably soon so that we stand a chance of getting it into Ubuntu Edgy Eft? (within a week is ideal)

That would be just wonderful and save me some packaging logistics, also, as it'll take a while before I can get edgy-backports up and running.

If some people can confirm that these changes really solve download speed problems than I guess we might consider v2.0.3 although we've agreed that 2.0.2 was the last in 2.0 series.
jdong
Registered Member
Posts
358
Karma
0

Wed Sep 27, 2006 3:02 pm
ok, I've isolated the diff for the "faster download" revision and applied it to KTorrent 2.0.2 source. Right now I am testing some torrents. The first one was a success, it was able to get up to Azureus speeds when before it didn't, though that could just be a coincidence.


I will continue to test and report back.


Thanks! You guys rock :)
jdong
Registered Member
Posts
358
Karma
0

Wed Sep 27, 2006 4:31 pm
Yes, there certainly is a marked improvement with the those patches from SVN. Great work! Tried a bunch of torrents this morning, and KTorrent is now just as fast as Azureus, if not faster :)

Maybe I'm just lucky this morning, but I really think those patches worked. I've already isolated the patches for applying to Ubuntu Edgy Eft sources, and as soon as the beta freeze lifts, these fixed 2.0.2+ packages will be build for Edgy and Dapper.
djseverin
Registered Member
Posts
10
Karma
0

Thu Sep 28, 2006 3:03 am
I ran both 2.0.2 and the newer dev version for 2 hrs each. The only difference I found was that I had less peers per torrent with the dev version. The usual would be 24 peers and the nr when running dev was 2.

I experimented with this by removing the dev package and installling 2.0.2. 202 once again had my usual 24 peers.

I also noticed that there was no DHT activity in the log viewer in the dev version (http://rapidshare.de/files/34610512/kto ... 6.deb.html) and that there was a great number of reject messages "Request rejected 7783 212992 16384 5".

Other then that, there was no apparent change.


"We are the music makers, we are the dreamers of dreams"
rickbot
Registered Member
Posts
1
Karma
0

Mon Oct 09, 2006 2:04 am
hi, Ivan. i'm using suse 10.0 with kde 3.5.4 and just upgraded to 2.0.2 from an old version hoping to get better speed and there was no improvement. i grabbed the deb package from the link on this page and converted it with alien and got dependency hell. any chance of making an rpm? the packages i can't find are: libaudio.so.2, libpcreposix.so.3, libpcre.so.3. hope this helps
cholobodlaii
Registered Member
Posts
21
Karma
0

Mon Oct 09, 2006 4:23 am
i m also getting very slow download using ktorrent using version 2.0. is there anything can be done to boost the speed?
imported4-Ivan
Registered Member
Posts
819
Karma
0

Mon Oct 09, 2006 12:20 pm
Just be patient a little more. We're about to release v2.0.3 which will have speed fix included. This will happen probably today or tomorrow.

You'll then only have to wait for your distribution package managers to make official packages, or you could compile your own from source.


Bookmarks



Who is online

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