Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Doubts In Nfs, Is NFS fast enough to perform compilatio
post Nov 27 2003, 02:55 AM
Post #1

Whats this Lie-nix Thing?

Group: Members
Posts: 1
Joined: 27-November 03
Member No.: 1,871


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
Go to the top of the page
+Quote Post
post Nov 28 2003, 08:30 AM
Post #2

Its GNU/

Group: Admin
Posts: 3,433
Joined: 25-July 03
From: Corpus Chrsiti, TX, USA
Member No.: 1,151

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

Johnny Hughes
Enterprise Alternatives: CentOS, WhiteBoxEL
Favorite Workstation Distros (in order): CentOS, Gentoo, Debian Sarge, Ubuntu, Mandrake, FedoraCore, Slackware, SUSE
Favorite Server Distros (in order): CentOS, WhiteBoxEL, Debian Sarge, Slackware, Mandrake, FedoraCore, Gentoo, SUSE
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 22nd June 2018 - 06:19 AM