Latency Test Question
- Project_Hopeless
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 8
17 May 2019 15:27 #134054
by Project_Hopeless
Latency Test Question was created 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.
17 May 2019 15:28 #134055
by PCW
Replied by PCW on topic Latency Test Question
yes:
latency-test 1ms 1ms
latency-test 1ms 1ms
Please Log in or Create an account to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 115
- Thank you received: 8
17 May 2019 16:02 #134056
by Project_Hopeless
Replied by Project_Hopeless on topic Latency Test Question
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.
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
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.
17 May 2019 16:51 #134068
by PCW
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
Replied by PCW on topic Latency Test Question
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.141 seconds