I seem to be maxing out at about 14MBs and expected more.
Just thought I would ask how you are testing.
I created a 1Gb Ram disk mounted in tmp
Copied from a Windows SMB via 1Gb nic & switch.
As I say 14MBs max also my new Plugable USB 3.0 1gb adapter seems to be exactly the same.
Problem is did it via Mate desktop on the Rock so quite a lot going on but still seems pretty poor.
Anyone any ideas?
10-16-2017, 07:27 AM
(This post was last modified: 10-16-2017, 07:30 AM by stuartiannaylor.)
Well did the same but with NFS shares rather than samba.
Got 100MBs and didn't notice a difference between on-board Realtek or USB 3.0 (Plugable) ethernet adapter.
Samba sucks big style for some reason
On USB2.0 it can still manage 42MBs
Seems AX88179 chip is a good one.
Getting poor performance too over samba too, but over twice the speed you reported. Will try NFS tomorrow.
10-16-2017, 08:05 AM
(This post was last modified: 10-16-2017, 08:12 AM by stuartiannaylor.)
(10-16-2017, 07:54 AM)Luke Wrote: Getting poor performance too over samba too, but over twice the speed you reported. Will try NFS tomorrow.
Yeah so poor had to check the switch but yeah its 1Gb.
Quick guides as did it from a minimal image also.
https://www.linuxbabe.com/command-line/c...disk-linux
https://www.linuxbabe.com/ubuntu/nfs-share
Think in fstab had to include fsid=0 but fairly simple and it was approx 104 MBs max using Gnome Monitor on my AMD64 Lubuntu desktop.
Never tried Linux Samba it was Windows10 to Rock64 1G ram disk 900MB file that stunk at 14MBs
Amd64 Lubuntu16.04 to Rock64 1G ram disk 900mb file gave the approx 100MBs which is close enough to max on both onboard & USB
The speed in a USB2.0 Hub was good also as not many Brit ISP domestic connections are above 300Mbs
Got home and tested it out. Sure enough, SMB is the culprit. NFS works perfectly well - pushing my drive to its limit.
So why are we experiencing this issue while so many others have no issues with SMB?
(10-16-2017, 02:40 PM)Luke Wrote: Got home and tested it out. Sure enough, SMB is the culprit. NFS works perfectly well - pushing my drive to its limit.
So why are we experiencing this issue while so many others have no issues with SMB?
Dunno but yeah the difference is huge 14MBs as opposed to 104MBs with NFS.
I didn't stick with SMB long enough to do any tests to see if it was code and the processor bottlenecking.
Also didn't check if Linux SMB -> Linux SMB is any different to Windows 10 -> Linux SMB.
I have done a google and there is a hell of a lot of about slow transfer speeds but not much of a definitive answer.
Maybe SMB = shitty microsoft bandwidth ?
(10-16-2017, 05:22 PM)stuartiannaylor Wrote: (10-16-2017, 02:40 PM)Luke Wrote: Got home and tested it out. Sure enough, SMB is the culprit. NFS works perfectly well - pushing my drive to its limit.
So why are we experiencing this issue while so many others have no issues with SMB?
Dunno but yeah the difference is huge 14MBs as opposed to 104MBs with NFS.
I didn't stick with SMB long enough to do any tests to see if it was code and the processor bottlenecking.
Also didn't check if Linux SMB -> Linux SMB is any different to Windows 10 -> Linux SMB.
I have done a google and there is a hell of a lot of about slow transfer speeds but not much of a definitive answer.
Maybe SMB = shitty microsoft bandwidth ?
Nah, you can max out disk speeds with SMB no problem. I asked ayufan yesterday in IRC when I got home and online:
Quote:<lukasz> ayufan, both I and stuartiannaylor are experiencing the same thing - NFS works well but SMB works really poorly (set up via webgui in OMV). What gives ?
16/10/17 21:11
<ayufan> lukasz: interesting
16/10/17 21:12
<ayufan> do you have some way to prepare a “desc” how to reproduce it?
16/10/17 21:12
<ayufan> I use OMV/arm64 and for me SMB maxes out easily
16/10/17 21:13
<ayufan> actually, it doesn’t seem to be case now
16/10/17 21:13
<ayufan> ah, 2.4GHz
16/10/17 21:14
<ayufan> 65-70MB/s over SMB from USB3/HDD
16/10/17 21:14
<ayufan> (WiFi/ac)
16/10/17 21:16
<lukasz> ayufan: ok, for me the max is 30MB/s using SMB
16/10/17 21:17
<lukasz> and with NFS I am getting close to 100MB/s which is pretty much the max for this drive I belive
16/10/17 21:17
<lukasz> this is on GbE ethernet
16/10/17 21:17
<lukasz> I don't really know what other information I could add
16/10/17 21:18
<lukasz> I set it up from the GUI, just adding the share to SMB, giving permissions to read/write and thats about it
16/10/17 21:18
<lukasz> when you get a chance perhaps take a look in this thread ? https://forum.pine64.org/showthread.php?tid=5271
16/10/17 21:19
<ayufan> will look, but it might happen in about 2 wks
16/10/17 21:19
<ayufan> on Wed, I’m out for about one week, going to Greece
16/10/17 21:20
<ayufan> Also, try, AFP.
16/10/17 21:20
<lukasz> oh no pressure I am not in need of this working soon - but its a problem which seems to affect others too
16/10/17 21:20
<lukasz> have a great trip
16/10/17 21:20
<ayufan> You can also check if ionice is properly set.
16/10/17 21:20
<lukasz> AFP ?
16/10/17 21:20
<ayufan> Netatalk
16/10/17 21:20
<ayufan> (AFP is OSX thingy for sharing, deprecated but works better for macs)
16/10/17 21:20
<ayufan> Take a look at irq too
(10-17-2017, 02:39 AM)Luke Wrote: (10-16-2017, 05:22 PM)stuartiannaylor Wrote: (10-16-2017, 02:40 PM)Luke Wrote: Got home and tested it out. Sure enough, SMB is the culprit. NFS works perfectly well - pushing my drive to its limit.
So why are we experiencing this issue while so many others have no issues with SMB?
Dunno but yeah the difference is huge 14MBs as opposed to 104MBs with NFS.
I didn't stick with SMB long enough to do any tests to see if it was code and the processor bottlenecking.
Also didn't check if Linux SMB -> Linux SMB is any different to Windows 10 -> Linux SMB.
I have done a google and there is a hell of a lot of about slow transfer speeds but not much of a definitive answer.
Maybe SMB = shitty microsoft bandwidth ?
Nah, you can max out disk speeds with SMB no problem. I asked ayufan yesterday in IRC when I got home and online:
Quote:<lukasz> ayufan, both I and stuartiannaylor are experiencing the same thing - NFS works well but SMB works really poorly (set up via webgui in OMV). What gives ?
16/10/17 21:11
<ayufan> lukasz: interesting
16/10/17 21:12
<ayufan> do you have some way to prepare a “desc” how to reproduce it?
16/10/17 21:12
<ayufan> I use OMV/arm64 and for me SMB maxes out easily
16/10/17 21:13
<ayufan> actually, it doesn’t seem to be case now
16/10/17 21:13
<ayufan> ah, 2.4GHz
16/10/17 21:14
<ayufan> 65-70MB/s over SMB from USB3/HDD
16/10/17 21:14
<ayufan> (WiFi/ac)
16/10/17 21:16
<lukasz> ayufan: ok, for me the max is 30MB/s using SMB
16/10/17 21:17
<lukasz> and with NFS I am getting close to 100MB/s which is pretty much the max for this drive I belive
16/10/17 21:17
<lukasz> this is on GbE ethernet
16/10/17 21:17
<lukasz> I don't really know what other information I could add
16/10/17 21:18
<lukasz> I set it up from the GUI, just adding the share to SMB, giving permissions to read/write and thats about it
16/10/17 21:18
<lukasz> when you get a chance perhaps take a look in this thread ? https://forum.pine64.org/showthread.php?tid=5271
16/10/17 21:19
<ayufan> will look, but it might happen in about 2 wks
16/10/17 21:19
<ayufan> on Wed, I’m out for about one week, going to Greece
16/10/17 21:20
<ayufan> Also, try, AFP.
16/10/17 21:20
<lukasz> oh no pressure I am not in need of this working soon - but its a problem which seems to affect others too
16/10/17 21:20
<lukasz> have a great trip
16/10/17 21:20
<ayufan> You can also check if ionice is properly set.
16/10/17 21:20
<lukasz> AFP ?
16/10/17 21:20
<ayufan> Netatalk
16/10/17 21:20
<ayufan> (AFP is OSX thingy for sharing, deprecated but works better for macs)
16/10/17 21:20
<ayufan> Take a look at irq too
Dunno that is a fix running in cron that I should explore where Ayufan mentions ionice.
Haven't really checked it out but presume it has something to do with SMB
rock64 CRON[2342]: (root) CMD (for i in `pgrep "ftpd|nfsiod|smbd|afpd|cnid"` ; do ionice -c1 -p $i ${XU4_HMP_Fix}; done &>/dev/null)
Do let me know if you figure something out
(10-16-2017, 05:22 PM)stuartiannaylor Wrote: (10-16-2017, 02:40 PM)Luke Wrote: So why are we experiencing this issue while so many others have no issues with SMB?
Dunno but yeah the difference is huge 14MBs as opposed to 104MBs with NFS.
Have you run dtrace, checked the processor speed/temp and added active cooling?
(any speed testing I do is gonna be with a crossover cable to avoid questions about the suck/not suck nature of the switch)
|