On 09/12/2014 12:03 PM, alex chiosso wrote: > Hi Jon. > Thank you for the replay . > The part program is not so big (120 lines code , it is parametric style > with Named Parameters) so it is strange . > It is clear now the cpu hogg. > I did believe that the real time is always enabled also in sim mode. > Maybe this is why the hal file execution seems to have a sort of latency. > Can you explain me why only a part of the NC program is loaded (as you say > "only few K bytes"), what is the bottle neck ? > No, for a very small program, it WILL all be loaded into memory. Remember, this is not a dedicated CNC computer, this is a multi-user, multi-tasking, general purpose operating system. At the command prompt, do : ps xa and you will be AMAZED to see how many tasks are running, I see 164 on my system. All real-time parts of LinuxCNC are locked in memory when they start, but in the sim version, they are all capable of being swapped out, or causing page faults. The non-real time part of LinuxCNC is always capable of being swapped or paged.
Jon ------------------------------------------------------------------------------ Want excitement? Manually upgrade your production database. When you want reliability, choose Perforce Perforce version control. Predictably reliable. http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users