opdenkamp/xbmc — Issue #320: High CPU Load (1 Thread) having LiveTV enabled using VNSI Addon
Author: Krautmaster
Created: 2011-11-12 15:17:40+00:00
State: open

I faced this problem several times now,
see this Thread

https://github.com/pipelka/xbmc-addon-xvdr/issues/10#issuecomment-2187691

With my older ION Celeron Su2300 Setting I had high CPU load too and this caused FrameDrops - now with my newer 4 Thread System with a powerful i3 2100 I have rare drops but i still have them caused to high XBMC Load (doesn't matter if idle or during playback)

I did a more or less short video to show this problem.

=> http://www.youtube.com/watch?v=IJH-zPJ9q3Y <=

Other features like Ambilight could not cause this problem - i can see XBMC with 100+ % using "top" on putty.

http://www.abload.de/image.php?img=img_20111112_153322gm8rc.jpg

I think the problem comes with the VNSI and as XVDR is based on VNSI i have this problem there too.

I can boot up my HTPC with LiveTV enabled and only keep it in idle and i will see high load (1 Thread) after ~30-45 minutes.

Is it possible to find out which operation is causing this high CPU load?

Currently my xbmc.log shows me the following:

15:56:03 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:03 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:03 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:03 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:03 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:03 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:03 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:04 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:04 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:04 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:04 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:05 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:05 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:05 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:05 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:05 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:05 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:05 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:05 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:05 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:05 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:05 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:05 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:06 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:06 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:06 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:06 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:07 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:07 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:07 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:07 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:08 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:08 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:08 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:08 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:08 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:08 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:08 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:08 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:09 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:09 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:09 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:09 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:12 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:12 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: SendPing
15:56:24 T:2938108784 DEBUG: Previous line repeats 2 times.
15:56:24 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:24 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:24 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:24 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:24 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:24 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:24 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:25 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:25 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:25 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:25 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups
15:56:26 T:2938108784 DEBUG: Previous line repeats 1 times.
15:56:26 T:2938108784 DEBUG: AddOnLog: VDR VNSI Client: Server requested channel update
15:56:26 T:2956974960 DEBUG: CPVRChannelGroupsContainer - Update - updating channels
15:56:26 T:2956974960 DEBUG: CPVRChannelGroups - PersistAll - persisting all changes in channel groups

To be save i moved my .xbmc directory and had a look on a standard installation from GIT compiled today.

I can see the increasing CPU Load here too.

http://www.abload.de/img/img_20111112_161237cf84t.jpg
http://www.abload.de/image.php?img=img_20111112_161213bj8fz.jpg
http://www.abload.de/image.php?img=img_20111112_161218b884n.jpg

Thanks for everything!