Quick performance question

Rob Hasselbaum rob-IdUdaS/NwSyQrzRDRVclEQ at public.gmane.org
Fri Aug 6 15:07:40 EDT 2010


If you add the host name to /etc/hosts and point it to 127.0.0.1, traffic
will stay local.


On Fri, Aug 6, 2010 at 2:01 PM, Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org> wrote:

> Currently I am using a RHEL 5.2 server to export a number of files via
> NFS. Simple. On the other servers, I use autofs to mount the
> directories. In preparation for moving the directories (about 800GB) to
> a dedicated NFS server, what I plan to do is:
> (1) rename the /mnts directory to /exports. This should have been done
> when I set up the server a few years ago. (The reason for the /mnts name
> is that I need to mirror Toronto.
>
> (2) then I want to mount the directories in /exports onto
> localalhost:/mnts. But, I want to use the same auto.mnts file on the nfs
> server that I do on the other 7 systems. So I can use the line:
> *          -fstype=nfs,rw,nosuid,soft      <nfs server name>:/exports/&
>
> I certainly can use
> *          -fstype=nfs,rw,nosuid,soft      localhost:/exports/&
>
> 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.
>
> --
> 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
>
>
>
> _______________________________________________
> Discuss mailing list
> Discuss-mNDKBlG2WHs at public.gmane.org
> http://lists.blu.org/mailman/listinfo/discuss
>
>





More information about the Discuss mailing list