P
P
Pavel Belyaev2016-12-16 18:55:44
linux
Pavel Belyaev, 2016-12-16 18:55:44

How to tweak nfs in windows 10?

Hello, there is a computer with hyper-v, on which Debian is installed, then the host machine on Windows 10 mounts a folder from there via NFS, copied a gigabyte file back and forth, everything happens very quickly, but something is missing in the settings, the following occur oddities.
1. I just mounted a network folder, I right-click on any folder inside (for example, I want to delete or copy), my context menu does not open for 10 seconds, the circle spins, the explorer thinks, then it opens, and then I poke on other folders and everything is instant works. This is repeated if you do not work with a network folder for a long time, and then climb back there and right-click on any folder.
2. I delete a tiny file from the NFS folder - the progress window freezes at 99% and thinks for a long time, then leaves, like everything is over.
3. I open the files in the editor, sometimes it takes so long to open it, as if they gave it a gig of text, and there are only a couple of kilobytes.
Network on a virtual machine with a synthetic 10Gb adapter, i.e. pings go without subsidence and less than 1ms, the response is at the speed of light, when I connect via ssh or via the web I go to the server, the disk subsystem on the server is equal in read and write speed to the host. But something is wrong with NFS, in the /etc/exports file

/share 192.168.137.1(rw,sync,all_squash,anonuid=1000,anongid=1000,no_subtree_check)

I did not change anything in the settings of the Windows client. Just do not need to advise connecting smb, I want to deal with the issue, there are so many subtleties with the size of packets, with timeouts, caching and others, maybe someone will tell you where to dig and what to look for, so that everything is perfect like on a local disk.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Cheremisin, 2016-12-16
@leahch

1) look at NFS statistics - nfsstat -s
2) try playing around with versions 3/4
3) write host addresses in /etc/hosts and /Windows/System32/hosts (it seems here)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question