Posts: 140
Joined: Mar 2012
Reputation:
1
lysin
Senior Member
Posts: 140
Are you using any library auto update plugin?
My frodo RC3 was cycling like a human heart beat (similarities were really freaky) from 2-3% to 30-40% every 10 sec. I figured it was the auto update plugin that was causing this.
I really didn't noticed this before so I don't know if it is just RC3 or its just normal behaviour.
Anyhow, I disabled the plugin and all went back to normal.
Posts: 155
Joined: Jan 2011
Reputation:
0
I am indeed running a library auto update plugin. It's set at the default 4hr update interval. I think I tried disabling it already, but now my memory is foggy. I'll check it out tonight for sure to see if I notice the same thing. Did you actually have to uninstall the plugin, or was simply disabling it enough?
Posts: 140
Joined: Mar 2012
Reputation:
1
lysin
Senior Member
Posts: 140
2013-01-10, 21:39
(This post was last modified: 2013-01-10, 21:41 by lysin.)
No, I didn't. I was still trying to figure out if it was a problem with my setup or if someone else was having the same issue.
I only found out this yesterday so didn't have that much time to go deeper on the subject.
Posts: 155
Joined: Jan 2011
Reputation:
0
Exact same behavior here. Disabled Library Auto Update and the problem went away. Time to talk to Rob.
Posts: 155
Joined: Jan 2011
Reputation:
0
Thanks for the quick response Rob, as always. I'll check this out soon (hopefully tonight, maybe tomorrow) and let you know!
Posts: 155
Joined: Jan 2011
Reputation:
0
That definitely resolved the issue. It looks like uninstalling and installing the Git branch version didn't even wipe out my settings, so I know even the settings were identical.
Beyond that, with the repo version, my CPU usage in the time between the spikes hovered between 5-8%. With the Git branch version my CPU utilization hovers between 2 and 5%. This is minor on my 2.5GHz i5, but may be much more serious on something like the Apple TVs you mentioned.
I'm not sure what the new method's advantages were, but the your old file method seemingly has a much lower impact on resource utilization.
Posts: 17,859
Joined: Jul 2011
Reputation:
371
Why don't you just store the last run in settings.xml where the settings are stored?
just use xbmc.setsetting('lastrun', time)
(or something like that)
And retrieve it just like any other setting.
This was the value is stored without the time being visible in the settings dialog
Posts: 155
Joined: Jan 2011
Reputation:
0
2013-01-12, 03:03
(This post was last modified: 2013-01-12, 23:31 by gizmotoy.)
Possibly-interesting footnote: The behavior doesn't seem to start until after exiting XBMC and restarting it.
Ex:
Uninstall Repository version, install Git version: CPU spikes
Uninstall Repository version, install Git version, restart XBMC: Works fine
Uninstall Git version, install Repository version: Works fine
Uninstall Git version, install Repository version, restart XBMC: spikes
Whatever is causing the problem doesn't actually take effect until XBMC is restarted for the first time.
Posts: 140
Joined: Mar 2012
Reputation:
1
lysin
Senior Member
Posts: 140
I can confirm that it is indeed back to normal behaviour.
Thanks for the quick support robweber!