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

More
08 Oct 2021 16:27 #222560 by radom
ok, I added isolcpus=1 noirqbalance and it looks like latency is half of what it was before

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

More
29 Oct 2021 07:07 #224630 by zfa
Hi, my ITX-ASRock880GXH with one onboard Parport and one PCIe Parport:
LinuxCNC pc tests, version 20200930, started 14.10.2021 11:00:13
********************************************************************************
General info:
ASRock,  To Be Filled By O.E.M.
Bios version P1.30, dated 05/04/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) J4005 CPU @ 2.00GHz
cpu cores    : 2
stepping    : 1
cache size    : 4096 KB
================================================================================
RAM related data:
Maximum Capacity: 256 GB
Maximum Voltage: 1.5 V
Maximum Voltage: Unknown
Size: 4096 MB
Size: No Module Installed
================================================================================
GPU related data:
product: UHD Graphics 605
configuration: latency=0
================================================================================
Parallel port related data:
number of parallel ports is 2
parport0: PC-style at 0x378, irq 5 [PCSPP]
parport1: PC-style at 0xe010 (0xe000), irq 22 [PCSPP,TRISTATE,EPP]
================================================================================
Os and desktop related data:
PRETTY_NAME="Linux Mint 20.2"

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.10.0-0.bpo.8-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset 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: 1
Mouse 0 : Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)
Mice  attached to USB:
Microsoft Corp. Wheel Mouse Optical
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.2.52.ga5f8e5cc0
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'https://vimeo.com/150574260', WID 60817451
================================================================================
Command for latency test is:
su rb -c  "latency-histogram --bbinsize 1000 --base 50000 --sbinsize 1000 --nox 2>&1 | tee -a 50k.lat &"

Latency testing loop started Thu 14 Oct 2021 11:00:33 AM CEST,
should end after Thu 14 Oct 2021 01:00:33 PM CEST

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 40.0°C, Tmax: 49.0°C, (high = +105.0°C, crit = +105.0°C)
Core 1: Tmin: 41.0°C, Tmax: 49.0°C, (high = +105.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
 7202 secs  servo min: -19.300 uS max:  18.000 uS sdev:   0.600 uS
 7204 secs   base min: -30.000 uS max:  32.400 uS sdev:   1.300 uS
LinuxCNC pc tests, version 20200930, started 27.10.2021 09:11:47
********************************************************************************
General info:
ASRock,  To Be Filled By O.E.M.
Bios version P1.30, dated 05/04/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) J4005 CPU @ 2.00GHz
cpu cores    : 2
stepping    : 1
cache size    : 4096 KB
================================================================================
RAM related data:
Maximum Capacity: 256 GB
Maximum Voltage: 1.5 V
Maximum Voltage: Unknown
Size: 4096 MB
Size: No Module Installed
================================================================================
GPU related data:
product: UHD Graphics 605
configuration: latency=0
================================================================================
Parallel port related data:
number of parallel ports is 2
parport0: PC-style at 0x378, irq 5 [PCSPP]
parport1: PC-style at 0xe010 (0xe000), irq 22 [PCSPP,TRISTATE,EPP]
================================================================================
Os and desktop related data:
PRETTY_NAME="Linux Mint 20.2"

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.10.0-0.bpo.8-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=1 nomodeset mitigations=off intel_idle.max_cstate=0 processor.max_cstate=0 idle=poll acpi_irq_nobalance noirqbalance"
Cpu idle driver: none
================================================================================
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 : Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)
Mice  attached to USB:
Microsoft Corp. Wheel Mouse Optical
Keyboards attached to USB:
Chicony Electronics Co., Ltd KU-0833 Keyboard
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.2.53.gab788522d
================================================================================
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 rb -c  "latency-histogram --bbinsize 1000 --base 50000 --sbinsize 1000 --nox 2>&1 | tee -a 50k.lat &"

Latency testing loop started Wed 27 Oct 2021 09:12:07 AM CEST,
should end after Wed 27 Oct 2021 11:12:07 AM CEST

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 34.0°C, Tmax: 49.0°C, (high = +105.0°C, crit = +105.0°C)
Core 1: Tmin: 34.0°C, Tmax: 49.0°C, (high = +105.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
 7203 secs   base min: -23.500 uS max:  24.300 uS sdev:   0.300 uS
 7203 secs  servo min: -15.600 uS max:  16.200 uS sdev:   0.600 uS

The "GRUB_CMDLINE_LINUX_DEFAULT" I copied from other users in this thread, with the option "nomodeset" I could  get rid the graphic driver, with this I got better results for driving a machine with parport.
The following user(s) said Thank You: seuchato, tommylight

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

More
05 Jan 2022 00:30 #230815 by seuchato

Hi, my ITX-ASRock880GXH with one onboard Parport and one PCIe Parport:
...
CPU related data:
model name    : Intel(R) Celeron(R) J4005 CPU @ 2.00GHz
...
================================================================================
Parallel port related data:
number of parallel ports is 2
parport0: PC-style at 0x378, irq 5 [PCSPP]
parport1: PC-style at 0xe010 (0xe000), irq 22 [PCSPP,TRISTATE,EPP]
================================================================================
Os and desktop related data:
PRETTY_NAME="Linux Mint 20.2"
...
================================================================================
Kernel related data:
Kernel 5.10.0-0.bpo.8-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset isolcpus=1"
Cpu idle driver: intel_idle
================================================================================
...
================================================================================
Command for latency test is:
su rb -c  "latency-histogram --bbinsize 1000 --base 50000 --sbinsize 1000 --nox 2>&1 | tee -a 50k.lat &"
...
================================================================================
last latency data is as follows:.
 7202 secs  servo min: -19.300 uS max:  18.000 uS sdev:   0.600 uS
 7204 secs   base min: -30.000 uS max:  32.400 uS sdev:   1.300 uS
LinuxCNC pc tests, version 20200930, started 27.10.2021 09:11:47
********************************************************************************
...


================================================================================
last latency data is as follows:.
 7203 secs   base min: -23.500 uS max:  24.300 uS sdev:   0.300 uS
 7203 secs  servo min: -15.600 uS max:  16.200 uS sdev:   0.600 uS
 

To me, that looks very good, indeed!
Greez
Chris

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

Time to create page: 0.081 seconds
Powered by Kunena Forum