[mythtv-users] HDPVR severe stuttering 'Storage to Buffer' drops to nothing

Gerald Brandt gbr at majentis.com
Mon Oct 13 14:56:33 UTC 2014


On 2014-10-12 11:32 PM, Jean-Yves Avenard wrote:
> On 13 October 2014 14:33, Gerald Brandt <gbr at majentis.com> wrote:
>> Separate BE and FE, using myth  protocol and a storage group.  The drive is
>> a DLink external SATA with RAID, and it doesn't give me smart readings.
> Is this a NAS? a eSATA disk?
>
> IMHO, Dlink NAS suck, with terrible performance.
>
>
>> I may try to copy all my video files to an NFSv4 server and get rid of the
>> local eSATA drives.
>>
> a eSATA ?? the BE if you start it with -v file as log argument, should
> give you a good idea of where it's failing...
> You don't have the DB on that external drive I hope ?
> _______________________________________________
>

This is the backend running:

23017 ?        Ssl    0:00 /usr/bin/mythbackend --syslog local7 --user mythtv --daemon --verbose


This is what I see when I start watching livetv:

Oct 13 09:50:47 mythserver mythbackend: mythbackend[23017]: I ProcessRequest mainserver.cpp:1443 (HandleAnnounce) MainServer::ANN Playback

Oct 13 09:50:47 mythserver mythbackend: mythbackend[23017]: I ProcessRequest mainserver.cpp:1445 (HandleAnnounce) adding: mythlr as a client (events: 0)

Oct 13 09:50:47 mythserver mythbackend: mythbackend[23017]: I TVRecEvent tv_rec.cpp:1050 (HandleStateChange) TVRec[2]: Changing from None to WatchingLiveTV

Oct 13 09:50:47 mythserver mythbackend: mythbackend[23017]: I TVRecEvent tv_rec.cpp:3603 (TuningCheckForHWChange) TVRec[2]: HW Tuner: 2->2

Oct 13 09:50:47 mythserver mythbackend: mythbackend[23017]: I TVRecEvent recorders/v4lchannel.cpp:558 (SetInputAndFormat) V4LChannel[2](/dev/hdpvr2): SetInputAndFormat(2, NTSC) (v4l v2) input_switch: 0 mode_switch: 0

Oct 13 09:50:47 mythserver mythbackend: mythbackend[23017]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 102.0 GB w/freq: 15 min

Oct 13 09:50:51 mythserver mythbackend: mythbackend[23017]: N CoreContext autoexpire.cpp:264 (CalcParams) AutoExpire: CalcParams(): Max required Free Space: 102.0 GB w/freq: 15 min

Oct 13 09:50:51 mythserver mythbackend: mythbackend[23017]: I ProcessRequest mainserver.cpp:1443 (HandleAnnounce) MainServer::ANN Playback

Oct 13 09:50:51 mythserver mythbackend: mythbackend[23017]: I ProcessRequest mainserver.cpp:1445 (HandleAnnounce) adding: mythlr as a client (events: 0)

Oct 13 09:50:51 mythserver mythbackend: mythbackend[23017]: I ProcessRequest mainserver.cpp:1561 (HandleAnnounce) MainServer::HandleAnnounce FileTransfer

Oct 13 09:50:51 mythserver mythbackend: mythbackend[23017]: I ProcessRequest mainserver.cpp:1563 (HandleAnnounce) adding: mythlr as a remote file transfer

Oct 13 09:50:55 mythserver mythbackend: mythbackend[23017]: E DeviceReadBuffer recorders/DeviceReadBuffer.cpp:543 (Poll) DevRdB(/dev/hdpvr2): Poll giving up 2

Oct 13 09:50:55 mythserver mythbackend: mythbackend[23017]: E RecThread recorders/mpegrecorder.cpp:1044 (run) MPEGRec[2](/dev/hdpvr2): Device error detected

Oct 13 09:50:56 mythserver mythbackend: mythbackend[23017]: W ProcessRequest ringbuffer.cpp:1453 (ReadPriv) RingBuf(/mythtvdata1/mythtv/livetv/1046_20141013145051.mpg): ReadPriv(..196608, normal) -- waited 2975 ms for avail(376) > count(196608)

Oct 13 09:51:00 mythserver mythbackend: mythbackend[23017]: E DeviceReadBuffer recorders/DeviceReadBuffer.cpp:543 (Poll) DevRdB(/dev/hdpvr2): Poll giving up 2

Oct 13 09:51:00 mythserver mythbackend: mythbackend[23017]: E RecThread recorders/mpegrecorder.cpp:1044 (run) MPEGRec[2](/dev/hdpvr2): Device error detected

Oct 13 09:51:01 mythserver mythbackend: mythbackend[23017]: W ProcessRequest ringbuffer.cpp:1453 (ReadPriv) RingBuf(/mythtvdata1/mythtv/livetv/1046_20141013145051.mpg): ReadPriv(..294912, normal) -- waited 2957 ms for avail(376) > count(294912)


I immediately have low storage to buffer (~12MB/s instead of ~300 MB/s) 
and my available buffer is at ~10%.  I'm now waiting for a stutter.  I 
did change from SPDIF to analog, and things got somewhat better.

Gerald

-- 
Gerald Brandt
Majentis Technologies
204-229-6595
gbr at majentis.com



More information about the mythtv-users mailing list