LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-16-2017, 11:26 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Rep: Reputation: 177Reputation: 177
Dolphin very slow to show nfs mounted files and directories


I am running Slackware64 14.2, KDE and am using Dolphin file manager. I have a remote directory (also hosted on Slackware 14.2) mounted via nfs.

When I open this mount via Dolpin it can take up to 30 seconds to show the files and folders in this directory. Navigating to sub-directories can also take almost as long to show contents, even if the sub-directory contains only 4 files. At best there is a delay of at least 10 seconds. Once directories have been navigated-to the 1st time, access is fast thereafter, but if Dolphin sits for a while with no activity I'm back to the slow response. This is unacceptable to my user and he is threatening to go back to Windows (horrors!).

Does anyone have an idea what the problem could be? Should I try something other than nfs? Is this a problem with dolphin? Recommendations?
 
Old 08-17-2017, 12:45 AM   #2
ppr:kut
Slackware Contributor
 
Registered: Aug 2006
Location: Netherlands
Distribution: Slackware
Posts: 631

Rep: Reputation: 463Reputation: 463Reputation: 463Reputation: 463Reputation: 463
You can test with other file managers, mc for example. If it's faster there than in dolphin it's most likely this bug: https://bugs.kde.org/show_bug.cgi?id=178678
 
2 members found this post helpful.
Old 08-21-2017, 04:59 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
Well, the solution turned out to be interesting. It has nothing to do with which file manager I use. My original fstab entry was:
Code:
ohprsstorage:/mnt/RAID/public /mnt/Xdrive nfs nfsvers=4,rw 0 0
and I simply changed it to:
Code:
ohprsstorage:/mnt/RAID/public /mnt/Xdrive nfs rw 0 0
i.e. I removed the nfsver=4. That resulted in the mount folder coming up virtually immediately! I'm going to give this a few more days before I consider it resolved, but in the meantime, if someone can offer an explanation for this, I'd appreciate it. I'd like to know why nfs version 4 has such a latency and, importantly, what is version 4 suppose to *do* that's good?

more info

Here is a link describing what v4 does: http://www.iaps.com/NFSv4-new-features.html. Here's an interesting one, "compound RPC calls improve performance, particularly by eliminating much communication latency." Hmmm, so why is my experience significantly slower (10 to 30 second latency) *with* v4? There are a number of other alleged enhancements including support for "Windows-based ACLs" (which I've never seen the usefulness thereof in Unix systems. I tend to consider ACLs an easily defeatable additional security layer to 'fix' Windows' inherently insecure file system).

For v4 to work as advertized, do I have to specify something in the nfs server exports or config? The server exports is currenly simply:
Code:
mnt/RAID       192.168.0.0/24(rw,root_squash,all_squash,anonuid=1001,anongid=301)

Last edited by mfoley; 08-21-2017 at 08:40 PM. Reason: more info
 
Old 10-09-2017, 09:36 PM   #4
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,555

Original Poster
Rep: Reputation: 177Reputation: 177
If someone has some insight or theories as to why nfs v4 is slower than nfs-notV4, I'd be grateful for the info. If no interest, I'll mark this one as solved.
 
  


Reply

Tags
dolphin, nfs, slow



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dolphin freezes when browsing large NFS directories - Slackware 14.1 granth Slackware 17 04-01-2017 09:06 AM
[SOLVED] Ubuntu filemanager does not access mounted nfs directories Jykke Linux - Desktop 2 09-20-2015 03:19 AM
no access to directories on nfs-mounted disk jeppe_99@maxiom.se Linux - Server 2 05-27-2012 03:00 AM
[SOLVED] vsftpd cannot access NFS-mounted directories guertin Linux - Server 7 05-18-2012 01:21 PM
FC6 broken with NFS-mounted /home directories? skellert Fedora 2 11-02-2006 10:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration