[mythtvnz] NFS performance not good enough?

Worik Stanton worik.stanton at gmail.com
Fri Jun 6 01:20:29 BST 2014


On 05/06/14 19:28, Pieter De Wit wrote:
> Hi,
[snip]

> 

>>
>> (1) Should I expect NFS to manage?  Searching the internet does not turn
>> up many other people having problems.  I have got file caching turned on
>> (using the 'fsc' option and cachefilesd.  (I'm turning that off now to
>> see if it helps)
> It should manage, but you need to tell us *way* more about your setup.

Cool.  That is a good initial reaction.  "NFS is unsuitable for HD
files" would get me woried.

On closer examination my NAS is poked.  Which explains a lot.  When I
came to benchmark the NFS share it has zero performance.  That explains
a lot.

sigh
W

>> (2) I have a local 32G ssd drive that is hardly used.  Can I get Myth to
>> record to it and move the recordings later as a scheduled job to the NFS
>> system?
> Personally, I would avoid this as the ssd will wear out
>> For example I recorded Back Benches and at 16:17 the recording just
>> stops.
>>
>> The recording started at 22:29
>>
>> The log said (mythbackend.log):
>>
>> Jun  4 22:29:00 gently mythbackend[1425]: I Scheduler scheduler.cpp:2514
>> (HandleRecordingStatusChange) Tuning recording: "Back Benches": channel
>> 1010
>> on cardid 5, sourceid 1
>> Jun  4 22:29:01 gently mythbackend[1425]: I CoreContext
>> scheduler.cpp:637 (UpdateRecStatus) Updating status for "Back Benches"
>> on cardid 5 (Tuning =>
>> Recording)
>> Jun  4 22:29:01 gently mythbackend[1425]: I TVRecEvent tv_rec.cpp:3989
>> (TuningNewRecorder) TVRec(5): rec->GetPathname():
>> '/media/Recordings/1010_20140604222900.mpg'
>>
>> I assume it is writing to 1010_20140604222900
>>
>> I get a few messages like:
>>
>> Jun  4 22:42:50 gently mythbackend[1425]: W TFWWrite
>> ThreadedFileWriter.cpp:499 (DiskLoop)
>> TFW(/media/Recordings/1010_20140604222900.mpg:62): write(58280) cnt 90
>> total 5226776 -- took a long time, 14230 ms
>>
>> Then the last mention of the file is:
>>
>> Jun  4 22:51:33 gently mythbackend[1425]: E DVBRead
>> ThreadedFileWriter.cpp:216 (Write)
>> TFW(/media/Recordings/1010_20140604222900.mpg:62): Maximum buffer size
>> exceeded.#012#011#011#011file will be truncated, no further writing will
>> be done.#012#011#011#011This generally indicates your disk performance
>> #012#011#011#011is insufficient to deal with the number of on-going
>> #012#011#011#011recordings, or you have a disk failure.
>> Jun  4 22:51:40 gently mythbackend[1425]: W TFWWrite
>> ThreadedFileWriter.cpp:499 (DiskLoop)
>> TFW(/media/Recordings/1010_20140604222900.mpg:62): write(58092) cnt 2308
>> total 134209816 -- took a long time, 16819 ms
>>
>>
>> Worik
>>
>>
>>
>> _______________________________________________
>> mythtvnz mailing list
>> mythtvnz at lists.linuxnut.co.nz
>> http://lists.ourshack.com/mailman/listinfo/mythtvnz
>> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
> 
> 
> 
> 
> _______________________________________________
> mythtvnz mailing list
> mythtvnz at lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
> 


-- 
The only true evil is turning people into things....
                                         Granny Weatherwax
       worik.stanton at gmail.com 021-1680650, (03) 4821804
                          Aotearoa (New Zealand)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 538 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ourshack.com/pipermail/mythtvnz/attachments/20140606/27831461/attachment-0001.pgp>


More information about the mythtvnz mailing list