PINE64
Network Speed - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: ROCK64 (https://forum.pine64.org/forumdisplay.php?fid=85)
+--- Forum: Rock64 Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=89)
+--- Thread: Network Speed (/showthread.php?tid=5271)

Pages: 1 2 3


Network Speed - stuartiannaylor - 10-16-2017

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?


RE: Network Speed - stuartiannaylor - 10-16-2017

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.


RE: Network Speed - Luke - 10-16-2017

Getting poor performance too over samba too, but over twice the speed you reported. Will try NFS tomorrow.


RE: Network Speed - stuartiannaylor - 10-16-2017

(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/create-ramdisk-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


RE: Network Speed - Luke - 10-16-2017

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?


RE: Network Speed - stuartiannaylor - 10-16-2017

(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 ?


RE: Network Speed - Luke - 10-17-2017

(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 Smile 
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 Smile 
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 Wink 
16/10/17 21:20
<ayufan> Also, try, AFP. 
16/10/17 21:20
<lukasz> oh no pressure Smile 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 Smile 
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 



RE: Network Speed - stuartiannaylor - 10-21-2017

(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 Smile 
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 Smile 
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 Wink 
16/10/17 21:20
<ayufan> Also, try, AFP. 
16/10/17 21:20
<lukasz> oh no pressure Smile 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 Smile 
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)


RE: Network Speed - Luke - 10-22-2017

Do let me know if you figure something out


RE: Network Speed - freebsd - 10-22-2017

(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)