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

MythTV mythtv at cvs.mythtv.org
Wed Aug 1 11:15:46 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 paulh):

 First of all let me say I'm all for anything that saves power... and money
 :-). I wrote MythWelcome and MythShutdown to make it easier and more user
 friendly for those people who were concerned so they could set Myth to
 shutdown when it was idle and that is of cause the best way to save power.

 I'm not convinced there is anything that needs to be fixed? On my system
 MythWelcome is using virtually no cpu (less than 0.1%) and my Athlon X2
 seems to stay running at it's lowest speed supported while MythWelcome is
 running but that is based on average load I believe and it looks like
 powertop produces much more fine grained analyse of things.

 Also there is nothing being polled in MythWelcome as such. There are 3
 timers that update things. One fires every 30 seconds, one every 15
 seconds and one every second. I've no idea how Qt implements these timers
 or if it could be causing the polling you are seeing. Apart from that
 MythWelcome doesn't actually do a great deal.

 The first thing I would try is to disable the timers to see if it makes
 any difference. If it does then there may be a way to use just one timer
 and reduce the frequency it fires but depending on how Qt implements
 things it may not make any difference.

 I don't have an Intel cpu so cannot verify your results and have no way to
 test things to see if it improves anything. If you can compile your own
 stuff and want to try a few things out let me know and maybe we can work
 together.

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


More information about the mythtv-commits mailing list