XITRIX / iTorrent

Torrent client for iOS 9.3+
MIT License
1.83k stars 180 forks source link

Speed Regression from Stable (1.8.3) to 1.9-dev2 (build 17/12/2023) #296

Closed DaJakerBoss closed 4 months ago

DaJakerBoss commented 5 months ago

Device is an iPhone SE 2020 running stock iOS 17.0.3, app signed via Sideloadly

Attempted to download from a magnet link using the latest developer build of 1.9.0 from 17/12/2023 and noticed I wasn't connecting to almost any peers and my download speeds wouldn't reach above 250KB/s. Downgraded to the last stable release from this GitHub (1.8.3 from September) and immediately reached ~10MB/s from the same exact magnet. All of this happened on the same Wi-Fi network using the same settings and same magnet to reduce variables.

No idea how to troubleshoot the underlying issue here but I've uploaded screenshots of the issue in play. Here's the magnet link I used

Here's some supporting images and a video: (video is from 1.9-dev2) https://github.com/XITRIX/iTorrent/assets/33241295/8ce9140c-3615-44dd-b7c6-d65641fb41a3 Proof of video using app version 1.9-dev2 IMG_E1363

Expected speed on 1.8.3 [ignore that it didn't meet 8MB I had to re-take this] IMG_E1367

Proof of version 1.8.3 IMG_E1362

XITRIX commented 5 months ago

0 speed issue is the internal crash of libtorrent, I tried to find the reason, but with no success yet unfortunately, as quick fix you need to restart the app (kill it and open again)

I think this issue related to this problem

DaJakerBoss commented 5 months ago

I've done a quick restart several times and at most it works for about a second before speed falls back to 0. Are there any diagnostics or logs I can send your way to help out?

Message ID: @.***>

--

--Jake

XITRIX commented 5 months ago

I'm pretty sure that's the same issue that I've attached above, libtorrent reports that it cannot allocate memory, while there is no reason for that, maybe I'll revert libtorrent's version back while it worked fine without such issues

XITRIX commented 5 months ago

Try to check the latest build (57) from AppCentre, I've built it with v1.2 of libtorrent, maybe it will help with your issue

DaJakerBoss commented 5 months ago

Thank you, I will take a look when I get home and can sign it. Great timing too, just finished the show I was watching

On Thursday, January 25, 2024, Vinogradov Daniil @.***> wrote:

Try to check the latest build (57) from AppCentre, I've built it with v1.2 of libtorrent, maybe it will help with your issue

— Reply to this email directly, view it on GitHub https://github.com/XITRIX/iTorrent/issues/296#issuecomment-1910410231, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH5TRT2DBZR4JK4H33L5MULYQJZFZAVCNFSM6AAAAABB2MOEHSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJQGQYTAMRTGE . You are receiving this because you authored the thread.Message ID: @.***>

--

--Jake

DaJakerBoss commented 4 months ago

Sorry for the wait, the app is working great with libtorrent 1.2, no issues at all. Any luck tracking down the 2.0 issues?

XITRIX commented 4 months ago

I don't know, I already created an issue for LibTorrent, hope arvidn will be able to find the problem