- Posts: 6
- Thank you received: 3
Script for automated testing of computer latency.
- msurmei
- Offline
- New Member
-
Less
More
4 years 8 months ago #234634
by msurmei
Replied by msurmei on topic Script for automated testing of computer latency.
Maybe it's useful to report my latency experience. I am sharing only some overall figures, not the entire logs, sorry for that ...
Hardware: Asus M2NPV-VM, Athlon X2 BE-2350, Matrox Millenium II, 4GB memory, SSD.
Software: Debian 10 with RTAI.
The latency (base thread ) observed by running the script for more than 12 hours was around 14us.
But the more interesting result was obtained by running over ssh and disabling graphical interface completely on the linuxcnc machine ( runlevel 3) : under 7us for 12 hours test. This time I have only used latency-histogram and I have generated relevant load for a "runlevel 3" situation.
Disabling graphical interface is definitely not a new thing. I wonder if anybody is successfully using such setup for real action.
Hardware: Asus M2NPV-VM, Athlon X2 BE-2350, Matrox Millenium II, 4GB memory, SSD.
Software: Debian 10 with RTAI.
The latency (base thread ) observed by running the script for more than 12 hours was around 14us.
But the more interesting result was obtained by running over ssh and disabling graphical interface completely on the linuxcnc machine ( runlevel 3) : under 7us for 12 hours test. This time I have only used latency-histogram and I have generated relevant load for a "runlevel 3" situation.
Disabling graphical interface is definitely not a new thing. I wonder if anybody is successfully using such setup for real action.
The following user(s) said Thank You: seuchato, tommylight
Please Log in or Create an account to join the conversation.
- seuchato
- Offline
- Platinum Member
-
Less
More
- Posts: 381
- Thank you received: 126
4 years 8 months ago #235463
by seuchato
Greez
chris
Replied by seuchato on topic Script for automated testing of computer latency.
This is interesting! Could you kindly post the .hw file? That's a summary of hardware, actual test run log (I am particularly inerested in the no of glxgears and firefox) and just the latest two lines of the very latency data. How did you manage to see what's going on? remote X-server?Maybe it's useful to report my latency experience. I am sharing only some overall figures, not the entire logs, sorry for that ...
Hardware: Asus M2NPV-VM, Athlon X2 BE-2350, Matrox Millenium II, 4GB memory, SSD.
Software: Debian 10 with RTAI.
The latency (base thread ) observed by running the script for more than 12 hours was around 14us.
But the more interesting result was obtained by running over ssh and disabling graphical interface completely on the linuxcnc machine ( runlevel 3) : under 7us for 12 hours test. This time I have only used latency-histogram and I have generated relevant load for a "runlevel 3" situation.
Disabling graphical interface is definitely not a new thing. I wonder if anybody is successfully using such setup for real action.
Greez
chris
Please Log in or Create an account to join the conversation.
- arvidb
- Offline
- Platinum Member
-
Less
More
- Posts: 459
- Thank you received: 158
4 years 8 months ago #235595
by arvidb
If this turns out to be a problem, can I suggest grepping for both "secs" and e.g. "us sdev" to keep the script compatible with both old and new versions of latency-histogram? "secs" should get lines from the old version, and "us sdev" should get lines from the current version. 'grep -e' should do the trick?
Replied by arvidb on topic Script for automated testing of computer latency.
This change to the latency-histogram line 696 messes up the current script feeding off "secs" for reporting to the hw log file.
Actually the part for latency in the xyz.hw file is just the last two lines of the xyz.lat file that contain latency data. (like that, servo and base thread are covered). I'll have to check if at all and if, how that change affects logging of latency data. Hope I can do it soon.
If this turns out to be a problem, can I suggest grepping for both "secs" and e.g. "us sdev" to keep the script compatible with both old and new versions of latency-histogram? "secs" should get lines from the old version, and "us sdev" should get lines from the current version. 'grep -e' should do the trick?
The following user(s) said Thank You: seuchato, Futterama
Please Log in or Create an account to join the conversation.
- seuchato
- Offline
- Platinum Member
-
Less
More
- Posts: 381
- Thank you received: 126
4 years 8 months ago #235646
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
a solution is a solution. As an engineer, I could not oppose to a solution :-]
The following user(s) said Thank You: arvidb, tommylight
Please Log in or Create an account to join the conversation.
- arvidb
- Offline
- Platinum Member
-
Less
More
- Posts: 459
- Thank you received: 158
4 years 8 months ago #235656
by arvidb
Replied by arvidb on topic Script for automated testing of computer latency.
Glad to hear it!
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
- seuchato
- Offline
- Platinum Member
-
Less
More
- Posts: 381
- Thank you received: 126
4 years 8 months ago #235818
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
Grin
Please Log in or Create an account to join the conversation.
Time to create page: 0.260 seconds