2013-02-19, 09:30
About 4000 attempts at Addons15.db-journal and Addons15.db-wal in 5 seconds. reFocus BIG sitting idle @ top menu, videos highlighted. No active widgets or plugins on screen.
- access("/home/gib/.xbmc/userdata/Database/Addons15.db-wal", F_OK) = -1 ENOENT (No such file or directory)
- access("/home/gib/.xbmc/userdata/Database/Addons15.db-journal", F_OK) = -1 ENOENT (No such file or directory)
- clock_gettime(CLOCK_MONOTONIC, {173195, 755320820}) = 0
(2013-03-13, 19:33)arokh Wrote: Sounds a bit high but the Xtreamer Ultra 2 has like 40-50% CPU usage idle as well with detailed skins like MQ. It's a 2.13GHz atom while yours is 1.6GHz? Guess something is fundamentally wrong with the way XBMC works. The GUI badly needs a rewrite you shouldn't need an i5 to display a simple GUI...
(2013-04-09, 19:31)MilhouseVH Wrote: With an 8 April build of OpenELEC on R-Pi I'm seeing a huge reduction (virtually to zero) of GETATTR requests over NFS (which is how I've mounted .xbmc/userdata), these GETATTR requests being caused by the hammering on Addons15.db*, so can anyone else confirm if I'm just imagining this (or point to where the PR for the fix is)?Probably this is caused by a change in the skin - the XBMC code doesn't appear changed.
(2013-03-15, 03:51)jmarshall Wrote: The issue with addons database access is something that needs to be addressed, but we have to store the status of addons _somewhere_. The inefficiency comes from two sources:This simple way to handle this would seem to be just to create an in-memory cache of the lookups when they're requested. Individual cache items could be invalidated when that addon is updated. Or, perhaps even easier - simply caching the results in memory, and expiring them after some time (even a few seconds would do the job).
1. The information lookups are done every frame (i.e. it's a pull system, not a push system).
(2013-05-31, 03:04)sPOiDar Wrote:(2013-03-15, 03:51)jmarshall Wrote: The issue with addons database access is something that needs to be addressed, but we have to store the status of addons _somewhere_. The inefficiency comes from two sources:This simple way to handle this would seem to be just to create an in-memory cache of the lookups when they're requested. Individual cache items could be invalidated when that addon is updated. Or, perhaps even easier - simply caching the results in memory, and expiring them after some time (even a few seconds would do the job).
1. The information lookups are done every frame (i.e. it's a pull system, not a push system).
I'm seeing ~80% usage of a core on an IVB i5 with some skins due to this.
(2014-03-12, 12:57)arokh Wrote: I'm guessing you're using Frodo, because it's fixed in Gotham.
(2014-03-13, 13:56)arokh Wrote: Personally I think it works a lot better than Frodo, even when it was in alpha. If that's true for you I have no idea. Just backup your .xbmc and give it a shot?