Speed drops from 2MB/s to 40KB/s to ~0KB/s?

Linux specific questions, problems.
Post Reply
cartman85

Speed drops from 2MB/s to 40KB/s to ~0KB/s?

Post by cartman85 »

Hello!

Hope somebody could help me out:

Issue: Speed starts out fine at ~2MB/s. Then after a while (1-2 hours) speed drops to 40KB/s, and then later one it might drop even more. See attached pictures.

Info:
Internet: 500Mbit
VPN: Yes
Version: 4.2.5 (From Raspbian(Debian) Stable repo)
System: Raspberry Pi 4 8GB
Saving to external USB flash drive

I have testet that:
- if I restart the torrent client, speed increases again. But it seems like I have to kill the process in order to restart it.
- if I use another torrent client (transmission) these issues did not occur
- I have checked the execution log and starting qbittorrent from terminal without finding any substantial useful information. Anywhere else I could look?
- Mounting the external exfat drive with async does not make any difference, however I still think this might have to do with writing/reading to an external drive - but other bittorrent clients does not have this issue.

Any Idea what this could come from? IO issue? Connections issue?




EDIT:
Ok, this is rather interesting. After closing qbittorrent in the gui, I ran iotop, and it seems to be reading and writing? Why? See attached photo.

EDIT2:
Attached lsof..
Attachments
2022-07-20-195618_1628x939_scrot.png
2022-07-20-195618_1628x939_scrot.png (330.91 KiB) Viewed 1000 times
2022-07-20-194803_813x458_scrot.png
2022-07-20-194803_813x458_scrot.png (84.06 KiB) Viewed 1002 times
2022-07-20-194001_852x322_scrot.png
2022-07-20-194001_852x322_scrot.png (70.68 KiB) Viewed 1005 times
2022-07-20-193915_852x327_scrot.png
2022-07-20-193915_852x327_scrot.png (32.71 KiB) Viewed 1005 times
unseen19
Veteran
Veteran
Posts: 188
Joined: Mon Mar 15, 2021 1:36 pm

Re: Speed drops from 2MB/s to 40KB/s to ~0KB/s?

Post by unseen19 »

Hi,

Sounds like an issue on the target device (flash), either by the driver or the cache. May you try with another drive?
A regular HDD may be the best option to test (avoid the same IO pattern)
Post Reply