Script for automated testing of computer latency.

More
16 Nov 2022 20:06 #256891 by seuchato
Tommy, Rod
I will have to dig into this a bit. Self interest, as I am about to order my first mesa setup (guess that's good news).
As mentioned: not first priority for now. I'd like to eliminate the long known bugs first and at least get disc loading through.
Greez
chris
The following user(s) said Thank You: tommylight

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

More
17 Nov 2022 04:23 #256913 by seuchato
LANG=C ping -c 50 $(ip route | grep default | awk '{print $3}') | awk -F '[:= ]'  'NR!=1 {print $11}' 
gets the ping times. Now what do you want do with them? sum them up, average, std deviation etc.?

what is the output of
lspci | grep -Ei eth
for the problematic NICs?

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

More
31 May 2023 14:41 #272570 by mattdom142
Replied by mattdom142 on topic Script for automated testing of computer latency.
Hello, thank you for the script. 

I'm having a few issues.

The script is getting stuck at the end. See the attached picture. 

My machine is the HP M01-F3006 with Ryzen 5 5600 Chip, 6 core with 12 threads.

Is there something wrong with more cores and the script is getting stuck because of that or did I do something wrong?

If I Ctrl C I get a few warnings. See the picture with all the warnings. 
Attachments:
The following user(s) said Thank You: seuchato

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

More
01 Jun 2023 17:25 #272646 by seuchato
mattdom142
I Have a ryzen 9 7900 at my service now. I will look into this asaic (as soon as I can)
Ryzens running my script do show issues, I am aware off. Your's is new to me.
Give me some time, as I have to clear tons off my back, please.
Greez
chris

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

More
01 Jun 2023 18:07 #272648 by PCW
I don't know if its done elsewhere in your script but if you are testing ping times,
you need to do it with RT priority and a close to servo thread rate, like:

sudo chrt 99 ping -i .001 -q 10.10.10.10

Also the first ping should be dropped as it includes ARP lookup.
The following user(s) said Thank You: seuchato

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

More
01 Jun 2023 21:26 #272656 by seuchato
PCW
Thx a ton. Might become useful!
Greez
chris

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

More
25 Jun 2023 18:47 - 25 Jun 2023 18:57 #274204 by JohnnyCNC
I am running the lcnc-hw script and I have a few issues/questions/comments.

1. This link in the script is no longer valid: page='vimeo.com/150574260'
so I replaced it with this random one.  'vimeo.com/169701518'2.

2. I was getting this message and the suggested solution didn't work.
Kernel modules data:
Check if pcspkr is loaded: Yes, may cause bigger latency. 
can be eliminated using:  sudo echo "install pcspkr /bin/true" >/etc/modprobe.d/pcspkr.confI

I ended up adding "blacklist pcspkr" to "/etc/modprobe.d/intel-microcode-blacklist.conf" and that worked.

3. Should I be concerned about these:
.Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs

4.  There are never any latency results listed at the end of the .hw file.

5.  What numbers should I be shooting for if I am using a 7i76E?  Are these numbers good? Good enough?  Keep trying?

Thes are the last results in my .lat file. 
598 s  servo min: -80.000 us max:  87.100 us sdev:   4.300 us 
599 s  servo min: -80.000 us max:  87.100 us sdev:   4.300 us 
600 s  servo min: -80.000 us max:  87.100 us sdev:   4.300 us 
601 s  servo min: -80.000 us max:  87.100 us sdev:   4.300 us 
601 s  servo min: -80.000 us max:  87.100 us sdev:   4.300 us 
602 s  servo min: -80.000 us max:  87.100 us sdev:   4.300 us 
603 s  servo min: -80.000 us max:  87.100 us sdev:   4.300 us 
603 s  servo min: -80.000 us max:  87.100 us sdev:   4.300 us

I attached my .lat and .hw files.  I will post my results in the proper results page when I get the results that I think are final.

File Attachment:

File Name: 1687646398.hw.txt
File Size:3 KB

File Attachment:

File Name: 1687646398.lat.txt
File Size:489 KB


Thanks
John

 
Attachments:
Last edit: 25 Jun 2023 18:57 by JohnnyCNC. Reason: Attachments missing

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

  • tommylight
  • tommylight's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
More
25 Jun 2023 18:49 #274205 by tommylight
Replied by tommylight on topic Script for automated testing of computer latency.
That will do just fine for Mesa ethernet boards.
The following user(s) said Thank You: seuchato, JohnnyCNC

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

More
26 Jun 2023 10:59 #274237 by seuchato
Johnny
I am currently working on the script and address the issues you report. So, thanks for posting them!
  • pcspkr: "etc/modprobe.d/pcspkr.confI" Is there an "l" (ell or capital I) at the end? if, that could not be there.
  • "Missing chrome ..." Never came across something similar. Do you have Chrome installed?
  • "never any latency results", Yep, correct, it has to do with your board not having a parport. Truly a bug
  • "What numbers ..." Tommy answered that already not bad values anyway. It is not paramount to get the latest % out in better latency, especially for non parport based setups. There are a number of hints and results to parameters you can add/alter in "GRUB_CMDLINE_..." line. I collected a few of these and am preparing a thread in summing the up - after getting the script cleaned out and better :-) Meanwhile, you could dig around in the results thread and/or forum to get an idea of the multitude of all the possibilities.
Greez
chris
The following user(s) said Thank You: tommylight

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

More
26 Jun 2023 11:24 #274239 by JohnnyCNC
  • pcspkr: "etc/modprobe.d/pcspkr.confI" Is there an "l" (ell or capital I) at the end? if, that could not be there.

    That "I" came from the forum editor when I tried to edit the post.  It trashed the whole post and I had to clean it up and I missed that.
  • "Missing chrome ..." Never came across something similar. Do you have Chrome installed?

    After the error I installed Chrome but it didn't make any difference.
  • "never any latency results", Yep, correct, it has to do with your board not having a parport. Truly a bug

    Ah OK.
  • "What numbers ..." Tommy answered that already not bad values anyway. It is not paramount to get the latest % out in better latency, especially for non parport based setups. There are a number of hints and results to parameters you can add/alter in "GRUB_CMDLINE_..." line. I collected a few of these and am preparing a thread in summing the up - after getting the script cleaned out and better 

    I did look though some of the other post and found some more parameters to try but none of them improved the numbers.
Thanks.  This script sure beats doing the testing manually.
 
The following user(s) said Thank You: seuchato, tommylight

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

Time to create page: 0.241 seconds
Powered by Kunena Forum