- Posts: 22011
- Thank you received: 7491
Script for automated testing of computer latency.
- tommylight
- Offline
- Moderator
-
Less
More
3 years 4 months ago #274285
by tommylight
And, seeing and more importantly feeling a 2.5 ton gantry move at 24m/m is terrifying, no matter how many times you watch it. If that thing hits a human at that speed, it will absolutely not notice anything, not even a spike in motor current draw!
Replied by tommylight on topic Script for automated testing of computer latency.
Most are very dangerous, not just potentially, just search youtube for lathe/cnc accident and hope you have a strong stomach.But: I guess, you know: we are working with potentially dangerous machines,
And, seeing and more importantly feeling a 2.5 ton gantry move at 24m/m is terrifying, no matter how many times you watch it. If that thing hits a human at that speed, it will absolutely not notice anything, not even a spike in motor current draw!
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
- flyingbrick
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 19
2 years 10 months ago #287073
by flyingbrick
Replied by flyingbrick on topic Script for automated testing of computer latency.
It seems that the vimeo page doesn't exist.... Anyone else have this problem? (I could probably search back through the past 14 pages lol )
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
2 years 10 months ago #287088
by tommylight
Replied by tommylight on topic Script for automated testing of computer latency.
Just play something else, youtube works also.
Do maximize/minimize several times the video as that does induce spikes on latency.
Do maximize/minimize several times the video as that does induce spikes on latency.
The following user(s) said Thank You: flyingbrick
Please Log in or Create an account to join the conversation.
- seuchato
- Offline
- Platinum Member
-
Less
More
- Posts: 381
- Thank you received: 126
2 years 10 months ago #287517
by seuchato
I hope to get that done by end of this year
greez
chris
Replied by seuchato on topic Script for automated testing of computer latency.
It is listed on the todo list quite high, among with amd and raspberry temperatures.It seems that the vimeo page doesn't exist.... Anyone else have this problem? (I could probably search back through the past 14 pages lol )
I hope to get that done by end of this year
greez
chris
The following user(s) said Thank You: tommylight, flyingbrick
Please Log in or Create an account to join the conversation.
- seuchato
- Offline
- Platinum Member
-
Less
More
- Posts: 381
- Thank you received: 126
2 years 10 months ago - 2 years 10 months ago #287564
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
My current todo:
See attachment (can't see how to add a table in here, pointers welcome :-]), rename it to .ods instead of .gz and you should be able to read it.
Greez
chris
See attachment (can't see how to add a table in here, pointers welcome :-]), rename it to .ods instead of .gz and you should be able to read it.
Greez
chris
Last edit: 2 years 10 months ago by seuchato.
Please Log in or Create an account to join the conversation.
- klopp
- Offline
- Senior Member
-
Less
More
- Posts: 45
- Thank you received: 35
2 years 7 months ago #295852
by klopp
Replied by klopp on topic Script for automated testing of computer latency.
Hey, thanks for the effort to make this whole latency testing more reproducable.
The problem I face is that I can't interpret the results of this script, as I'm not very deep into this topic.
So a few questions:
1) As far as I understand the base thread is mostly used for software step generation. As most setups use mesa cards with their fpga step generation, do I have to worry about base thread latency at all? What about mesa cards connected to the parport?
2) Why is the standard deviation important? If I have a pretty narrow curve with a few large deviations, my standard deviation would be relatively small but because of the few large deviations, my system would still be unusable right?
3) The wiki states that the most important thing is the jitter. If I understand correctly, thats the maximum deviation of the period. So If I get a result of min=-30uS and max=20uS, my jitter would be 30uS. Is that correct?
4) What jitter is considered okay for LinuxCNC when not using software stepping (e.g. using a mesa card)?
Thank you for putting so much work into this community project
The problem I face is that I can't interpret the results of this script, as I'm not very deep into this topic.
So a few questions:
1) As far as I understand the base thread is mostly used for software step generation. As most setups use mesa cards with their fpga step generation, do I have to worry about base thread latency at all? What about mesa cards connected to the parport?
2) Why is the standard deviation important? If I have a pretty narrow curve with a few large deviations, my standard deviation would be relatively small but because of the few large deviations, my system would still be unusable right?
3) The wiki states that the most important thing is the jitter. If I understand correctly, thats the maximum deviation of the period. So If I get a result of min=-30uS and max=20uS, my jitter would be 30uS. Is that correct?
4) What jitter is considered okay for LinuxCNC when not using software stepping (e.g. using a mesa card)?
Thank you for putting so much work into this community project
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
Time to create page: 7.701 seconds