Helmut Auer wrote: > Helmut Auer schrieb: >> Hello, >> >> I am using the latest svn version and I recognized that FreeVo is using >> 20 percent of cpu load (on a 1200 Clereon machine). >> Just after being started. >> What is going wrong here ? >> >> > Now my cpu load shown by top is reduced from 22 Percent to ~ 3 percent ( > while doing nothing and just show the main menu ) :) > I changed in rc.py: > > kaa.Timer(self.poll).start(0.01) > to > kaa.Timer(self.poll).start(0.1) > > 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. 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. 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() Duncan ------------------------------------------------------------------------- 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