I’ve been using Raspberry Pi’s for a few years now. Really love them.
Been using a 3 for a while and would transfer files to it from my Windows computer. 5Gb file would take about 6 minutes to transfer to the Pi. Onboard Intel gigabit Ethernet adapter on the PC. Direct connection with Cat6 Ethernet cable.
Thought the 3+ would give me faster transfer but still getting around 11Mb/s.
Also should I transfer to the external hard drive connected to the Pi, or directly to the Pi or watch them from my online OneDrive?
Watching from the external hard drive on the 3 would give the occasional stutter.
Transferring via ethernet with the hard drive connected to the Pi will be slow because the USB bus is shared between ethernet and the USB ports. Using WiFi (if possible) instead of ethernet or transferring the file to the Pi’s SD card should be faster. Watching the movie from OneDrive depends on your internet connection.
Well, I bought a Linksys EA3500 wifi router. Connected the cable modem to the router (which has gigabit ports). Went from the router through a gigabit switch. Both my computers have gigabit ethernet and all cables are CAT6. Still only getting around 12 MiB/s transfers. Any thoughts? Thanks.
Unfortunately, I don’t have a Pi3+ to run any tests myself but it might be as @ConfuSomu suggests: that you’re constrained by the USB 2.0 bus of the Pi3+ (theoretical maximum 480 Mbps), with incoming network traffic and outgoing disk I/O traffic vying for the limited bus bandwidth. Add to that the fact that your external disk is running NTFS, which is relatively inefficient on OSMC, and it might just about explain your slow transfer speeds, though they still seem a bit slow to me.
Two other things:
AFAICT you didn’t mention how you are copying the files over. There’s nothing in the log showing a source defined either in Kodi or in the fstab.
It will still be useful to see iperf3 figures between the server and the Pi, so we can rule out (or in) the possibility of a network issue.
I have transferred via Filezilla and Windows 10 File Manager both to the osmc folder on the Pi and also an external USB hard drive. Transfers no matter what seem to be about 16 MiB/s maximum. I also enabled the wifi and get almost the same speed.
Should iperf3 figures be obtained while I’m doing a transfer between my PC and the Pi?
Installed the FTP server. Also got FTP to work from Filezilla. Seems a little faster, still only around 16 MiB/s maximum. Interestingly, from the SD card on the Pi to my computer I get a stable 22.3 MiB/s.
I see that speeds have evolved from 11 MB/s (post #1) to 12 MB/s (post #5) and you’re now talking about 16 MB/s (and 22.3 MB/s transmit). The first two speeds might have been a result of some step along the network path operating at 100 Mbits/sec, but that wouldn’t be the case at 16 MB/s, which is faster than a 100 Mbits/sec network can handle.
Your iperf3 figures are showing around 190 Mbits/sec to the Pi3+ and around 300 Mbits/sec from the Pi3+. Since this is iperf3, it’s measuring just the network speed, without any overheads for disk I/O, so it’s unclear why you’re getting this asymmetry in the network figures. However, I’m not surprised to see you getting 16 MB/s read speeds on a 190 Mbits/sec network once we take account of the overheads involved (disk writes, network, SFTP).
Bottom line: the receive speeds of the Pi seem to be broadly in line with the network (receive) speed. It’s not clear to me why the receive speed of the Pi is only 190 Mbits/sec but, unless it can be increased, you’re unlikely to better the current performance.