Latency Test Question

More
17 May 2019 15:27 #134054 by Project_Hopeless
I can run the histogram with the nobase option. Is the same available for the Latency-Test? I've seen posts only showing the servo thread jitter.

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

More
17 May 2019 15:28 #134055 by PCW
Replied by PCW on topic Latency Test Question
yes:

latency-test 1ms 1ms

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

More
17 May 2019 16:02 #134056 by Project_Hopeless
Is there any impact to the results running just the servo test vs. servo and base?

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

More
17 May 2019 16:27 #134060 by BigJohnT
Replied by BigJohnT on topic Latency Test Question
If you just want the servo thread for the latency test it's

latency-test 1ms

Most terminal programs have a help that can be displayed with --help.

JT

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

More
17 May 2019 16:51 #134068 by PCW
Replied by PCW on topic Latency Test Question

Project_Hopeless wrote: Is there any impact to the results running just the servo test vs. servo and base?


Yes, having a base thread often makes the Servo thread have worse latency for a couple reasons

1. The base thread time can add to the servo thread latency
2. The default 25 KHz base period may be too fast for slower hardware, using up a large number of CPU cycles and
making the servo thread latency very bad

Occasionally having a base thread (or a faster servo thread) reduces the latency because the real time bits
of code remain in the cache perhaps because of the frequent access + LRU policy

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

Time to create page: 0.064 seconds
Powered by Kunena Forum