- Posts: 198
- Thank you received: 0
Latency Test Question
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
Less
More
7 years 5 months ago #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 to join the conversation.
7 years 5 months ago #134055
by PCW
Replied by PCW on topic Latency Test Question
yes:
latency-test 1ms 1ms
latency-test 1ms 1ms
Please Log in to join the conversation.
- Project_Hopeless
- Topic Author
- Offline
- Elite Member
-
Less
More
- Posts: 198
- Thank you received: 0
7 years 5 months ago #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 to join the conversation.
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
latency-test 1ms
Most terminal programs have a help that can be displayed with --help.
JT
Please Log in to join the conversation.
7 years 5 months ago #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
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
