[mythtv] [mythtv-commits] Ticket #1340: playback halts during

Kevin Kuphal kuphal at dls.net
Wed Feb 22 02:59:29 UTC 2006


Chris Pinkham wrote:
>>> If you are using NFS, please remount your video partition with the
>>> "-o actimeo=0" option which will disable this attribute caching and allow
>>>       
>
>   
>> I take it that using the same option in fstab will work as well? Just that
>> I applied this change last night and it made no difference at all :-(
>>
>> zeus:/mnt/store         /mnt/store      nfs
>> rsize=8192,wsize=8192,hard,intr,nfsvers=3,actimeo=0     0 0
>>     
>
> yes, putting the actimeo=0 in fstab should work, that's how I do it.
> I assume you remounted the filesystem after you changed the fstab file?
>
>   
>> Since I'm running a nfs root file system (diskless combined be/fe), will
>> the attributes of the root filesystem (caching etc) propagate down through
>> the mount point or will the new mount attaching to a point within the root
>> filesystem override this.
>>     
>
> Each filesystem can have it's own settings, in fact if you remount a
> subdirectory, you can have different settings within a filesystem.  If
> you have a shared nfs filesystem that has more than Myth recordings on it,
> you can mount the filesystem the normal way and just remount the Myth
> recorings directory with the actimeo=0 option, something like this:
> (name of my fileserver changed to protect it's identity) :)
>
> 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
>
> That will leave caching enabled for the other parts of the filesystem and
> only disable the attribute caching on the myth directory and below.
>
>   
>> Can't see a way of overriding the attributes of the root filesystem (can I
>> do a remount of a root nfs system?) from the network grub command line.
>> I'll experiment some more with this anyway.
>>     
>
> Just remount your video directory if it falls below the root mountpoint.
>
>   
>> Is there a simple way to find out what the current mount parameters are on
>> a running system? Be handy to see if the changes 'stick' !! I guess there
>> is something in the /proc filesystem. Hmmm - more playing...
>>     
>
> Running "mount" by itself will print out the current mount options for each
> filesystem mounted.
>   
I added this and other suggestions to a new wiki page

http://www.mythtv.org/wiki/index.php/Optimizing_Performance

Kevin


More information about the mythtv-dev mailing list