[mythtv-commits] Ticket #10122: mythbackend 100% cpu
MythTV
noreply at mythtv.org
Fri Nov 25 15:25:18 UTC 2011
#10122: mythbackend 100% cpu
----------------------------------+----------------------------
Reporter: diespambox@… | Owner: danielk
Type: Bug Report - General | Status: closed
Priority: minor | Milestone: unknown
Component: MythTV - General | Version: Trunk Head
Severity: medium | Resolution: Unverified
Keywords: | Ticket locked: 0
----------------------------------+----------------------------
Comment (by danielk):
This will get you started:
http://code.mythtv.org/doxygen/group__profiling__mythtv.html
But once you find a line that is using a lot of CPU it may be something
like the QString constructor so you need to find out why we are calling
the QString constructor so often. Then you may need to do a call graph
profile. You also generally need to tweak the sampling, too much sampling
changes the performance characteristics and may obscure the problem, too
little may fail to narrow down the problem area.
This will give a lot more info, but perhaps too much:
http://oprofile.sourceforge.net/doc/index.html
--
Ticket URL: <http://code.mythtv.org/trac/ticket/10122#comment:11>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list