Quick performance question

Ian Levesque ian-cwAjtnUKHr2dFdvTe/nMLpVzexx5G7lz at public.gmane.org
Mon Aug 9 11:20:35 EDT 2010


On Aug 6, 2010, at 2:01 PM, Jerry Feldman wrote:

> Is the Linux kernel smart enough to recognize that <nfs server name> is
> really the local host, and not send the bits out to the interface. I'm
> almost certain that the bits never go out on the network, but I just
> want to confirm it.

You should see local NFS exports "bind" mounted on the server when you perform a mount, i.e.,

/DATA/export on /nfs/mountpoint type none (rw,bind)

With a bind mount, not only do you have the benefit of not going out to the network, you actually bypass the network stack altogether and can consider the mount as a local FS.

Ian





More information about the Discuss mailing list