Search

Resume and bio of the author Couple of articles related to my hobby - robotics
My impressions about immigration to Australia. In Russian only. Recipes for everyday problems solving
Linux-related posts Windows-related posts
Software-related posts A lot of info about hardware
Different tools you might find useful Posts about various web technologies
Everything that doesn't fit the rest of the menu RSS feed for this blog

Tag Cloud

Archives

Links

Andrey Mikhalchuk’s Blog

Technoblog about life

Jan 28, 2008 How to improve NFS performance (Linux, OpenSUSE 10.3)

When I used NFS first time 15 years ago on Sun it seemed to me the top of progress. And it really was at that time. So dealing mostly with samba during last few years I forgot how actually NFS works until a few days ago when I issued standard “mount server:/directory /mnt/subdir” and tried to compile a project. The performance was HORRIBLE. So I spent some time investigating how to improve NFS performance and found this solution:

mount -o rsize=4096,wsize=4096,hard,intr,async,nodev,upd server:/directory /mnt/subdir

The performance increased dramatically so I can compile my project in NFS-mounted dir almost just like I compile locally. The key performance parameter here is “udp” which makes NFS work over udp instead of tcp. In a few sources I found that this parameter is good only for Linus. Also when you mount with these parameters you’ll see warning that NFS over UDP can cause data corruption, let’s see …

This post is published in Linux, Software.

No comments

No comments so far

Leave a Reply

You must be logged in to post a comment.

Site Map (c) Andrey Mikhalchuk, 2005-2008