Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

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

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


cpinkham at bc2va

Feb 21, 2006, 6:44 PM

Post #1 of 3 (918 views)
Permalink
Re: [mythtv-commits] Ticket #1340: playback halts during

> > 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.

--
Chris

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


kuphal at dls

Feb 21, 2006, 6:59 PM

Post #2 of 3 (842 views)
Permalink
Re: [mythtv-commits] Ticket #1340: playback halts during [In reply to]

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
_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


cpinkham at bc2va

Feb 21, 2006, 7:16 PM

Post #3 of 3 (857 views)
Permalink
Re: [mythtv-commits] Ticket #1340: playback halts during [In reply to]

> I added this and other suggestions to a new wiki page
>
> http://www.mythtv.org/wiki/index.php/Optimizing_Performance
>
> Kevin

Thanks

--
Chris

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.