Latency Test Question

More
7 years 5 months ago #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 to join the conversation.

More
7 years 5 months ago #134055 by PCW
Replied by PCW on topic Latency Test Question
yes:

latency-test 1ms 1ms

Please Log in to join the conversation.

More
7 years 5 months ago #134056 by Project_Hopeless
Is there any impact to the results running just the servo test vs. servo and base?

Please Log in to join the conversation.

More
7 years 5 months ago #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 to join the conversation.

More
7 years 5 months ago #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 to join the conversation.

Time to create page: 0.098 seconds
Powered by Kunena Forum