[mythtv-commits] Ticket #3863: mythweather causes prebuffer pauses

MythTV mythtv at cvs.mythtv.org
Mon Aug 20 19:17:29 UTC 2007


#3863: mythweather causes prebuffer pauses
----------------------------------+-----------------------------------------
 Reporter:  Bill <cizek at rcn.com>  |       Owner:  ijr    
     Type:  patch                 |      Status:  new    
 Priority:  minor                 |   Milestone:  unknown
Component:  mythtv                |     Version:  head   
 Severity:  medium                |     Mlocked:  0      
----------------------------------+-----------------------------------------
 I had mythweather configured to use background updates, and I noticed the
 following while trying to debug some prebuffer pauses:

 {{{
 2007-08-19 20:50:40.058 Starting update of NDFD-18_Hour
 2007-08-19 20:50:40.130 Starting update of NDFD-6_day
 2007-08-19 20:50:43.373 NVP: prebuffering pause:
 AAAAAAAAAAAAAAAAAAAAAAAAAAAaULL
 2007-08-19 20:50:44.223 NVP: prebuffering pause:
 AAAAAAAAAAAAAAALAULAAAAAAAAAAAA
 2007-08-19 20:50:45.206 NVP: prebuffering pause:
 AAAaAALAAAULAAAAAAAAAAAAAAAAAAA
 2007-08-19 20:50:47.373 NVP: prebuffering pause:
 LAAAAAAAUAAAAAAAAAAAAAAAAAAAALA
 2007-08-19 20:50:47.660
 /mythtv/myth.current/share/mythtv/mythweather/scripts/ndfd18.pl -u ENG -d
 /home/mythfe/.mythtv/MythWeather/NDFD-18_Hour +41.58,-087.54 has exited
 2007-08-19 20:50:49.175
 /mythtv/myth.current/share/mythtv/mythweather/scripts/ndfd.pl -u ENG -d
 /home/mythfe/.mythtv/MythWeather/NDFD-6_day +41.58,-087.54 has exited

 }}}

 The scripts kicked off to refresh the weather data caused enough of a
 performance hit to affect the current playback.

 The attached patch changes mythweather to use 'nice' to reduce the impact
 of the scripts.  This fixed the problem for me.

 -Bill

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3863>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list