- Hardware & Machines
- Computers and Hardware
- Results of latency test, list of computers tested for use with LinuxCNC
Results of latency test, list of computers tested for use with LinuxCNC
20 Feb 2022 00:51 - 20 Feb 2022 00:54 #235373
by rdeeming
Replied by rdeeming on topic Results of latency test, list of computers tested for use with LinuxCNC
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) \
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) \
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.
20 Feb 2022 14:06 #235384
by seuchato
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
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
rdeeming: thx a ton, was digging but could not fin this.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) \
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.
22 Feb 2022 23:19 #235565
by Bagels
Replied by Bagels on topic Results of latency test, list of computers tested for use with LinuxCNC
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.
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
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
23 Feb 2022 10:52 #235588
by tommylight
Replied by tommylight on topic Results of latency test, list of computers tested for use with LinuxCNC
Use :The screenshot shows excursions outside the visible area.
latency-histogram --show
The following user(s) said Thank You: seuchato
Please Log in or Create an account to join the conversation.
23 Feb 2022 11:40 - 23 Feb 2022 11:42 #235593
by seuchato
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
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
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.
01 Mar 2022 04:52 - 01 Mar 2022 04:56 #236079
by sou528
Replied by sou528 on topic Results of latency test, list of computers tested for use with LinuxCNC
There are no results. What am I doing wrong?
Warning: Spoiler!
LinuxCNC pc tests, version 20200930, started 01.03.2022 03:14:28
********************************************************************************
General info:
Dell Inc., OptiPlex 980
Bios version A18, dated 02/27/2018
Chipset: Intel Corporation 5 Series/3400 Series
Harddisk is rotational
The amount of swap currently used is 0
================================================================================
CPU related data:
model name : Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
cpu cores : 2
stepping : 5
cache size : 4096 KB
================================================================================
RAM related data:
Maximum Capacity: 16 GB
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
================================================================================
GPU related data:
product: Core Processor Integrated Graphics Controller
configuration: driver=i915 latency=0
================================================================================
Parallel port related data:
number of parallel ports is 1
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
================================================================================
Os and desktop related data:
PRETTY_NAME="Linux Mint 20.3"
Should the info below not match with your machine,
kindly post the output of pstree here, including a brief
desciption of your desktop environment, window manager and
display manager. Tia
forum.linuxcnc.org/18-computer/39370-scr...-of-computer-latency
Desktop environment : gnome
Windowmanager : Xfwm4
Displaymanager : lightdm
================================================================================
Kernel related data:
Kernel 4.9.0-13-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=1"
Cpu idle driver: intel_idle
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, which is good!
Check if snd modules are loaded: No, which is good!
================================================================================
Keyboard & Mouse related data:
Number of mice: 2
Mouse 0 : Logitech USB Optical Mouse
Mouse 1 :
Mice attached to USB:
Logitech, Inc. M90/M100 Optical Mouse
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0.3879.g9a26e69fe
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'vimeo.com/150574260', WID 77594668
================================================================================
Command for latency test is:
su linuxcnc -c "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 1646072020.lat &"
Latency testing loop started 2022年 3月 1日 火曜日 03:14:44 JST,
should end after 2022年 3月 1日 火曜日 05:14:44 JST
Useless to proceed, read the relevant part in 1646072020.lat
>>>Unexpected realtime delay on task 0 with period 25000<<<
================================================================================
Swap useage: prerun: 0, running: 0
================================================================================
CPU core temperatures:
Core 0: Tmin: 40.0°C, Tmax: 52.0°C, (high = +89.0°C, crit = +105.0°C)
Core 2: Tmin: 37.0°C, Tmax: 52.0°C, (high = +89.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
********************************************************************************
General info:
Dell Inc., OptiPlex 980
Bios version A18, dated 02/27/2018
Chipset: Intel Corporation 5 Series/3400 Series
Harddisk is rotational
The amount of swap currently used is 0
================================================================================
CPU related data:
model name : Intel(R) Core(TM) i5 CPU 650 @ 3.20GHz
cpu cores : 2
stepping : 5
cache size : 4096 KB
================================================================================
RAM related data:
Maximum Capacity: 16 GB
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
================================================================================
GPU related data:
product: Core Processor Integrated Graphics Controller
configuration: driver=i915 latency=0
================================================================================
Parallel port related data:
number of parallel ports is 1
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
================================================================================
Os and desktop related data:
PRETTY_NAME="Linux Mint 20.3"
Should the info below not match with your machine,
kindly post the output of pstree here, including a brief
desciption of your desktop environment, window manager and
display manager. Tia
forum.linuxcnc.org/18-computer/39370-scr...-of-computer-latency
Desktop environment : gnome
Windowmanager : Xfwm4
Displaymanager : lightdm
================================================================================
Kernel related data:
Kernel 4.9.0-13-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=1"
Cpu idle driver: intel_idle
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, which is good!
Check if snd modules are loaded: No, which is good!
================================================================================
Keyboard & Mouse related data:
Number of mice: 2
Mouse 0 : Logitech USB Optical Mouse
Mouse 1 :
Mice attached to USB:
Logitech, Inc. M90/M100 Optical Mouse
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0.3879.g9a26e69fe
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'vimeo.com/150574260', WID 77594668
================================================================================
Command for latency test is:
su linuxcnc -c "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 1646072020.lat &"
Latency testing loop started 2022年 3月 1日 火曜日 03:14:44 JST,
should end after 2022年 3月 1日 火曜日 05:14:44 JST
Useless to proceed, read the relevant part in 1646072020.lat
>>>Unexpected realtime delay on task 0 with period 25000<<<
================================================================================
Swap useage: prerun: 0, running: 0
================================================================================
CPU core temperatures:
Core 0: Tmin: 40.0°C, Tmax: 52.0°C, (high = +89.0°C, crit = +105.0°C)
Core 2: Tmin: 37.0°C, Tmax: 52.0°C, (high = +89.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
Last edit: 01 Mar 2022 04:56 by sou528.
Please Log in or Create an account to join the conversation.
- tommylight
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
01 Mar 2022 13:51 #236112
by tommylight
Do you need a base period, or, do you plan on using parallel port?
If not, do not test base period.
Replied by tommylight on topic Results of latency test, list of computers tested for use with LinuxCNC
>>>Unexpected realtime delay on task 0 with period 25000<<<
If not, do not test base period.
Please Log in or Create an account to join the conversation.
03 Mar 2022 16:45 #236276
by sou528
Replied by sou528 on topic Results of latency test, list of computers tested for use with LinuxCNC
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?
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
- Topic Author
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6432
03 Mar 2022 17:30 #236283
by tommylight
Replied by tommylight on topic Results of latency test, list of computers tested for use with LinuxCNC
If it works, use it.
Not sure i had 980, so i have no clue about latency.
Not sure i had 980, so i have no clue about latency.
Please Log in or Create an account to join the conversation.
08 Mar 2022 09:20 #236646
by seuchato
Greez
chris
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
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.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?
Greez
chris
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- Hardware & Machines
- Computers and Hardware
- Results of latency test, list of computers tested for use with LinuxCNC
Time to create page: 0.143 seconds