Bugzilla – Bug 115566
beagled burning CPU ...
Last modified: 2005-09-08 20:26:44 UTC
So - my machine is sitting idle - no files changing, it has been running all night. Beagled should be doing nothing, and indeed strace shows it's not doing anything substantive - however it is chewing my battery, using 0.5% of my CPU doing essentially nothing (trace attached). It seems 'Best' is doing similar stuff. Is this a Mono problem ? why do we need a busy loop here ? can we not wait on a condition in the worker threads & block in poll in the mainloop ? - surely we shouldn't be burning CPU & laptop batter to not do anything ?
Created attachment 49019 [details] trace of nothing happening (quite busily)
Created attachment 49240 [details] a patch which (at least partially) fixes this problem This patch should at least help. AFAICT this was the only place in beagle that we were polling.
Fix submitted for RC2
Mark fixed