Network Speed
#1
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?
  Reply
#2
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.
  Reply
#3
Getting poor performance too over samba too, but over twice the speed you reported. Will try NFS tomorrow.
You can find me on IRC, Discord and Twitter


  Reply
#4
(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
  Reply
#5
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?
You can find me on IRC, Discord and Twitter


  Reply
#6
(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 ?
  Reply
#7
(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 
You can find me on IRC, Discord and Twitter


  Reply
#8
(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)
  Reply
#9
Do let me know if you figure something out
You can find me on IRC, Discord and Twitter


  Reply
#10
(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)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Heart Best quick/easy way to control case fan speed? idillicah 4 6,875 06-24-2021, 09:14 AM
Last Post: CounterPillow
  low speed wifi pas059 4 5,916 05-13-2019, 12:09 PM
Last Post: pas059
Bug Fan speed controlled by CPU temp script mikedhoore 2 4,498 01-14-2019, 05:16 PM
Last Post: va88

Forum Jump:


Users browsing this thread: 1 Guest(s)