On Monday 12 August 2013 12:36:23 Charles Steinkuehler did opine: > On 8/12/2013 10:58 AM, Gene Heskett wrote: > > That said, even with the latest 2.5.3, I see a realtime error > > advisory, but it may not show up until the next day of uptime for > > LCNC itself. And I have never detected that the machine itself, if > > in motion at the time, was ever affected. > > I've had these on both x86 and on the ARM, and in both instances they > appear to be harmless. It seems that LinuxCNC considers any latency > over 25.000 uS to be a real-time error, but I expect latencies worse > than that using Preempt-RT (x85) and Xenomai on the ARM. LinuxCNC can > operate just fine with these errors (worst case is 50-75 uS or so, which > is fine for running a 1mS servo thread). > > So far it hasn't been enough of a nuisance for me to crawl through the > code and figure out how to change the warning to a different threshold. > > Anyone know how to do this? I *WOULD* like to see errors reported if > latency was over about 80 uS or so, but don't know what configuration > setting (or chunk of code?) to change.
I would be inclined to set the trigger at 125% of BASE_THREAD, or at 100 u- secs for servo system w/o a BASE_THREAD. 25 u-secs is, IMO, too sensitive unless one has a hypothetical cpu capable of running a 5 u-sec BASE_THREAD. But as one friend of mine was fond of saying on coming back from the stock room to the workbench at KRCR-TV, "We don't hardly got some more of those". :) Quantum cpu's haven't made it to the LCNC world just yet AFAIK. 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> is up! My views <http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml> Command, n.: Statement presented by a human and accepted by a computer in such a manner as to make the human feel as if he is in control. A pen in the hand of this president is far more dangerous than 200 million guns in the hands of law-abiding citizens. ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers