[mythtv-commits] Ticket #3757: Reduce polling in mythwelcome

MythTV mythtv at cvs.mythtv.org
Tue Sep 25 03:52:52 UTC 2007


#3757: Reduce polling in mythwelcome
-----------------------+----------------------------------------------------
 Reporter:  anonymous  |        Owner:  ijr 
     Type:  defect     |       Status:  new 
 Priority:  minor      |    Milestone:  0.21
Component:  mythtv     |      Version:  head
 Severity:  low        |   Resolution:      
  Mlocked:  0          |  
-----------------------+----------------------------------------------------

Comment(by candrews at integralblue.com):

 I just applied this patch, too.

 before:
 {{{
 Wakeups-from-idle per second : 517.9    interval: 10.0s


 Top causes for wakeups:
   40.0% (145.5)       mythwelcome : schedule_timeout (process_timeout)
   20.8% ( 75.8)       mythbackend : schedule_timeout (process_timeout)
   13.9% ( 50.6)       <interrupt> : wlan0, nvidia
    7.2% ( 26.3)       <interrupt> : eth0
    4.5% ( 16.5)       mythbackend : futex_wait (hrtimer_wakeup)
 }}}

 After:
 {{{
 Wakeups-from-idle per second : 369.0    interval: 5.0s


 Top causes for wakeups:
   26.9% ( 72.4)       mythwelcome : schedule_timeout (process_timeout)
   21.1% ( 57.0)       <interrupt> : wlan0, nvidia
   19.5% ( 52.6)       <interrupt> : eth0
    8.5% ( 23.0)       <interrupt> : libata
    6.2% ( 16.6)       mythbackend : futex_wait (hrtimer_wakeup)
 }}}

 It seems that the patch cut the mythwelcome wakeups in half (AWESOME!) but
 didn't affect the backend.

 Is there a drawback to this patch? Or should this be merged? If if it
 doesn't affect wakeups, it seems that this approach is cleaner, and should
 be merged anyways.

 Thanks!

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3757#comment:8>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list