Long time lurker of this forum, first time posting. I must say, this forum has helped me get from knowing virtually nothing about Raspberry pis to actually using it as my first home server. So thanks for that.
Now coming to my issue. I would like to explain my current setup before jumping in (not sure if this is helpful but want to be as brief as possible).
For my setup, my raspian OS is running on a Samsung P7 512GB SSD, making the SSD bootable as the instructions were on this forum.
I recently decided to add a second Toshiba Canvio Basics 2020 2.0TB Portable HDD to my Raspberrypi to expand storage. I am currently using a powered USB hub as many people on the forum here also suggested that the pi can at most power 1 external drive.
Now on this TOSHIBA external drive, I am running all my media management containers, like the *arr stack, qBittorrent, and plex. I noticed that the download speeds for torrents on my pi were fluctuating like crazy, going from 5MB/s to 13MB/s and then immediately going back to 2MB/s. I never saw it stay constant since the beginning.
How I came across [usb-stoage quirks][viewtopic.php?f=28&t=245931] post from the forum thinking that the uas driver might be a bottleneck. So I enabled quirks for both my SSD (boot) and my HDD (storage). I noticed now that my pi just shuts down when the torrents reach a download speed of around 15-16MB/s. It hangs up initially for a while, and always just reboots and then the download starts from the beginning.
I am really not sure what I have messed up, but I am not able to continue using my media management stack with this portable USB drive. The USB drive itself is new too.
Also, I am using OpenMediaVault on my pi to use it as a NAS, and their monitoring charts look crazy, with spikes every 5 minutes with cpu usage marked as `wait-IO`.
If someone can point me to any solution or a way that I need to look into, I would really appreciate it. Please also let me know if I must provide any additional statistics about my raspberrypi's resource usages.
Thank you guys!!
Here are usb-quirks stats about my devices:
Code:
[pi@raspberrypi:~/ssdshare $ hwinfo --scsi10: SCSI 00.0: 10600 Disk [Created at block.255] Unique ID: +QFa.WMdxeCbk5e7 Parent ID: VCu0.m2lGPNk7Xc4 SysFS ID: /class/block/sdb SysFS BusID: 0:0:0:0 SysFS Device Link: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1.1/2-1.1.1/2-1.1.1:1.0/host0/target0:0:0/0:0:0:0 Hardware Class: disk Model: "TOSHIBA External USB 3.0" Vendor: usb 0x0480 "TOSHIBA" Device: usb 0x0901 "External USB 3.0" Revision: "0" Serial ID: "20201029001123F" Driver: "usb-storage", "sd" Device File: /dev/sdb (/dev/sg1) Device Files: /dev/sdb, /dev/disk/by-diskseq/26, /dev/disk/by-id/ata-TOSHIBA_MQ04UBD200_X0TFT02PT, /dev/disk/by-id/usb-TOSHIBA_External_USB_3.0_20201029001123F-0:0, /dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1.1:1.0-scsi-0:0:0:0 Device Number: block 8:16-8:31 (char 21:1) Module Alias: "usb:v0480p0901d0000dc00dsc00dp00ic08isc06ip50in00" Drive status: no medium Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #1 (USB Controller)20: SCSI 100.0: 10600 Disk [Created at block.255] Unique ID: RZtk.VJp2fuQ3bzB Parent ID: VCu0.m2lGPNk7Xc4 SysFS ID: /class/block/sdc SysFS BusID: 1:0:0:0 SysFS Device Link: /devices/platform/scb/fd500000.pcie/pci0000:00/0000:00:00.0/0000:01:00.0/usb2/2-1/2-1.1/2-1.1.2/2-1.1.2:1.0/host1/target1:0:0/1:0:0:0 Hardware Class: disk Model: "Samsung PSSD T7" Vendor: usb 0x04e8 "Samsung" Device: usb 0x4001 "PSSD T7" Revision: "0" Serial ID: "S5TKNK0N501519B" Driver: "usb-storage", "sd" Device File: /dev/sdc (/dev/sg2) Device Files: /dev/sdc, /dev/disk/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1.2:1.0-scsi-0:0:0:0, /dev/disk/by-diskseq/27, /dev/disk/by-id/usb-Samsung_PSSD_T7_S5TKNK0N501519B-0:0 Device Number: block 8:32-8:47 (char 21:2) Module Alias: "usb:v04E8p4001d0100dc00dsc00dp00ic08isc06ip50in00" Drive status: no medium Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #1 (USB Controller)]]
Statistics: Posted by siriusblack — Tue Apr 16, 2024 4:03 pm