home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / kb / Network_Other / nisnfs.add < prev    next >
Text File  |  2005-05-08  |  2KB  |  30 lines

  1. > Why is nfsd started 8 times? Does that improve nfs performance ?
  2.  
  3. The short answer is yes.  Basically, it means that there are up to eight
  4. connections available, assuming that none are already being used by
  5. other hosts.  Having threads available basically just means that there
  6. will be less delay in waiting after a connection requst is made.
  7.  
  8. It depends on how many other hosts are accessing files on the host where
  9. the nfs daemon is running.  As it's been at least 18 months since I've
  10. worked with it, my memory is a little hazy, but I'll give it a shot.
  11. There are two types of nfs support in Linux, at least with the 2.4
  12. version kernels: kernel or user space - my experience was use of the
  13. kernel "daemon", which I think offers performance advantage.  This
  14. requires that your kernel is configured to provide nfsd support.
  15.  
  16. As I remember, the daemon initially starts with the number specified in
  17. the config file.  The name and location of that file will depend on the
  18. particular version of the distro that you're running.  If you're on a
  19. LAN with say, less than 5 stations, 8 threads / instances of nfsd may be
  20. superfluous.  But that also depends on how nfs is being used.  If you're
  21. doing something like running a terminal server for thin clients, then
  22. each client will require multiple nfs connections (one connection per
  23. thread).  OTOH, if all you're doing is providing file access e.g.,
  24. similar to a samba share, then it's more likely that there will be only
  25. one thread used per client, and the delay to start another thread / nfsd
  26. instance would likely be negligible.
  27.  
  28.  
  29.  
  30.