I'm running Pi4 4Gb as my Time Machine and Media Storage via smb server + PiHole. Speeds were always inferior, but I suspected problem was WD My Passport with HFS+ (for time machine) and exfat formatting (couldn't change it because occasionally I needed it to carry with me and stick in Windows PC's. So recently I reformatted it into ext4 and speeds for writing are about 5-10 MB/s from both laptop and smartphone. Tests I've done:
- with connection to laptop type-c port with Ubuntu VM (for ext4) or MacOS speeds are 70-80 MB/s on writing
- HDD is connected to USB 3.0 port on PI
- Tested performance of HDD while connected to Pi
sudo dd if=/dev/zero of=/mnt/ext4/speedTestFile bs=20M count=5 oflag=directshown 99.6 MB/s - iperf3 results are 63-89.7 Mbits/s over both 2.4 and Wifi 5 which represents my experience perfectly.Here's a small issue as in my current location both server (my laptop) and client(pi) for both wireless and I can't connect any of them with cable. But still I believe speeds are crazy low and even thou my current router is from IP and pretty simple there is no load on it to have such speeds.
- Cloudflare speed test from laptop shows upload 560Mbps and download 273 Mbps with WIFI5, so I am kind of lost here.
- Performed Disk Speed test with black magic app from my laptop to network drive on Pi - read speed 5.6 MB/s, read is 4.4 MB/s, even slower then I thought. Any advice what can be done to increase speed of file transfer inlocal network? write speed test

WD My Passportare notoriously slow as they use (in my experience of only 3 such devices) Shingled Magnetic Recording (SMR) - which is hot garbage63-89.7 Mbits/s- which is about 8 to 11 MBytes/s - so yourDisk Speed test with black magic app from my laptop to network drive on Piat most will be 11MBytes/s ... however, you say anetwork drive on Pi... so, where is the actual drive connected, not to the pi, since you call it anetwork drive- so then you'll have wifi from laptop to pi, then wifi from pi to network drive ... wifi is garbage on the pi so you get what you get