Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I discovered that Ubuntu 11.04 is kinda slow when you have your home directory on NFS, even when NIS itself doesn't have any performence issues.

Still it seems that many applications including Eclipse or Chrome are slow and I'm sure the cause is the NIS home directory.

How can I configure the system so it will behave decent.

In 99% of the time having home directory on NIS/NFS is not so important in my case so I'm looking for alternatives.

share|improve this question
up vote 2 down vote accepted

I've deployed Ubuntu desktops on gigabit networks before, and despite it being fast, it's not as fast as a local disk, especially with applications that use lots of small little files, like say, your browser profile directory.

Without looking at your set up, I am reasonably certain that this is the case as it's always been a problem with NFS home directories and programs like this. One of the things you can do to mitigate this problem is to cache NFS on the PC you're on:

I've deployed something like this in the past and it helped, but having home directories on a network filesystem can lead to things like this. Something you might want to consider instead is having the home directory be local, but then having a subdirectory underneath that is on NFS instead.

share|improve this answer
You are right, caching is the first thing I was looking for, still the linked solution does not work in my case because my directories are mounted using /etc/auto.master using a syntax like /home yp:auto.home --timeout=3600 - I don't know how to enable caching for these entries. So I added another question that asks exactly about this… (current question is generic) – sorin Apr 3 '12 at 9:35

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.