Emacs performance over NFS

What happened?

Due to doom emacs loading multiple files at startup, if the underlying filesystem is served over NFS, the startup time is slow in the order of tenths of seconds. Unfortunately, after a brief search on the internet, I did not find any valuable optimizations that can be done either on the NFS or the Emacs side. Therefore, I am making this post if someone is aware of such options to speed up Emacs loading time.

What did you expect to happen?

Emacs to load fast :smiley: .

Steps to reproduce

Install a doom config over an NFS filesystem.

System information


Loading data dump...

Hi, I have been in the same setup as you (NFS mounted /home/ at work). A simple workaround I found was to symlink .emacs.d and .doom.d folders from a local drive. This makes Emacs loads as fast as usual on my main machine, and for usage on other machine on the network I simply use TRAMP :slight_smile:

This is an interesting idea I have not thought of. I will try it. It will surely provide a significant speedup.