Registered Member
|
Hello,
my english isnt good, sorry for it it is possible to add the feature where you cann affect the max. upload and download speed for one torrent? ------- bug ??? ------- I'm using KTorrent: 2.1rc1 on my gentooBox, Azureus was used befor. So I added some incompleted files from azureus to kTorrent, and the check of existing files is very very slow ? One file was about 40GB it takes over one hour to check it ??? how can I accelerate it ? thx masa |
Moderator
|
|
Registered Member
|
Azureus and KT check at nearly identical rates on single-core machines (actually KT is a bit faster with Java5 and GCC precompiled Java Azureus, Azureus is a bit faster with Java6)
but Azureus appears to multithread checking of chunks on multi-core systems, making it markedly faster on those provided that disk IO can keep up. But checking a 40GB file computes SHA1 hashes for 40GB of data, which is quite a CPU-intensive operation and going to take time, no matter what torrent client you use. |
Moderator
|
|
Registered Member
|
|
Registered Member
|
|
Moderator
|
If the hash check is the bottleneck we can probably speed it up by having a disk reading thread read into a queue which is emptied by the hashing thread, that way the hashing thread can allways be busy, and the disk thread can load chunks when they are needed.
When the disk thread would be reading from disk, the hash thread can keep using the CPU. Another option maybe is to use mmap. |
Moderator
|
|
Registered Member
|
That is more than 40% faster It would be good advertising if ktorrent could beat that. |
Registered Member
|
|
Moderator
|
|
Registered Member
|
Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]