Subject: Re: nfsd and process load sharing
To: Simon Burge <simonb@netbsd.org>
From: Frank van der Linden <frank@wins.uva.nl>
List: tech-kern
Date: 06/04/1999 10:00:08
On Fri, Jun 04, 1999 at 01:58:40PM +1000, Simon Burge wrote:
> Let me start by saying I really don't know how the guts of NFS works...
> 
> I've noticed that on NetBSD machines that the CPU usage by "nfsd"s seems
> to be "non-averaging", compared to say an Ultrix NFS server.  Compare:

NFS requests are handed to the first available nfsd process. In your case,
it seems that requests are coming in at a low enough rate that most of them
can be handled by the same (the first) nfsd, because it's not busy.

I could change the code to put free nfsds at the back of the queue so that
nfsds are used round-robin if it makes you feel happy ;-)

- Frank