2013-02-28, 17:39
(2013-02-28, 11:58)ubuntu-xbmc Wrote: I assume it is a separate issue, but I also see the 90+% CPU usage on mythbackend. This is relatively new for me, I've only started seeing it occur in the last couple days. I see from post 1904, richardk was looking for people to test this. But I couldn't find what test he was referring too. Richardk, if I can help, can you explain? Or was this specific to OpenELEC?
I created a log of my CPU usage over 2 hours using this command:
Code:mypid=`pgrep mythbackend` && pidstat -p "$mypid" 1 >> test-of-cpu-usage.log
and I see the CPU usage creep up at about 1.5% an hour (rough estimate).
Hope that's enough, thanks.
That should be helpful information to the developers. I wanted to make sure that my results weren't an anomaly, and it sounds like they aren't.
I'll let cfetzer chime in if there's anything else he'd like us to test.
In the meantime, you might just do some spot checks on the mythbackend cpu load while you're playing videos or watching live tv. I'm seeing some divergent results, with higher cpu loads on some programs than others, and higher loads on live tv than on recordings. But, in general, it does seem to creep up over time, which can't be normal.
How many recordings are on your MythTV backend? I have about 1200, and I thought that this large number might help to explain the problem (and explain why some others may not be seeing it).
Thanks for helping to test this!