On 1/26/2014 6:23 AM, John Prentice (FS) wrote: > > I am working with a custom GUI in GTK2 including Gremlin on my BBB. The > following are anecdotal observations. I would love to properly profile the > running code bit do not yet see how to use the available tools (e.g. > cProfile) > > (a) Gremlin needs lots of CPU - I don't know whether it is screen rendering > without the hardware accelerators that is the culprit. > > (b) Showing the nicely shaded cylindrical tool is costly. If I cheat, and > make it appear a negligible length/diameter one, then CPU drops by about 10% > > (c) I have GCode display in sourceview widget. If code (e.g. engraving) is > very long then moving the active line in this seems very expensive. > > (d) Data which is "display only", e,g, Distance To Go DROs, implemented as > labels are much cheaper than general ones that can accept input like the > machine-axis DROs. > > (e) The GUI is surprisingly useable at very low rates of updating the > toolpath, G code and even axis DROs. 1 second is OK. This makes significant > average CPU savings. The this low rate is tested when running a real > machine. The audio/visual feedback from the hardware makes the system feel > snappy even though the screen is lagging. Tests with no machine are > misleading. > > A BBB ought to be plenty powerful enough. Perhaps the proper GPU graphics > will fix things. It would be nice to design an experiment to dummy out the > graphics work that could be done by hardware or to verify in some other way > that there are not other bottlenecks.
Excellent notes, John, thanks for sharing! One comment I'll add is the gremlin back-plot display seems to interact with the X-Server and add significant lag to keyboard jogging (at least the way it's setup by default). Switching away from gremlin (ie: the DRO tab in Axis) restores the keyboard's normal response when jogging. With your updates, do you still see the keyboard lag, or does reducing the load from gremlin help this issue? -- Charles Steinkuehler char...@steinkuehler.net
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users