Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Wondered if I could ask some advice, this seems to be the place for it!
Ok, basically - I'm a web developer and a while ago, I set myself up with a RH9 box to run Apache, MySQL and PHP so I could develop (and test) my sites over my network, from my PowerBook. It was a bit of a project as I was (and kinda still am) new to linux. Initially, I set up samba mounts to access my sites over the network. Being a mac user, it seemed a bit stupid to use samba (i.e. designed for filesharing between windows/linux) on 2 machines that weren't windows. So, I looked into nfs, found that OSX (due to its BSD underbelly) has native NFS support. Perfect! So, I set up my exports and it all seems to work great. While there are certainly quite a few noticable benefits straight off (can now stream movies & mp3s without skipping/jumping, accurate time resolution etc), it does seem to be much, much slower.
With Samba, I was able to move stuff over at around 7-8MB/s over a 100Mb switched network which seemed half decent. With NFS? I'm getting around 1MB/s.
This isn't ideal as I seem to be using my linux box for more and more things, which has meant that I need to move several GBs over at times - at 1MB/s, this is rather slow!
After reading some articles, it seemed that adjusting the nfsiod from 4 to 8 on my mac should improve things, which it hasn't
So, any way to improve NFS performance? As far as I can see, both the RH box and my mac are running at full duplex as it is (the mac definatly is, not so sure about the RH box - how would I find out?).
I'm no NFS guur, but the biggie as far as i'm aware is the read and write block size. when you mount the share, set a larger block size for both directions, and hopefully you'll get a decent lift.
e.g. in /etc/fstab
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.