Hi Duncan >> The menu is as responsible as before and everything is fine now. >> I'd suggest to make this change to freevo svn, its enough to poll 10 >> times per second :) >> > > Nice work spotting the cause of the high CPU load. > > Thanks :) > I missed the processor bit in your message, I'm not 100% sure what > effect other than reducing the CPU load this will have. I think that > some plug-ins count the number of times that poll is called before doing > something and IIRC in freevo-1.7 and below this was very approximately > 0.1 seconds. So a poll interval of 0.1 seems reasonable. > > Anyway 20% of a 1200 MHz machine is very high. And as you know on my > test machine (P3 733MHz) it is lower at about 16% and there are lots of > plug-ins enabled on this machine. > > Thats interesting - I disabled all plugins activated in local_conf.py and removed taskbar and the load was still at 20 percent, it was 23 before i did this change. > May be the poll interval should be user configurable, I think this would > be best, and then plug-ins rewritten to use the kaa.Timer instead of poll() > > Thats possible, but I do not see any plugin which needs to be polled so often, but it would make a lot of sense, that all plugins could decide how often they will be polled. Most of these will work fine with a poll of everx second. VDR ( my main application in my distribution ) is coded in C and every plugin has an own main thread where it decides how long it sleeps before doing something ...
Bye Helmut ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Freevo-users mailing list Freevo-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-users