- 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
- macsddau@linuxcnc
-
- Offline
- Premium Member
-
Less
More
- Posts: 142
- Thank you received: 28
23 Jul 2022 20:17 #248143
by macsddau@linuxcnc
Replied by macsddau@linuxcnc on topic Results of latency test, list of computers tested for use with 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.
- seuchato
- Offline
- Platinum Member
-
Less
More
- Posts: 364
- Thank you received: 121
25 Jul 2022 14:34 #248258
by seuchato
chris
PS: I like it when a reboot solves problems
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
Although "only" 1801 secs, nice values! Congrats1801 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
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.
- ddB0515
-
- Offline
- Junior Member
-
Less
More
- Posts: 25
- Thank you received: 7
28 Jul 2022 15:34 - 28 Jul 2022 15:35 #248552
by ddB0515
Replied by ddB0515 on topic Results of latency test, list of computers tested for use with LinuxCNC
Here are my results on Lenovo M710q in pair with MESA 7i76E
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
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
greez chris
Replied by seuchato on topic Results of latency test, list of computers tested for use with LinuxCNC
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.
- Hardware & Machines
- Computers and Hardware
- Results of latency test, list of computers tested for use with LinuxCNC
Time to create page: 0.184 seconds