You are not logged in.

#1 2016-08-08 18:15:13

zvon
Member
Registered: 2016-01-03
Posts: 45

[SOLVED] Slow Samba when using GUI

I have a samba share on my network that should have read/write around 30 MB/s (it's a USB HDD connected to an old laptop). When I connect to it through CLI by using "mount -t cifs" it's going full speed no problem, but when I use Nemo it's stuck around 20 MB/s. Is there some setting for this or is it just a bad update? It's been going fine like a week or two ago.

EDIT: Also I found out that when using the Nemo method I can only use around 2 MB/s on Wi-Fi as opposed to 10-12 MB/s using the mount method

Last edited by zvon (2016-08-10 09:26:16)

Offline

#2 2016-08-08 19:09:40

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Slow Samba when using GUI

Compare the used mount options between the two cases, most probably there is something different.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2016-08-08 19:18:52

zvon
Member
Registered: 2016-01-03
Posts: 45

Re: [SOLVED] Slow Samba when using GUI

I'v just used "mount -t cifs -o user=*** //****/*** " and in Nemo I opened "Network" then I opened the server and the share with my login credentials. I don't know if there are any options in the GUI way of connecting.

Offline

#4 2016-08-08 21:24:46

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Slow Samba when using GUI

Check the output of 'mount'.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#5 2016-08-08 22:24:28

zvon
Member
Registered: 2016-01-03
Posts: 45

Re: [SOLVED] Slow Samba when using GUI

GVFS gives this: "gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)"
mount command gives this: "//192.168.0.105/Photos on /home/zvon/samba_shares/photos type cifs (rw,relatime,vers=1.0,cache=strict,username=zvon,domain=DEBIAN-SERVER,uid=0,noforceuid,gid=0,noforcegid,addr=192.168.0.105,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1,user=zvon)"

Offline

#6 2016-08-08 23:52:58

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Slow Samba when using GUI

I don't have much experience with samba but I would guess the difference might be that you are comparing a userspace implementation (fuse.gvfsd-fuse - Nemo) with a kernel driver implementation (manual mount).

The only thing that I see that might influence speed is 'rsize=1048576,wsize=65536', but according to the documentation those are the default values. Wait for someone else with more samba experience to chime in and provide more help.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#7 2016-08-09 01:04:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [SOLVED] Slow Samba when using GUI

I work with one of the Samba devs, and I buttonholed him as he was going to lunch. He said this was to be expected. GUI file managers add an additional couple of layers to the stack (like fuse and a couple of others that I forget), each with its own performance hit.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#8 2016-08-10 09:25:56

zvon
Member
Registered: 2016-01-03
Posts: 45

Re: [SOLVED] Slow Samba when using GUI

Oh, okay, thanks for the info

Offline

Board footer

Powered by FluxBB