Please set up from scratch without importing your settings.
This uses SyncthingNative 2.0.3 with the following changes:
Revert ac8b3342ac9d9fcd2df8655a62bfa2ffb505ab42
Revert cbe1220680fc3d05688aae77e9a50581e669d1be (as this depends on the other reverted commit)
This version fixes the stalling for me. ac8b3342ac9d9fcd2df8655a62bfa2ffb505ab42 is the commit that git bisect said is the first slow commit.
I used this command to generate a (random) dataset for triggering this bug:
for i in $(seq 1 3400); do dd if=/dev/urandom of=/sdcard/dummy/$i bs=10M count=1; done
The dataset I got from that was particularly good for this purpose because it stalled at the beginning in problematic versions. I can distribute the random dataset I got, if that matters to anybody.
The title of that PR isnāt that great: Cache wasnāt removed, itās just a refactor still caching the cache. However I do remember there was brokeness in the main branch (not stable releases) at some point, so if you are bisecting commits you might run into that.
Iām a new user to syncthing, but have faced the slow android sync on one of my devices for a folder of: 666 files 82 folders ~99.1 GiB.
I sorted it with 1.9 version apk, but Iām willing to nuke it and do some more testing as I have a few such devices, my other main one that receives this whole folder did not have this problem.
1.9 has a fair few inferior bits to it.
Want me to do any testing?
edit
Deleted my data folder on the recipient and Iāve fired up the debug apk above out of curiosity. Itās going fairly slow vs v1.9 - which maintained a steady 60-80 MB/s and got it all done in 20- 30 mins.
This one is spending a lot of time at 0.0MB/s and jumping up to 80MB/s occasionally for a little burst, then back down again. Iām 15 mins in and have got 11GB done (average of 12 MB/s). It is more stable than the previous latest version I used though, that kept stopping completely if I left the device alone.
will report back with more later. If you want any logs or anything let me know (maybe with some instructions if itās more involved than the basic logs!)
I can honestly say for me this version is no better than the latest fork. The connection issue was my device sleeping rather than anything else related to the slowdown. Iām 1.5hrs in and itās done 40GB. going to stop it soon.
I renamed the topic, because it seems to be on the Android end, and it looks like it would have an effect no matter the OS on the receiving end, and to emphasize the direction of sync.
Hey together- I`m just a still follower of that thread because I have the same problem of slow syncing on my Poco F6 with 512Gig storage where only 100gig are free. Do massive data to sync - mostly pics and videos. With version 2.08.90 i can sync without hickups in reasonable speed. Just as another (positive) feedback. Thanks !
The first introduced the slowness, but the second one was reverted because I suspected that some people would install it and use it as if it were a non-test version. The second one is reverted just to avoid giving those people a known broken APK.
Iād like to see proof that commit changed anything. The first one above should be purely a refactor, it doesnāt change the caching of casefs lookups. The second one should speed things up.