Results of latency test, list of computers tested for use with LinuxCNC

More
20 Feb 2022 00:51 - 20 Feb 2022 00:54 #235373 by rdeeming
To use use with linuxcnc master branch.

 diff --git a/scripts/latency-histogram b/scripts/latency-histogram
index ed2f5e031..db08d876d 100755
--- a/scripts/latency-histogram
+++ b/scripts/latency-histogram
@@ -705,7 +705,7 @@ proc update_bin_data {thd} {
set ::LH($thd,nextra) [hal getp $::LH($thd,name).nextra]
set ::LH($thd,n,more) [expr $nmore + $::LH($thd,nextra)]
if !$::LH(use_x) {
- puts [format "%5d s %6s min:%8.3f us max:%8.3f us sdev:%8.3f us" \
+ puts [format "%5d secs %6s min:%8.3f us max:%8.3f us sdev:%8.3f us" \
$::LH(elapsed) \
$thd \
$::LH($thd,latency_min,us) \
Attachments:
Last edit: 20 Feb 2022 00:54 by rdeeming.
The following user(s) said Thank You: seuchato

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

More
20 Feb 2022 14:06 #235384 by seuchato

To use use with linuxcnc master branch.

 diff --git a/scripts/latency-histogram b/scripts/latency-histogram
index ed2f5e031..db08d876d 100755
--- a/scripts/latency-histogram
+++ b/scripts/latency-histogram
@@ -705,7 +705,7 @@ proc update_bin_data {thd} {
set ::LH($thd,nextra) [hal getp $::LH($thd,name).nextra]
set ::LH($thd,n,more) [expr $nmore + $::LH($thd,nextra)]
if !$::LH(use_x) {
- puts [format "%5d s %6s min:%8.3f us max:%8.3f us sdev:%8.3f us" \
+ puts [format "%5d secs %6s min:%8.3f us max:%8.3f us sdev:%8.3f us" \
$::LH(elapsed) \
$thd \
$::LH($thd,latency_min,us) \
 

rdeeming: thx a ton, was digging but could not fin this.
I am going to test this later today on an old 2.8.1 or 2 install which has not been updated for say 6 months and a fresh one which I am going to pull right now (2.8.2 with all upgrades/updates to date as of 220220). I am currently playing with 2.8.1 on Pi4.
greez
chris

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

More
22 Feb 2022 23:19 #235565 by Bagels
Gigabyte Z370 chipset, H270M-D3H
Intel i3 Skylake 6100 (no isolcpus)
SATA SSD
8GB RAM DDR4 - 2x4 2133MT/s
GeForce GTX 1060

[img]undefined[/img][img]undefined[/img] imgur.com/V7J2Lif imgur.com/V7J2LifShould note that this mirrors a separate earlier test I did where I was loading it more heavily. Seems pretty consistent. 

Attachments:
The following user(s) said Thank You: seuchato

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

  • tommylight
  • tommylight's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
More
23 Feb 2022 10:52 #235588 by tommylight
Use :
latency-histogram --show
The screenshot shows excursions outside the visible area.
The following user(s) said Thank You: seuchato

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

More
23 Feb 2022 11:40 - 23 Feb 2022 11:42 #235593 by seuchato
Tommy
Agreed, but still Bagels' values are not too far off:
base -24.1/-20 to +23.2/+20
servo -54/-20 to +56/+20
=> values look promising/good to me
greez
chris
remark: It is not clear, how the machine was loaded
Last edit: 23 Feb 2022 11:42 by seuchato. Reason: typo, remark added
The following user(s) said Thank You: tommylight

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

More
01 Mar 2022 04:52 - 01 Mar 2022 04:56 #236079 by sou528
There are no results. What am I doing wrong?

Warning: Spoiler!
Last edit: 01 Mar 2022 04:56 by sou528.

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

  • tommylight
  • tommylight's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
More
01 Mar 2022 13:51 #236112 by tommylight
>>>Unexpected realtime delay on task 0 with period 25000<<<
Do you need a base period, or, do you plan on using parallel port?
If not, do not test base period.

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

More
03 Mar 2022 16:45 #236276 by sou528
tommylight Thank you for your reply.

I recently got this computer. I have used it with OPTIPLEX 760 with parallel port connection. However, I am worried about when it will not start, so I am thinking about replacing it with this OPTIPLEX 980.

But does this mean there is a fatal delay?
Should I forgo using it on a parallel port?

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

  • tommylight
  • tommylight's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
More
03 Mar 2022 17:30 #236283 by tommylight
If it works, use it.
Not sure i had 980, so i have no clue about latency.

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

More
08 Mar 2022 09:20 #236646 by seuchato

tommylight Thank you for your reply.

I recently got this computer. I have used it with OPTIPLEX 760 with parallel port connection. However, I am worried about when it will not start, so I am thinking about replacing it with this OPTIPLEX 980.

But does this mean there is a fatal delay?
Should I forgo using it on a parallel port?
 

If you lookup this thread, you will find some entries of my 980s. I am running one of these using parport just fine. See here for example. Kindly checkout my other posts for these dell 980s. There is some finetuning ahead, but I guess the results speak for themselves.
Greez
chris
The following user(s) said Thank You: tommylight

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

Time to create page: 0.174 seconds
Powered by Kunena Forum