[mythtv-users] Optimising a diskless frontend
Matthew Mc Clement
mythtv at macker.co.uk
Tue Feb 28 00:32:22 UTC 2006
Tom Lichti wrote:
> Matthew Mc Clement wrote:
>> I just switched the recordings mount to Samba and had a marked
>> increase in performance. Moving around the recordings screen is
>> much snappier now and doesn't involve a 5-10 second pause I was
>> getting with NFS when changing recording groups.
>>
>> However, LiveTV is completely broken now and only works at random.
>> It doesn't bother me much though as I rarely watch LiveTV on my
>> Myth box, but hopefully it's fixable by messing around with Samba's
>> various options.
>>
> Try adding 'ttl=100' to your smb mount command line.
I'm using cifs not smb, which doesn't support the ttl option. However,
it seems using the directio option fixed LiveTV, got rid of the ~10
second channel changes that I had with NFS and still keeps the recording
screen nice and snappy.
AFAIK, NFS in newer kernels also allows using directio although I'm not
sure if it's exposed in the same way as it is under CIFS. Probably worth
investigating if you want to stick to NFS, but there are certain Samba
features I need/want to abuse(mainly symlink masking, useful if the
links point to files outside of the normal export) so I'll be sticking
with CIFS for now.
Matt
More information about the mythtv-users
mailing list