Unofficial Deluge 2.0.x for Windows installer

Specific support for Deluge on Microsoft Windows OS
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Unofficial Deluge 2.0.x for Windows installer

Post by mhertz »

You're welcome mate. If you have dual-core with ht, as you state, I personally would use 16 - not sure it would help more, but atleast there's 4 sha1 threads then, for the 4 total cores you have. BTW @all, many think hashing only happens at end of downloading, but happens during the whole time also, for verifying the individual piece integrity transferred - last check is just an extra full check.

Edit: Also saw one state just downloading a file at 880mib without torrent-protocol(so regular file transfer in a speedtest), used over 80% of one core, so some systems just cannot do 1gib despite in theory should - torrenting obviously adds extra overhead on top. uTP can be disabled to up speed often / lower overhead, and for testing one could test with disable_hash_checks true.
idiocracy
Seeder
Seeder
Posts: 101
Joined: Tue Jul 23, 2019 11:04 am

Re: Unofficial Deluge 2.0.x for Windows installer

Post by idiocracy »

@mhertz
I believe i saw someone mention on the libtorrent github, that scheduling sha1 threads on HT cores wasn't a good idea, as the two sha1 threads going on the physical core and the one going on the virtual core would be fighting each other over cpu resources. I think that is the reason i had it set to 8.
I am looking into upgrading the apu with a stronger one, like 3050GE. Problem is that all amd apu's right now are oem only. Makes it hard to buy anything.
Last edited by idiocracy on Tue Jan 12, 2021 11:58 pm, edited 3 times in total.
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Unofficial Deluge 2.0.x for Windows installer

Post by mhertz »

Sorry, maybe that's correct - I googled it long time ago and seemed to come to the concensus that is about total cores and not only physical, but I easily could be wrong - I have my system set like that I.e 32 for 4 cores with ht, but never benchmarked it honestly. I just quickly googled it now and didn't found yet Arvids specific responce about ht and this(if any), but read something I forgot I too read before, that with hdd's it's not recommended to use more than 8(2 hash threads), as hinders performance for some reason, but ssds have no limit practically - this was tested by Arvid in a link somewhere down in following thread which is also good reading on this subject from qbittorrent github about that libtorrent settings optimal values: https://github.com/qbittorrent/qBittorrent/issues/11461

You probably have read it, but just to make sure, and to others interested. Sorry for coming with somewhat to quick suggestions before, atleast for hdd owners, as forgot about Arvids test on that, as ssd only user myself so not important for me personally. It's little strange, as reading Arvid state the setting is max threads, so only opened if needed, and so no automatic limitation in it, but that was before he tested it I believe(about hdds I refer to).

Edit: Also good thread on subject, though just still no ht concensus either and just general info: https://github.com/arvidn/libtorrent/is ... -386916090
Last edited by mhertz on Wed Jan 13, 2021 12:19 am, edited 3 times in total.
idiocracy
Seeder
Seeder
Posts: 101
Joined: Tue Jul 23, 2019 11:04 am

Re: Unofficial Deluge 2.0.x for Windows installer

Post by idiocracy »

This is with io-threads set to 16. Looks more or less the same as value at 8. And it is using ssd's.
Udklip.JPG
Udklip.JPG (49.76 KiB) Viewed 9190 times
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Unofficial Deluge 2.0.x for Windows installer

Post by mhertz »

Interesting :) Yeah, no need then, in that case, and if that ht thing is correct you stated before too.

Edit: Little hard to find info from Arvid on this ht thing, but e.g in a thread about best settings for greatest speed, he stated "If disk IO is a bottleneck (which I would expect it to be given a fast internet connection), you probably want to set aio_threads to something much greater than 2. probably 16 or 32" - again not about ht, but still. He also stated not really about cpu-cores but throughput, meaning having enough threads available to queue up the blocking disc-calls to be able to saturate your connection without deadlocking, which isn't a black and white core-related thing really. However, in first thread I linked originally, FranciscoPombal, the qBittorrent dev which first suggested raising the value like that(cpu-dependant), because of his own testings/benchmarks stated: "As such, the default value for "Asynchronous I/O threads" should be bumped at an absolute minimum to 8, and ideally to 16, depending on whether we want the lower bound of "average" to be at 2c/2t or 2c/4t, respectively."
Last edited by mhertz on Wed Jan 13, 2021 12:25 pm, edited 6 times in total.
idiocracy
Seeder
Seeder
Posts: 101
Joined: Tue Jul 23, 2019 11:04 am

Re: Unofficial Deluge 2.0.x for Windows installer

Post by idiocracy »

Oh man, just found a PRO 3400GE for 105€ on aliexpress, i'm really tempted to jump on that. Especially because GE apu's are almost non-existent in most of EU.
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Unofficial Deluge 2.0.x for Windows installer

Post by mhertz »

Hey, good find mate, jump on that then, if finances up to it :) Honestly not really a hardware guy myself so know not much about the subject, but seemingly a sweet deal then.
idiocracy
Seeder
Seeder
Posts: 101
Joined: Tue Jul 23, 2019 11:04 am

Re: Unofficial Deluge 2.0.x for Windows installer

Post by idiocracy »

With covid lockdown i'm buying too much stuff.
Well, let's put it this way, without knowing what cpu you have. A typical desktop cpu is running between 65/105w tdp. 3400GE is 35w tdp cpu. With 4/8 threads, probably running at less than half the power you current cpu is. Perfect for a small formfactor homemade NAS/server.
mhertz
Moderator
Moderator
Posts: 2331
Joined: Wed Jan 22, 2014 5:05 am
Location: Denmark

Re: Unofficial Deluge 2.0.x for Windows installer

Post by mhertz »

Cool, thanks for explenation :) Yeah I can understand that's nice for such setups, which though I've never ventured into myself, or yet atleast. Just personally ditched desktops some years ago and straight laptop only and just currently have cheap Lenovo with Intel i5 8250u quad-core with ht(kaby lake) and 15w tdp, but laptop as said, so not important like your situation(server/nas etc). Actually don't even torrent much at all, but just still my favorite type of program for its possibilities of doing such when needed.
idiocracy
Seeder
Seeder
Posts: 101
Joined: Tue Jul 23, 2019 11:04 am

Re: Unofficial Deluge 2.0.x for Windows installer

Post by idiocracy »

Have a 8250u laptop as well, is serving me well. Are you undervolting yours? If not, you really really should.
With undervolt and limiting boost behaviour i'm getting an extra 1/2 hours of use, depending on usage of course.
Post Reply