Script for automated testing of computer latency.

More
5 years 8 months ago - 5 years 8 months ago #199339 by Cadmanxu
.........
Started google-chrome-stable with ' vimeo.com/150574260 '

================================================================================
Command for latency test is:
su linuxcnc -c "latency-histogram --bbinsize 1000 --base 50000 --sbinsize 1000 --nox 2>&1 | tee 1613676081.lat &"

Latency testing loop started jue feb 18 20:21:46 CET 2021,
should end after jue feb 18 22:21:46 CET 2021

Unexpected realtime delay on task 0 with period 50000
should end after jue feb 18 22:21:46 CET 2021

Swap useage: prerun: 0, running: 0

================================================================================
last latency data is as follows:.
504 secs base min: -29.700 uS max: 44.200 uS sdev: 1.900 uS
504 secs servo min: -33.600 uS max: 34.300 uS sdev: 2.100 uS
Last edit: 5 years 8 months ago by Cadmanxu.
The following user(s) said Thank You: seuchato

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #199371 by seuchato
Cadmanxu
kindly post the complete .hw file that the script generates. Like that we know what kind of machine you are using.
"virtualized or bare metal": if running in some virtual machine like virtualbox, xen etc. But I guess, that is not the case.
A hint: I had faulty RAM once. This caused Realtime Delay Message. Use memtest86 to check on that.
greez
chris

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #199391 by Cadmanxu
Thank you very much for your answer, I could not insert the .hw file, it did not let me insert it in the message I will try to do it again. I tell you that the previous file that I uploaded to this post called ipdlerror.txt was a file that I created by copying the error data that appeared in the script's terminal. The fault was mine because to explain my results I only had to attach the .hw files I understood. I apologize for the confusion that I may have caused by interpreting that this file came from your scripts to do this test. Thank you very much for your tool and for sharing it with new Linuxcnc users. Today I will follow the instructions you recommend in the forum and read the topics more thoroughly before writing. I made that mistake, could I try uploading the file in txt format if necessary?
Last edit: 5 years 8 months ago by Cadmanxu.

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #199439 by seuchato
Cadmanxu

on a terminal in your machine do:
Code:
cat {fname}.hw
where {fname} is the fileprefix of you {fname},hw file
Scroll up until you see the cat command again. Mark all the lines below, copy, then go to linuxcnc forum, add a reply, goto editor,
write " [ c o d e ] {Stuff to be pasted} [ c o d e ]"
where {Stuff to be pasted} is the {Stuff to be pasted} which is in your clipboard and omit the blanks in " [ c o d e ]" and "[ c o d e ]"
hit send and you are done

In the editor, you can also click on the "Attachments" button and add your file as an attachment.

It's hard to check the output you reported without knowing what hardware you use. To know what hardware gives what latency results, is the very purpose of my script :-)

greez
chris
Last edit: 5 years 8 months ago by seuchato. Reason: clarification

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #199441 by Cadmanxu
I cannot execute those commands. I do not see that list doing

cat {fname} .hw

I'm sorry, I'm new to Linux too, the only thing I can do is copy the text as an answer, although it is not very long and I see that nobody does it like that it seems ...
Last edit: 5 years 8 months ago by Cadmanxu. Reason: error
The following user(s) said Thank You: seuchato

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #199447 by Cadmanxu
I have added the text from the .hw file to a text document. In the editor when making the answer it does not let me insert the file by the extension ...

File Attachment:

File Name: hw.txt
File Size:4 KB

File Attachment:

File Name: hw-2.txt
File Size:4 KB
The following user(s) said Thank You: seuchato

Please Log in or Create an account to join the conversation.

Time to create page: 1.027 seconds
Powered by Kunena Forum