10-21-2017, 02:58 PM
(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)