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

stats problem?

Tags: None
(comma "," separated)
magesor
Registered Member
Posts
2
Karma
0

stats problem?

Tue Nov 07, 2006 2:06 am
ktorrent-2.0.3
On downloading process complete, I've found that I've downloaded much more than a real size of the file:
Code: Select all
+-------+--------+---------+----------+----------+------------+-------+
|  TTL  |  Size  | Seeders | Leechers | Uploaded | Downloaded | Ratio |
+-------+--------+---------+----------+----------+------------+-------+
| 634 h | 696 MB |   169   |    03    | 718.48kB |   1.05GB   | 0.668 |
+-------+--------+---------+----------+----------+------------+-------+

Then I've restarted ktorrent, and...
Code: Select all
+-------+--------+---------+----------+----------+------------+-------+
|  TTL  |  Size  | Seeders | Leechers | Uploaded | Downloaded | Ratio |
+-------+--------+---------+----------+----------+------------+-------+
| 630 h | 696 MB |   154   |    12    |  0.00kB  |   0.00kB   |  ---  |
+-------+--------+---------+----------+----------+------------+-------+

...zeroes, while an upload process takes almost all of my bandwidth =))
Is this a tracker or ktorrent stats problem?
imported4-meister
Registered Member
Posts
6
Karma
0

Tue Nov 07, 2006 10:06 am
its not a tracker problem.. I get this too on private trackers where I never had any problems with other clients.
For about 700MB downleded it downloads around 1GB.
magesor
Registered Member
Posts
2
Karma
0

Tue Nov 07, 2006 1:30 pm
Yeah, that's a private tracker. The stats were correct with ktorrent-1.* versions, until I've upgraded to the current.
stoeptegel
Registered Member
Posts
1075
Karma
0

Wed Nov 08, 2006 1:12 pm
The displayed stats on most trackers on the torrent detail page are the stats for the current session only. So this is correct.

For about 700MB downleded it downloads around 1GB.


This i haven't seen yet.
imported4-meister
Registered Member
Posts
6
Karma
0

Wed Nov 08, 2006 1:52 pm
yes restarting the client starts a new session and resets the stats, no problems there, only problem is with over-downloading :)

*EDIT*

Did some more testing on another tracker and for about 350MB downloaded it downloads ~100MB extra..
The weird thing is that ktorrent reports that it only downloaded ~350MB (the size of torrent) but the Share ratio reported in the Status isnt 1.0 even when Uploaded is at ~350MB.. so there are some more bugs here.

Im guessing Downloaded is reporting the size of the torrent and not the actual downloaded size.

Cheers
George
Moderator
Posts
5421
Karma
1

Wed Nov 08, 2006 7:48 pm
There are 2 reasons why you could get over downloading :

- Peers sending bad stuff
- Multiple peers assigned to one chunk, can cause duplicate pieces being sent

But with a normal torrent this shouldn't be that big. I will investigate this in the weekend when I have some downloading to do.
imported4-meister
Registered Member
Posts
6
Karma
0

Wed Nov 08, 2006 11:28 pm
Thanks for investigating this George!

Want to clarify one thing, I did these tests on private trackers where issues with peers sending bad stuff are minimal. Highly unlikely to have peers send ~300MB bad stuff on several different torrents.
And like I said before, havent had these problems with other clients on the private trackers at least.

Thanks again
jdong
Registered Member
Posts
358
Karma
0

Thu Nov 09, 2006 12:53 am
I think it's more likely that ktorrent is assigning more peers to chunks than necessary.
George
Moderator
Posts
5421
Karma
1

Thu Nov 09, 2006 7:35 pm
Is the chunk size large ? 1 MB, 2 MB ?

There is a limit on the amount of memory we use for chunks we are currently downloading, by default this is set to low which means 10 MB will be used for downloading chunks, so if your chunks are 1 MB large, you can only download 10 simultaniously.

If you can download from more peers then 10, ktorrent will assign multiple peers to each chunk.
imported4-meister
Registered Member
Posts
6
Karma
0

Fri Nov 10, 2006 9:07 am
well yea but it depends.

700MB torrents are usually between 512KB-2MB
350MB torrents are around 256KB-1MB
cyrylas
Registered Member
Posts
59
Karma
0

Sun Nov 12, 2006 10:16 pm
Confirmed here too.

Right now i have torrent completed at 85%. The stats says that I downloaded 690 of 690 MB, but the tracker says I already downloaded 780MB.

I've noticed it some time ago, so i think this bug was introduced something abiut 2-4 weeks ago.
stoeptegel
Registered Member
Posts
1075
Karma
0

Mon Nov 13, 2006 8:14 am
jdong wrote:I think it's more likely that ktorrent is assigning more peers to chunks than necessary.


I have the same feeling, because the stats are correct and bad chunks will not take 100MB on 350MB, that's insane. Would be good to know when this bug got introduced, maybe i can do some tests on that today.
George
Moderator
Posts
5421
Karma
1

Mon Nov 13, 2006 10:02 am
For the people experiencing this problem, go to settings and set memory usage to high. This should minimize the problem somewhat.

I need to come up with a better way to distribute the pieces when multiple peers are downloading one chunk, without impacting download speed.
cyrylas
Registered Member
Posts
59
Karma
0

Mon Nov 13, 2006 12:47 pm
If this can help - first time I noticed it 24.10. I've made screenshot, but didn't have time to post it here and later forget about it.
George
Moderator
Posts
5421
Karma
1

Mon Nov 13, 2006 3:02 pm
cyrylas wrote:If this can help - first time I noticed it 24.10. I've made screenshot, but didn't have time to post it here and later forget about it.


I know what the problem is, coming up with a solution which does not impact the download speed, and minimizes the over downloading is the hard part.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar