Latency test "limits of abuse" question

More
23 Aug 2010 10:01 #3850 by Rick G

Please Log in or Create an account to join the conversation.

More
23 Aug 2010 13:23 #3854 by andypugh
Replied by andypugh on topic Re:Latency test
waynerod wrote:

Servo thread(1.0ms): 4860389 3863884 997262
Base thread(1.0us): 3893902 3869597 24317


A 1.0 uS base-thread seems very optimistic. 50uS is more typical.

Please Log in or Create an account to join the conversation.

More
24 Aug 2010 06:35 #3861 by waynerod
Replied by waynerod on topic Re:Latency test
optimistic meaning...Can I use it? To me, they seem way above the required one... I think required one was about 20,000 or so...

Please Log in or Create an account to join the conversation.

More
26 Aug 2010 10:33 #3877 by waynerod
Replied by waynerod on topic Re:Latency test
Yo... Today.. I tested out the gcode function.. It doesn't work!!!!
It says "unexpected realtime delay"

What should I do? Is the only possible solution to get a new computer? (Before considering that, I'll consider switching to Mach3)

Please Log in or Create an account to join the conversation.

More
28 Aug 2010 17:50 #3906 by jmelson
Replied by jmelson on topic Re:Latency test
andypugh wrote:

waynerod wrote:

Servo thread(1.0ms): 4860389 3863884 997262
Base thread(1.0us): 3893902 3869597 24317


A 1.0 uS base-thread seems very optimistic. 50uS is more typical.


Yes, this is certainly Wayne's problem, the base thread is burning 99+% of the CPU time, and still having 24 us of jitter. When the jitter is 24 TIMES the dispatch period, it should tell you something is dreadfully wrong! With 24 us jitter, the base thread might have to be slowed down to 100 us or more. After you do this, the servo thread should perform more reliably.

Jon

Please Log in or Create an account to join the conversation.

More
29 Aug 2010 12:08 #3911 by Rick G
Replied by Rick G on topic Re:Latency test

"unexpected realtime delay"


Is telling you there is a latency problem. You need to either improve the computer latency or change your thread speed.
If you input your thread speeds into StepConf you will be able to see what thread speed you can use.
To improve speed see link above.

Rick G

Please Log in or Create an account to join the conversation.

More
29 Aug 2010 21:10 #3912 by waynerod
Replied by waynerod on topic Re:Latency test
Thanks... but whats the link? cud u plz post it again?

Please Log in or Create an account to join the conversation.

More
30 Aug 2010 11:11 #3914 by Rick G
Replied by Rick G on topic Re:Latency test
Hello,

You might want to look here...

wiki.linuxcnc.org/cgi-bin/emcinfo.pl?Tro...ng#RTAI_Latency_test

Please Log in or Create an account to join the conversation.

Time to create page: 0.081 seconds
Powered by Kunena Forum