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

  • macsddau@linuxcnc
  • macsddau@linuxcnc's Avatar
  • Offline
  • Premium Member
  • Premium Member
More
23 Jul 2022 20:17 #248143 by macsddau@linuxcnc
Here the results
LinuxCNC pc tests, version 20200930, started 23.07.2022 21:33:59
********************************************************************************
General info:
ASRock,  To Be Filled By O.E.M.
Bios version P1.90, dated 05/21/2018
Chipset: Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name    : Intel(R) Celeron(R) CPU J3355 @ 2.00GHz
cpu cores    : 2
stepping    : 9
cache size    : 1024 KB
================================================================================
RAM related data:
Maximum Capacity: 16 GB
Maximum Voltage: 1.5 V
Maximum Voltage: 1.5 V
Size: 8192 MB
Size: 8192 MB
================================================================================
GPU related data:
configuration: driver=i915 latency=0
configuration: driver=radeon latency=0
================================================================================
Parallel port related data:
number of parallel ports is 1
parport0: PC-style at 0x378, irq 5 [PCSPP]
================================================================================
Os and desktop related data:
PRETTY_NAME="Debian GNU/Linux 10 (buster)"

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
https://forum.linuxcnc.org/18-computer/39370-script-for-automated-testing-of-computer-latency

Desktop environment : xfce4
Windowmanager       : Xfwm4
Displaymanager      : lightdm
================================================================================
Kernel related data:
Kernel 4.19.0-16-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=1 nohalt irqaffinity=0"
Cpu idle driver: intel_idle
================================================================================
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.conf
Check if snd modules are loaded: Yes, may cause bigger latency.
  can probably be disabled in bios, alternatively, you can run
   "./block-snd-modules"
   which has just now been created for your convenience.
================================================================================
Keyboard & Mouse related data:
Number of mice: 1
Mouse 0 : Logitech USB Optical Mouse
Mice  attached to USB:
Logitech, Inc. M105 Optical Mouse
Keyboards attached to USB:
Logitech, Inc. Keyboard K120
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.2
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'https://www.youtube.com/watch?v=rknCD69n6Pk', WID
================================================================================
Command for latency test is:
su cnc -c  "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 202207232133.lat &"

Latency testing loop started samedi 23 juillet 2022, 21:34:15 (UTC+0200),
should end after samedi 23 juillet 2022, 22:04:15 (UTC+0200)

================================================================================
Swap useage: prerun: 0, running: 0

================================================================================
CPU core temperatures:
Core 0: Tmin: 44.0°C, Tmax: 50.0°C, (high = +105.0°C, crit = +105.0°C)
Core 2: Tmin: 42.0°C, Tmax: 48.0°C, (high = +105.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
 1801 secs   base min:  -6.000 uS max:   6.600 uS sdev:   0.200 uS
 1801 secs  servo min:  -5.400 uS max:   5.400 uS sdev:   0.200 uS
The following user(s) said Thank You: seuchato, tommylight

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

More
25 Jul 2022 14:34 #248258 by seuchato

1801 secs   base min:  -6.000 uS max:   6.600 uS sdev:   0.200 uS
 1801 secs  servo min:  -5.400 uS max:   5.400 uS sdev:   0.200 uAl

Although "only" 1801 secs, nice values! Congrats
chris
PS: I like it when a reboot solves problems :-)
The following user(s) said Thank You: macsddau@linuxcnc

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

More
28 Jul 2022 15:34 - 28 Jul 2022 15:35 #248552 by ddB0515
Here are my results on Lenovo M710q in pair with MESA 7i76E

LinuxCNC pc tests, version 20200930, started 28.07.2022 16:17:44
********************************************************************************
General info:
LENOVO,  10MQS36600
Bios version M1AKT52A, dated 12/24/2021
Chipset: Intel Corporation 200 Series/Z370 
Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name  : Intel(R) Core(TM) i5-6400T CPU @ 2.20GHz
cpu cores : 4
stepping  : 3
cache size  : 6144 KB
================================================================================
RAM related data:
Maximum Capacity: 32 GB
Maximum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Size: 4 GB
Size: 4 GB
================================================================================
GPU related data:
product: HD Graphics 530
configuration: driver=i915 latency=0
================================================================================
Parallel port related data:
number of parallel ports is 0
================================================================================
Os and desktop related data:
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"

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
https://forum.linuxcnc.org/18-computer/39370-script-for-automated-testing-of-computer-latency

