[SMBNETFS] - Slow down when accessing files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
smbnetfs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I tried opening remote files (via SAMBA on a Windows XP Professional CPU) via KIO SLAVES in my Kubuntu distribution and I couldn't open most of them because a lot of aplcations don't have support for KIO SLAVES smb:// protocol (and I don't know why - it's a lot more efficient to access a remote path directly than mounting it with CIFS or something related...)...
PROBLEM:
Anyway, when I open some files with some specific programs (until now I've only see this happen with GNOME Mplayer and LibreOffice) via SMBNETFS mounting filesystem, I have a delay when compared to the CIFS mounting (to mount via CIFS I used MOUNT.CIFS)... So is this delay related to the WORKGROUP scan or is it a bug of the program?
SOLUTION:
Use CIFS similar way of mounting remote SAMBA paths on SMBNETFS to speed it up...
SOME IMPORTANT INFORMATION:
In the attachments there is a XLS file that has some information about how this delay affected the accessing speed...
Thanks for your attention and help,
André M.
Hello, smbnetfs delay might be related to libsmbclient name resolution procedure.
By default libsmbclient tries to resolve names via lmhosts file, dns, wins and broadcast.
libsmbclient tries each resolution method for each configured network interface. So the
network name resolution may takes a a very looooooong time.
Try access files using ip-address instead of computer names SMB/192. 168.1.99/ TESTE"
1) mount smbnetfs via command "smbnetfs /media/SMB"
2) access files using the following path "/media/
If the problem disappear, you may do the following: smbnetfs. conf" file to access all required
1) Fix libsmbclient name resolution procedure. You may play with "name resolve order",
"interfaces" and "bind interfaces only = Yes" options in your ~/.smb/smb.conf file.
See "man smb.conf" for details.
2) use "link" directive in your "~/.smb/
computer by their ip-address. See smbnetfs documentation for details.