2014-12-07, 21:22
My normal set-up is mythtv-0.27.4_p20141018 on a gentoo box (Core2/4GB) and Openelec 4.2.1 on raspberry Pi as two frontends. Default 'confluence' skin. I don't use local Kodi files storage, everything is mythtv on the server.
I have a large mythtv database ~1000 recordings split into 9 recording groups:
Default - 196, Enterprise - 96, Films - 190, LiveTV - 12,
Murder Mystery - 86, Nature - 135, Star Trek - 86, Stargete-SG1 - 252, Strictly - 2.
Mythtv looks up extra metadata for me automatically.
Accessing the recordings list was never fast, but this combination was usable: 2-5 seconds to open the initial list, a similar time to open each group and quicker for the title folders. I generally avoid the 'All Recordings' folders due to large number of files, but also much longer load times.
Today I tried Openelec 5RC1 which uses the new plugin (1.9.27)
It took so long to open the recordings list that for the 1st two attempts I thought Kodi had crashed (no 'Working' dialog appeared, the remote did nothing) and I gave up and power cycled the Pi. Eventually after sshing into the box and confirming with top that kodi was 'busy' I left it long enough to finish, and the recordings list came up and could be browsed - slowly.
I can think of five things which might be the culprit / making it worse:
1) OpenElec 4.2.1 has a ulimit on files of 1024, 4.97.1 added "set LimitNOFILE to 16384": Icons for each recording are now loading successfully and the poor Pi simply can't cope with the data (I always wondered why some icons didn't load before!) - this might be considered a 'skin' issue.
2) I've chosen a sub-optimal 'Group recordings by title' option in the client settings - probably 'Only for series' is what I want.
3) There is a conflict/performance bottleneck with this particular combination of backend/pvr.mythtv client (I've seen this with the old client in the past)
4) The new backend API this plugin is using is simply slower/more buggy than the old API (maybe this will be improved in 0.28?) - an issue for the mythtv forum probably.
5) The new pvr.mythtv plugin isn't as optimized as the old one for lots of recordings / long lists.
Unfortunately at the moment this combination is unusably slow so it's back to 4.2.1 for now. I will investigate different settings/combinations and post back if I find something that works (it may be next weekend before I do), but was wondering if the users on this forum have had similar problems and hopefully some success at resolving them!
Even better would be if something could be done in the new client to reduce initial load time before the list appears/becomes browsable. There isn't much/any metadata displayed at the Recordings and Group levels and the recordings list loads into memory at startup so it ought to be feasible. (You can probably tell I know nothing about the underlying data structures).
I have a large mythtv database ~1000 recordings split into 9 recording groups:
Default - 196, Enterprise - 96, Films - 190, LiveTV - 12,
Murder Mystery - 86, Nature - 135, Star Trek - 86, Stargete-SG1 - 252, Strictly - 2.
Mythtv looks up extra metadata for me automatically.
Accessing the recordings list was never fast, but this combination was usable: 2-5 seconds to open the initial list, a similar time to open each group and quicker for the title folders. I generally avoid the 'All Recordings' folders due to large number of files, but also much longer load times.
Today I tried Openelec 5RC1 which uses the new plugin (1.9.27)
It took so long to open the recordings list that for the 1st two attempts I thought Kodi had crashed (no 'Working' dialog appeared, the remote did nothing) and I gave up and power cycled the Pi. Eventually after sshing into the box and confirming with top that kodi was 'busy' I left it long enough to finish, and the recordings list came up and could be browsed - slowly.
I can think of five things which might be the culprit / making it worse:
1) OpenElec 4.2.1 has a ulimit on files of 1024, 4.97.1 added "set LimitNOFILE to 16384": Icons for each recording are now loading successfully and the poor Pi simply can't cope with the data (I always wondered why some icons didn't load before!) - this might be considered a 'skin' issue.
2) I've chosen a sub-optimal 'Group recordings by title' option in the client settings - probably 'Only for series' is what I want.
3) There is a conflict/performance bottleneck with this particular combination of backend/pvr.mythtv client (I've seen this with the old client in the past)
4) The new backend API this plugin is using is simply slower/more buggy than the old API (maybe this will be improved in 0.28?) - an issue for the mythtv forum probably.
5) The new pvr.mythtv plugin isn't as optimized as the old one for lots of recordings / long lists.
Unfortunately at the moment this combination is unusably slow so it's back to 4.2.1 for now. I will investigate different settings/combinations and post back if I find something that works (it may be next weekend before I do), but was wondering if the users on this forum have had similar problems and hopefully some success at resolving them!
Even better would be if something could be done in the new client to reduce initial load time before the list appears/becomes browsable. There isn't much/any metadata displayed at the Recordings and Group levels and the recordings list loads into memory at startup so it ought to be feasible. (You can probably tell I know nothing about the underlying data structures).