Desktop environment : gnome
Windowmanager       : Mutter (Muffin)
Displaymanager      : lightdm
================================================================================
Kernel related data:
Kernel 5.10.0-16-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=1 noirqbalance mitigations=off nohlt idle=pool splash resume=UUID=73f68a61-1146-4abd-a9f9-d0f93ea00eb9"
Cpu idle driver: intel_idle
================================================================================
Kernel modules data:
Check if pcspkr is loaded: [0;32mNo, which is good![0m
Check if snd modules are loaded: [0;32mNo, which is good![0m
================================================================================
Keyboard & Mouse related data:
Number of mice: 2
Mouse 0 : ELAN Touchscreen
Mouse 1 : Logitech K400 Plus
Mice  attached to USB:
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'https://vimeo.com/150574260', WID 
================================================================================
Command for latency test is:
su dale -c  "latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1659010854.lat &"

Latency testing loop started Thu 28 Jul 13:21:42 BST 2022, 
should end after Thu 28 Jul 15:21:42 BST 2022

================================================================================
Swap useage: prerun: 0, running: 0

================================================================================
CPU core temperatures:
Core 0: Tmin: 28.0°C, Tmax: 59.0°C, (high = +84.0°C, crit = +100.0°C)
Core 1: Tmin: 29.0°C, Tmax: 60.0°C, (high = +84.0°C, crit = +100.0°C)
Core 2: Tmin: 30.0°C, Tmax: 59.0°C, (high = +84.0°C, crit = +100.0°C)
Core 3: Tmin: 29.0°C, Tmax: 58.0°C, (high = +84.0°C, crit = +100.0°C)
================================================================================
last latency data is as follows:.
 7194 s  servo min:-113.900 us max: 106.000 us sdev:  11.400 us
 7195 s  servo min:-113.900 us max: 106.000 us sdev:  11.400 us
 7196 s  servo min:-113.900 us max: 106.000 us sdev:  11.400 us
 7197 s  servo min:-113.900 us max: 106.000 us sdev:  11.400 us
 7198 s  servo min:-113.900 us max: 106.000 us sdev:  11.400 us
 7198 s  servo min:-113.900 us max: 106.000 us sdev:  11.400 us
 7199 s  servo min:-113.900 us max: 106.000 us sdev:  11.400 us
Core 0:        +57.0°C  (high = +84.0°C, crit = +100.0°C)
Core 1:        +59.0°C  (high = +84.0°C, crit = +100.0°C)
Core 2:        +58.0°C  (high = +84.0°C, crit = +100.0°C)
Core 3:        +57.0°C  (high = +84.0°C, crit = +100.0°C)

BIOS is mostly setup as recommended-off (Virtualisation, Hyperthreading, Turbo, Speedstep)
I know this is OK but if I find ways to optimise will post results
Last edit: 28 Jul 2022 15:35 by ddB0515.
The following user(s) said Thank You: seuchato, tommylight

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

More
15 Sep 2022 15:13 - 16 Sep 2022 05:28 #252004 by boozeman
Hi,

EDIT: 7i76S --> 7i96S, just a typo!

There's an one hour test with Lenovo ThinkCentre M910Q in pair with MESA 7i96S. System has nVme-disk so even Sata-bus is disabled. All normal shenanigans in Bios are made. I also add the isolcpus=2,3 in Grub config.

I changed script a bit to show some Unreal Engine 5 demovideo and do some internet search during the test.

LinuxCNC pc tests, version 20200930, started 15.09.2022 15:11:32
********************************************************************************
General info:
LENOVO,  10MUS6MP00
Bios version M1AKT56A, dated 07/27/2022
Chipset: Intel Corporation 200 Series/Z370
Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name    : Intel(R) Core(TM) i5-6500T CPU @ 2.50GHz
cpu cores    : 4
stepping    : 3
cache size    : 6144 KB
================================================================================
RAM related data:
Maximum Capacity: 32 GB
Maximum Voltage: 1.2 V
Maximum Voltage: 1.2 V
Size: 8 GB
Size: 16 GB
================================================================================
GPU related data:
product: HD Graphics 530
configuration: depth=32 driver=i915 latency=0 resolution=1920,1200
================================================================================
Parallel port related data:
number of parallel ports is 0
================================================================================
Os and desktop related data:
PRETTY_NAME="Debian GNU/Linux bookworm/sid"

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
https://forum.linuxcnc.org/18-computer/39370-script-for-automated-testing-of-computer-latency

Desktop environment : lightdm
Windowmanager       : Xfwm4
Displaymanager      : lightdm
================================================================================
Kernel related data:
Kernel 5.19.0-1-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=2,3"
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: 1
Mouse 0 : Device USB Device
Mice  attached to USB:
Keyboards attached to USB:
Holtek Semiconductor, Inc. Portable Keyboard
================================================================================
LinuxCNC related data:
LinuxCNC version is: 9.0~pre0+git20220906.02744cdef6-1
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'https://vimeo.com/417882964', WID 62914604
================================================================================
Command for latency test is:
su viinatim -c  "latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1663243877.lat &"

Latency testing loop started to 15.9.2022 15.11.45 +0300,
should end after to 15.9.2022 16.11.45 +0300

================================================================================
Swap useage: prerun: 0, running: 0

================================================================================
CPU core temperatures:
Core 0: Tmin: 31.0°C, Tmax: 57.0°C, (high = +84.0°C, crit = +100.0°C)
Core 1: Tmin: 30.0°C, Tmax: 57.0°C, (high = +84.0°C, crit = +100.0°C)
Core 2: Tmin: 28.0°C, Tmax: 52.0°C, (high = +84.0°C, crit = +100.0°C)
Core 3: Tmin: 28.0°C, Tmax: 54.0°C, (high = +84.0°C, crit = +100.0°C)
================================================================================
last latency data is as follows:.
 3599 s  servo min: -48.300 us max:  45.000 us sdev:   3.500 us
 3600 s  servo min: -48.300 us max:  45.000 us sdev:   3.500 us
 3600 s  servo min: -48.300 us max:  45.000 us sdev:   3.500 us
 3601 s  servo min: -48.300 us max:  45.000 us sdev:   3.500 us
 3602 s  servo min: -48.300 us max:  45.000 us sdev:   3.500 us
 3602 s  servo min: -48.300 us max:  45.000 us sdev:   3.600 us
Core 0:        +54.0°C  (high = +84.0°C, crit = +100.0°C)
Core 1:        +52.0°C  (high = +84.0°C, crit = +100.0°C)
Core 2:        +51.0°C  (high = +84.0°C, crit = +100.0°C)
Core 3:        +53.0°C  (high = +84.0°C, crit = +100.0°C)
Last edit: 16 Sep 2022 05:28 by boozeman.
The following user(s) said Thank You: seuchato, tommylight

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

More
15 Sep 2022 15:53 #252007 by seuchato
boozeman
good looking! Would be suitable even for parport, I guess.
I have a set of similar hp elitedesk 800 G2, also sporting an i5 6500. Will test them soon
greez
chris

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

  • tommylight
  • tommylight's Avatar Topic Author
  • Online
  • Moderator
  • Moderator
More
15 Sep 2022 18:02 - 09 Oct 2022 09:02 #252016 by tommylight
7i76S ???
To be sure it will work properly for longer, since you already have the 7i96S i assume, wire the +5V and ethernet cable, run linuxcnc and leave it on for a day or two while occasionally doing something else on the PC.
I usually leave it for 2 to 5 days just to be sure.
Last edit: 09 Oct 2022 09:02 by tommylight. Reason: typo

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

More
09 Oct 2022 04:40 #253800 by Bari
  Note: Using LXRT realtime
Attachments:
The following user(s) said Thank You: seuchato

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

More
11 Nov 2022 12:27 #256422 by D.L.
MB  GA-J1800N-D2H(BIOS F6)
RAM KVR13S9S8/4 4Gb
SSD SA400S37/240G
Debian Wheezy 3.2.0-6-rt-686-pae
LinuxCNC v. 2.8.4 rip build

kernel parameters: "isolcpus=0 intel_idle.max_cstate=0 processor.max_cstate=0 idle=poll quiet"
 
kernel parameters: "isolcpus=1 intel_idle.max_cstate=0 processor.max_cstate=0 idle=poll quiet"
 
 
Attachments:
The following user(s) said Thank You: seuchato, tommylight

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

More
13 Nov 2022 19:51 #256600 by D.L.
Old test of this hardware(with HDD).
Debian Wheezy 3.2.0-6-rt-686-pae
LinuxCNC v. 2.7.14

kernel parameters: "isolcpus=0 lapic quiet"
 

kernel parameters: "isolcpus=1 lapic quiet"
 
Attachments:
The following user(s) said Thank You: seuchato

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

More
15 Nov 2022 19:56 #256797 by seuchato

Old test of this hardware(with HDD).
Debian Wheezy 3.2.0-6-rt-686-pae
LinuxCNC v. 2.7.14

kernel parameters: "isolcpus=0 lapic quiet"

kernel parameters: "isolcpus=1 lapic quiet"
 
 


D.L.
The results are nice and seem to support my assumption, rotational discs hamper latency - on first sight. A closer look shows, one test is with 5 glxgears and the other with 10. So: are these two results really comparable in terms of reproducibility?

I am working on updating the script as promised right now. No ETA so far. It will address the bugs recorded up to date and have some enhancements too. So, stay tuned :-)
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.184 seconds
Powered by Kunena Forum