Posts: 15
Joined: Mar 2013
Reputation:
1
robvh
Junior Member
Posts: 15
I'm running 4.4.9.2 on Libreelec 8.95.003, generic. With all the Leila RC installs I noticed that tvheadend addon causes CPU load in excess of 80% on both cores of my E350 (AMD) system.
As soon as EPG info has been downloaded, CPU goes down to about 12% of one core (other is idle). However, this takes about 8 minutes. My tvheadend server runs at 4.3.1711 and has 24,500 entries in its EPG.
When I start my ancient OpenElec 6.0 systems (yes I am again converting away from OE) startup (EPG download from the same hts) takes 31 seconds.
How can I find out what is causing this massive CPU usage (top shows it to be in kodi.bin).
Posts: 1,873
Joined: Jan 2015
Reputation:
125
ksooo
Team-Kodi Developer
Posts: 1,873
Does disabling async epg transfer in pvr.hts addon settings make a difference?
Posts: 15
Joined: Mar 2013
Reputation:
1
robvh
Junior Member
Posts: 15
With Asynchronous EPG selected, the CPU load goes to an acceptable average of 60% during EPG download, but it takes more than 14 minutes before the download is complete (which I can only guess, because CPU usage goes down).
With Asynch mode, there is no more progress message. Is this as designed? I never was much of a fan of this debug message anyway.
But it is still 15-25 times longer than on my ancient OE box.
Posts: 1,873
Joined: Jan 2015
Reputation:
125
ksooo
Team-Kodi Developer
Posts: 1,873
With async epg transfer there cannot be a progress as there is no start and end, Kodi just eats what it gets from the addon, and this can happen at any time.
Posts: 1,873
Joined: Jan 2015
Reputation:
125
ksooo
Team-Kodi Developer
Posts: 1,873
I have no idea why same tvh is so much faster with your combo of ancient OE, Kodi, addon. But yeah, so many things changed since then. Your ancient system's code base is by far older than my years with the project. So, not even knowing the old code I cannot help here, sorry.
My old Athlon 2 core system running latest libreelec + latest Kodi + latest hts addon + latest tvh server only needs 2-3 seconds to fill epg for 300 channels with data for 30 days.
Posts: 15
Joined: Mar 2013
Reputation:
1
robvh
Junior Member
Posts: 15
Hoppel, thank you for pointing me to channel icons. When I switched on icon caching in the server (Config-General-Image chache-Enabled), startup times dropped to 30 seconds.
Posts: 1,746
Joined: Nov 2014
Reputation:
160
docwra
Posting Freak
Posts: 1,746
2019-01-23, 13:29
(This post was last modified: 2019-01-23, 13:30 by docwra.)
I'm using TVHeadend as well, Does anyone know why Kodi every so often shows the "Searching for channel icons" popup?
It happens all the time on my setup and is really annoying. I'm not sure why as most of my channels have icons.