meta data for this page
This is an old revision of the document!
NFS
Issues
slow dir listing
Setup 3 identical VMs with Debian 11. On one of machine entering into NFGS directory is insanely slow.
- On “fast” machine
- wireshark shows few READDIR aggregated request to get all content and attributes
/boot/config-5.10.0-33-amd64
5.10.226-1
- On “slow” machine
- wireshark shows few READDIR requests and then lots of single GETATTR requests for each file
- dmesg contains lots of NFD debug info - main cause of slow speed
/boot/config-5.10.0-18-amd64
5.10.140-1
slow listing vs fast listing
slow /boot/config-5.10.0-18-amd64 5.10.140-1 CONFIG_NFSD_V3=y
fast /boot/config-5.10.0-33-amd64 5.10.226-1 CONFIG_NFSD_V2=y CONFIG_NFS_V4_2_SSC_HELPER=y