Quick performance question

Jerry Feldman gaf-mNDKBlG2WHs at public.gmane.org
Mon Aug 9 15:04:43 EDT 2010


On 08/09/2010 11:20 AM, Ian Levesque wrote:
> On Aug 6, 2010, at 2:01 PM, Jerry Feldman wrote:
>
>  =20
>> Is the Linux kernel smart enough to recognize that <nfs server name> i=
s
>> 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.
>>    =20
> 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 co=
nsider the mount as a local FS.
>
>  =20
I decided to use symlinks since all the data is going onto another
server in the long run. Certainly bind mounts would work also.

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846







More information about the Discuss mailing list