Optimizing Performance

From MythTV Official Wiki
Revision as of 02:57, 22 February 2006 by Kkuphal (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

This HOWTO aims to collect the multitude of tips regarding optimizine performance of your system for use with MythTV.

Optimizing shared filesystems

Disable file attribute caching

If you are using NFS, please remount your video partition with the "-o actimeo=0" option which will disable this attribute caching and allow the frontend to see updates from the backend quicker.

if you are using SMB/Cifs, you can try the ttl option using "-o ttl=100" which should set your timeout lower than the default. The default is supposed to be 1000ms which equals 1 second, but one user has reported that setting ttl=100 corrected the issue for him, so SMB users can give it a try.

This setting is commonly made in the /etc/fstab file

spike:/nfsdata      /nfsdata      nfs rsize=8192,wsize=8192,soft           0 0
spike:/nfsdata/myth /nfsdata/myth nfs rsize=8192,wsize=8192,soft,actimeo=0 0 0

This problem has been seen to exhibit itself with LiveTV failing to transition from one program to another. The cache file attribute prevents the frontend from opening the new file promptly.

Full-duplex mode

ethtool -s eth0 speed 100 duplex full autoneg off

This problem can exhibit itself with IOBOUND errors in your logs\