Help - Search - Members - Calendar
Full Version: Doubts In Nfs
Linuxhelp > Support > Technical Support

I am using a home LAN connection where my two PCs are connected by ethernet cable (R8137).

I read you NFS guide and I wanted to make use of that to perform compiling packages in a mounted NFS drive of the other computer via chroot.

I mean I want to compile packages in a mounted NFS drive via a chroot environment. Will the NFS be fast enough to perform such compilation operations.

Or it is not suited for these hard tasks. Please explain

thanks in advance
I would say that on a small LAN with minimal traffic and good 100mb network cards, you could compile items on the NFS drive. (if your Linux kernel is fairly modern ... say 2.4.9 or higher and your NFS supports version 3)

You will want to look HERE for ways to increase NFS performance.

Specific things I have done to increase NFS performance include:

1. Use the following mount options in fstab:
2. In RedHat, the changing of /proc/sys/net/core/rmem_default and /proc/sys/net/core/rmem_max (recommended in the NFS performance how-to above) is automated as follows:

If the file /etc/sysconfig/nfs exists, edit it (if /etc/sysconfig/nfs doesn't exist, created it) and set the following values:



for other Linux Distros, this should work in your NFS startup file:

Add this at the begining of the start section:
old_rmem_default=`cat /proc/sys/net/core/rmem_default`
old_rmem_max=`cat /proc/sys/net/core/rmem_max`
echo $new_rmem_default > /proc/sys/net/core/rmem_default
echo $new_rmem_max > /proc/sys/net/core/rmem_max

Then add this at the end of the start section:
echo $old_rmem_default > /proc/sys/net/core/rmem_default
echo $old_rmem_max > /proc/sys/net/core/rmem_max
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.