On Monday, March 05, 2012 01:40:44 AM Jon Elson did opine: > gene heskett wrote: > > Amateur that I am, it appears that I have managed to concoct a small, > > nominally 50 line program, that brings linuxcnc to a virtual halt, > > about 7 minutes just to load and scan it. Keyboard response once it > > is loaded & ready to run, can be 10 to 90 seconds, with gkrellm > > showing cpu0 at 100%. > > Is this a software step generating system? You may have your base > period set too low > and it is using almost all the CPU cycles to run the base thread. > > Jon Yes sw steps, Jon. But it also, at the exact same base thread, runs the output of pcb2gcode just fine, so well I can tap a motion key when set for the default jog of 9.5 ipm, and make a sub .001" move. Once this code is loaded, which takes around 6.5 minutes for this 50 lines of code, cpu0 is pegged out and that same few millisecond tap on a motion key may or may not be recognized, and if it is recognized, that axis might move 1/4". That = broken bit or wrecked part if I get sloppy. Just switching from F3 to F5 might take 30 seconds or more.
To stop it just now, from clicking on the stop button several times (axis froze the display on the first click, but it was still running the code 5 minutes later when I gave up and typed killall -9 linuxcnc 7 or 8 times over 30+ seconds before it finally gave up & admitted it was dead. This is an Intel D525MW board, with a latency of 3 microseconds, isolcpus=1 is in effect. Thanks Jon. Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> Building translators is good clean fun. -- T. Cheatham ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
