You are not logged in.

#1 2022-08-30 00:26:40

blazej222
Member
Registered: 2018-08-30
Posts: 18

Samba over gvfs is painfully slow

Hello.
When I transfer files to my NAS over SMB using GNOME Nautilus (gvfs) the transfers are very slow (about half of their expected speed).

When I manually mount the share using mount.cifs the transfers are much faster, about the max speed of my cable.

Searching on the internet I found this https://gitlab.gnome.org/GNOME/gvfs/-/issues/292 link here, that refers to an almost 5 year old bug that still hasn't been fixed (wow!)

Is there any way to force nautilus to use cifs instead of gvfs, or any other GUI file manager that doesn't have that problem?

My main requirements are:
1.Transfers have to be as fast as using mount.cifs
2.The file manager must be GUI.
3.The whole solution must be simple (samba shares must be discovered automatically and shown in the GUI, probably using avahi-daemon.)
4.Keep it as similar as possible to mounting samba share in windows.

While manually mounting using CIFS in the terminal and finding samba shares in the CLI would not really be a big deal for me, it is an minor inconvenience everytime you try to access a new share on a different network.
Thanks in advance for any suggestions

Last edited by blazej222 (2022-08-30 00:27:36)

Offline

#2 2022-08-30 05:28:53

Maniaxx
Member
Registered: 2014-05-14
Posts: 732

Re: Samba over gvfs is painfully slow

I use a trigger script (mount on/off) via desktop shortcut (xfce). That's at least a little bit faster than manual mounting.

Last edited by Maniaxx (2022-08-30 05:51:06)


sys2064

Offline

#3 2022-08-30 05:51:44

seth
Member
Registered: 2012-09-03
Posts: 50,009

Re: Samba over gvfs is painfully slow

You've certainly looked at the end of the bug you linked and noticed that a supposing fix was merged into gvfs.smb ~1month ago and will probably arrive at your desktop, soon?
https://gitlab.gnome.org/GNOME/gvfs/-/m … quests/134

Edit: or not, https://gitlab.gnome.org/GNOME/gvfs/-/m … te_1504995
hmm

Last edited by seth (2022-08-30 05:53:11)

Offline

#4 2022-08-30 10:52:26

blazej222
Member
Registered: 2018-08-30
Posts: 18

Re: Samba over gvfs is painfully slow

Maniaxx wrote:

I use a trigger script (mount on/off) via desktop shortcut (xfce). That's at least a little bit faster than manual mounting.

It's a good soulution if you know server's IP before. My problem is, I want to use it on my laptop, where I often access shares in different networks, and I don't know their addresses earlier.

Yeah I've seen it, kinda sucks sad


Now that I think about it, a simple zenity script to list all shares on the network using avahi and ability to mount it via CIFS would be sufficient. Anything like this exists? Couldn't find anything similiar on AUR big_smile

Offline

#5 2022-08-30 14:48:14

seth
Member
Registered: 2012-09-03
Posts: 50,009

Offline

Board footer

Powered by FluxBB