I have a FreeNas server. That server is able to read/write at 1GBE cap, so about 110mb/s is typical to write on (tested it with the same hardware/network topology, but client was windows).
today i was wondering why it takes so long and saw, it just use <50 mb/s
How are you mounting the samba share in Manjaro? What version is the share mounted as? I mount my samba shares as v3.1.1 using fstab, and my copy speed is comparable to that on windows with the same hardware (~100 MB/s using ethernet, ~35 MB/s wireless ac). My NAS server is FeeBSD 12.1 (gigabit ethernet connection), so probably not dissimilar to your FreeNAS setup, and I’m using Manjaro KDE with Dolphin as my file manager.
i mount one part via fstab and another i mount via thunar gui.
just copied a file on both locations one after another and i dont see much difference (probably normal fluctuation)
copy to fstab mounted share via thunar 43MiB
copy to thunar mounted share via thunar 51MiB
smb on freenas should be min or greater version 3 but not exactly sure what version i am using. However smb version did not change on server (windows vs manjaro)
If your minimum set on FreeNAS is v3 then I doubt that would be the issue but I guess you could specify vers=3.1.1 as well just to check, as Windows is likely using that version by default.
Are you sure that the issue lies with the samba sharing, or could it be with your ethernet port configuration in Manjaro? i.e. are you able to get close to gigabit transfer speeds with either internet or NFS shares? One thing you could do is also export NFS shares from FreeNAS and see if the speed picks up to what you expect for your system - then you know that it is indeed something to do with your samba configuration on Manjaro. If it’s still slow with NFS, it might be configuration of your network adapter.
That does seem like something is wrong - not only is it slow, it looks to fluctuate more than I would expect for wired ethernet to your NAS. I can’t connect my client via ethernet right now to compare, but here is one run of iperf3 using wireless ac on my Manjaro setup to my FreeBSD NAS:
I think you may have an issue with your ethernet adapter in Manjaro, as your iperf3 performance to your NAS iperf server is also poor. I have the option to install proprietry drivers for my ethernet adapter - have you looked at the difference in performance between open source and proprietry, if available? The archi wiki also has a lot of detail on network configuration: https://wiki.archlinux.org/index.php/Network_configuration - I’ve not had to tweak anything beyond default, but maybe checking things like for example MTU size are correctly configured?
somehow funny to see interpretations. I would think the iperf is actually showing good results. i am close to max out my network.
if you scroll down on my test, you can find id 5 to 19. they all work in parallel and on the end you can see the sum.
so I would think, that I have transferred 1.1 Gbytes within 10 seconds resulting in a transfer speed of 950Mbits/s (out of a theoretical max 1’000Mbits/s)
that I would call a decent speed for just GBE
I am so sorry, you are correct - I had completely misread your numbers last night. I guess age is catching up with me. It does look like an issue with samba sharing then! My fstab entries are set up with the following:
I guess you could try similar parameters in fstab to see if that helps? Obviously you would need to change your uid and gid to match you user, you characterset, and the location of your credentials file to match yours. I would be surprised if this makes a difference, but may be worth ruling out - perhaps making sure all are properly matched to the server and using latest version might work.
I realise that you had good performance with windows, but perhaps there might also be some tweaking on the server to work better with Linux? What are your send and receive buffer sizes set and, do you have asynchronous I/O and/or ACLs enabled for example?
Hi, have you had any luck with this? I guess also you could check to see whether the problem lies with your file manger as well by using another or something like dd to test performance?
Hi, sorry for the late reply - I didn’t get a notification for some reason. I’m a bit confused - do you mean you got systemd mounting working, or fstab? I think mounting with systemd unit would ultimately be the same as with fstab, but there is a guide for using systemd here if you wanted it still: Manjaro systemd mount units. On your post with mount -a I think your permission was denied because you would need superuser rights to mount that share as shown.
Did you check file transfers using something like dd, just to see whether the issue lies with your file manager? Do you use ACLs? These can incur a performance penalty.
[desktop@desktop-systemproductname ~]$ sudo systemctl start home-desktop-Qnap.mount
Failed to start home-desktop-Qnap.mount: Unit home-desktop-Qnap.mount not found.