Script for automated testing of computer latency.
16 Nov 2022 20:06 #256891
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
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
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.
17 Nov 2022 04:23 #256913
by seuchato
gets the ping times. Now what do you want do with them? sum them up, average, std deviation etc.?
what is the output offor the problematic NICs?
Replied by seuchato on topic Script for automated testing of computer latency.
LANG=C ping -c 50 $(ip route | grep default | awk '{print $3}') | awk -F '[:= ]' 'NR!=1 {print $11}'
what is the output of
lspci | grep -Ei eth
Please Log in or Create an account to join the conversation.
- mattdom142
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 1
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.
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.
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
01 Jun 2023 17:25 #272646
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
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
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.
01 Jun 2023 18:07 #272648
by PCW
Replied by PCW on topic Script for automated testing of computer latency.
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.
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.
01 Jun 2023 21:26 #272656
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
PCW
Thx a ton. Might become useful!
Greez
chris
Thx a ton. Might become useful!
Greez
chris
Please Log in or Create an account to join the conversation.
25 Jun 2023 18:47 - 25 Jun 2023 18:57 #274204
by JohnnyCNC
Replied by JohnnyCNC on topic Script for automated testing of computer latency.
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.
Thanks
John
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.
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
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19219
- Thank you received: 6440
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.
Please Log in or Create an account to join the conversation.
26 Jun 2023 10:59 #274237
by seuchato
Replied by seuchato on topic Script for automated testing of computer latency.
Johnny
I am currently working on the script and address the issues you report. So, thanks for posting them!
chris
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.
chris
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
26 Jun 2023 11:24 #274239
by JohnnyCNC
Replied by JohnnyCNC on topic Script for automated testing of computer latency.
- 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.
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.112 seconds