I hope one of you can help me with my struggle. First of all, I love Dietpi and have been using it on a dedicated seedbox for some years now. Recently I did a clean install and since then my torrents have been crazy unstable.
Specs:
RPI4 4GB running Dietpi on a Crucial MX500 2 TB and a WD red 2 TB (own power supply)
1000mbit down/1000mbit up provider
Private tracker (Torrentleech)
Ethernet connection
Duplex full 1000 set correct
In one month I’m celebrating my 10 year anniversary as a Torrentleech user and I’m not a noob when it comes to torrents, but I just can’t figure this one out. I did not change any other variables and before the fresh install my torrentspeeds were about 90-105 mb/s net and very stable.
Now they keep fluctuating between 5 and 70 mb/s. Of course torrents work on seeds/connections principle, but Torrentleech always gave me pretty much the max of the gigabit connection with little loss.
Permissions and ownership are set correct, HDParm gives me excellent read/write speeds on both disks, portforwarding is set correct, speedtest-cli gives me about 850-900mbit and no weird things in logs and dmesg when downloading.
Sidenote: I tested rtorrent-rutorrent, Deluge, Transmission and QBT and they all show the same behaviour.
I did notice that Deluge gave me the full speed when started the first time as a daemon, but after I made the service file it dropped again. Can this be a coincidence of does one of you have a lead for me where to start?
Fun-fact: Deluge is definitely the heaviest in load when downloading big torrent files (500gb+), I prefer QBT and the QBT remote app with its finished download push messages.
Thanks in advance for any helpful reply. I’ll give a TL invite to the guy or girl who has the solution for me.
did you forward the port? are you downloading from to many sources at once? I’ve had this happen also with dietpi on the pi4. figured it was normal and due to its limited cpu.
probably not your psu since you only power one storage from the pis usb.
did you try the downloads without the second storage attached? the wd red 2tb? I’ve had the pi do weird things with multiple drives attached. mostly not boot. even when the drive is self powered. sometimes drives do backfeeding aswell and even some chips in external enclosures don’t work well with it.
No, experiencing the same behaviour with one active torrent at 20-30 connections.
Yeah tried that, but same behaviour with only one drive. The drives are not the problem…this time.
The same setup worked like a charm before.
I did experience backfeeding with another WD red in enclosure, but then the Pi immediately crashed. Bought a powered USB to SATA 3 cable for it, but that one had the same VID and PID as the cable I use for the MX500, so the result was driver-panic and a Pi that was running at 80° Celsius.
Now I’m using an externally powered ASM USB to SATA and all good. That little jump did made me buy an Ice Tower though.
whenever I’m using my pi i just have it in a aluminum heatsink case no fan. what is the chipset for the adapters are your using? also have you tried installing the os to a different ssd? I have a few mx300 and mx500 and I wouldn’t ever use them for a os because of lack of dram cache. this could just be a combo punch of slow cpu and very bad ssd clogging you up.
uh also your chipset for one of your storage drives may also be the cause. pi doesn’t like some chipsets. i don’t remember any of my externals with a jmicron working other than a m.2 nvme ssd to usb drive. also when someone asks about a chipset they dont mean just ASM and jmicron they mean the entire thing. such as ASMedia - ASM235CM
hmm you used this before on the pi4 or it worked well with a different sbc or computer? im reading a few posts about this chipset working okay with pi3 but then not working with pi4 but that may of been the 12v version not the 5v. have you tried swapping out the cable for a different one? possibly a defect in the cable over time? im very rough with cables and im constantly ruining ethernet cables/ports and all other charging things.
what version of dietpi are you using compared to before? the same? not sure on compatility of different chipsets over different versions of even the same os.
hmm I suggest installing the os to the sdcard and hope your ssd or enclosure chipset is the problem. make sure to not plug in any other drive. just the sdcard. also only install the one application.
edit: also you were only using bookworm? not bullseye?
this makes downloads take longer than usual. instead of downloading like a normal file it skips up and down taking 10 minutes to download a file instead of 10 to 30 seconds and also dragging out the processing that the pi has to do causing more heat and slowing other processes down because the download still hasn’t finished. after a while its like a clown doing one of those junk juggling shows really slowly.
I made clean install of newest DietPi on SSD and booted from it,
installed on qBittorrent,
added line https://deb.debian.org/debian/ sid main contrib non-free non-free-firmware to file /etc/apt/sources.list
updated apt apt update
reinstalled qbittorrent-nox to newest version 4.6.0 apt install qbittorrent-nox
restarted qbittorrent dietpi-services restart qbittorrent
Now speed are up to 50 MBits stable but only when downloading 2 torrents at once to HDD more downloading torrents drops downloading speeds.
What device do you use?
On a RPi 3 for example the USB ports share the same bus with the ethernet and when you write a lot to HDD the network speeds drops also because of this.