[mythtv-users] Fine-tuning NFS parameters

Gavin Hurlbut gjhurlbu at gmail.com
Fri Jul 23 23:21:01 UTC 2010


On Fri, Jul 23, 2010 at 4:13 PM, <1.41421 at gmail.com> wrote:

> I have a Linux box A running both the MythTV front- and backend. This box
> has some storage, but for my own DVDs I use another Linux box B with several
> rather large hard drives. The different partitions in these drives are
> exported by B and mounted in A. Bearing in mind that A and B are in the
> same, 100 Mbs Ethernet, how should the NFS server in B and the NFS client in
> A be configured in order to optimize the NFS performance? Effectively,
> MythTV in A will be just playing videos held in the NFS partitions mounted
> from B.
>

You should be able to search for this...  But for a minimum, on the client
side, mount with options:
soft,posix,bg,intr,rsize=32768,wsize=32768,nfsvers=3

There may have been others as well.  The rsize and wsize must be multiples
of 1024.  I put 32k there, but you may get better performance at 64k or
128k.  The max is 1M (and you must put it in numeric form).

man 5 nfs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100723/fd9d6eae/attachment.htm>


More information about the mythtv-users mailing list