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

More
4 years 7 months ago #236825 by seuchato
billykid
Thanks a ton. I need to upgrade the script urgently and your zip helps me doing just that. I intended to do a complete update, but like that, I think I'll release an intermediate version soon.

I'll post what you have included in your zip as a summary, completed with last latency data:

LinuxCNC pc tests, version 20200930, started 10.03.2022 08:59:06
********************************************************************************
General info:
ASUSTeK COMPUTER INC.,  All Series
Bios version 2601, dated 12/08/2014
Chipset: Intel Corporation 9 Series
Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name    : Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
cpu cores    : 4
stepping    : 3
cache size    : 8192 KB
================================================================================
RAM related data:
Maximum Capacity: 32 GB
Maximum Voltage: Unknown
Maximum Voltage: 1.5 V
Maximum Voltage: Unknown
Maximum Voltage: 1.5 V
Size: No Module Installed
Size: 8192 MB
Size: No Module Installed
Size: 8192 MB
================================================================================
GPU related data:
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
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 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
forum.linuxcnc.org/18-computer/39370-scr...-of-computer-latency

Desktop environment : gnome
Windowmanager       : Xfwm4
Displaymanager      : lightdm
================================================================================
Kernel related data:
Kernel 4.19.0-19-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Cpu idle driver: intel_idle
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, which is good!
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:
Primax Electronics, Ltd HP PR1101U / Primax PMX-KPR1101U Keyboard
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0.5982.gcebd57f65
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with ' vimeo.com/150574260 ', WID 88080428
================================================================================
Command for latency test is:
su mauro -c  "latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1646899127.lat &"

Latency testing loop started gio 10 mar 2022, 08.59.18, CET,
should end after gio 10 mar 2022, 10.59.18, CET

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 28.0°C, Tmax: 56.0°C, (high = +80.0°C, crit = +100.0°C)
Core 1: Tmin: 27.0°C, Tmax: 60.0°C, (high = +80.0°C, crit = +100.0°C)
Core 2: Tmin: 28.0°C, Tmax: 58.0°C, (high = +80.0°C, crit = +100.0°C)
Core 3: Tmin: 24.0°C, Tmax: 55.0°C, (high = +80.0°C, crit = +100.0°C)
================================================================================
last latency data is as follows:.


7202 s servo min: -30.400 us max: 30.300 us sdev: 0.700 us

That seems to be a very good candiate, given, you still got room to improve. But I guess, tommlight would agree: good as it is now, no further improvments required. One caveat: The video stuff: Couldn't you see the vimeo video at all?
Greez
chris

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

More
4 years 7 months ago #236826 by SanzuiWorks
I think the advice has made a big step forward. I haven't tried KERNEL yet.

LinuxCNC pc tests, version 20200930, started 10.03.2022 02:10:07
********************************************************************************
General info:
Dell Inc.,  OptiPlex 980                 
Bios version A18, dated 02/27/2018
Chipset: Intel Corporation 5 Series/3400 Series
Harddisk is non-rotational, ie. SSD
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="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
forum.linuxcnc.org/18-computer/39370-scr...-of-computer-latency

Desktop environment : kdeconnectd
Windowmanager       : KWin
Displaymanager      : lightdm
================================================================================
Kernel related data:
Kernel 4.19.0-19-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=1 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: 2
Mouse 0 : CATEX TECH. 84EC-S Mouse
Mouse 1 : Logitech M570
Mice  attached to USB:
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.2.11.g6a3d0a434
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with ' vimeo.com/150574260 ', WID 71303372
================================================================================
Command for latency test is:
su optiplex980 -c  "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 1646845802.lat &"

Latency testing loop started 2022年  3月 10日 木曜日 02:10:21 JST,
should end after 2022年  3月 10日 木曜日 04:10:21 JST

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 53.0°C, Tmax: 63.0°C, (high = +89.0°C, crit = +105.0°C)
Core 2: Tmin: 53.0°C, Tmax: 61.0°C, (high = +89.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
 7204 secs   base min: -18.300 uS max:  15.500 uS sdev:   0.200 uS
 7204 secs  servo min: -12.300 uS max:  12.300 uS sdev:   0.500 uS

LinuxCNC pc tests, version 20200930, started 10.03.2022 08:49:32
********************************************************************************
General info:
Dell Inc.,  OptiPlex 980                 
Bios version A18, dated 02/27/2018
Chipset: Intel Corporation 5 Series/3400 Series
Harddisk is non-rotational, ie. SSD
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="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
forum.linuxcnc.org/18-computer/39370-scr...-of-computer-latency

Desktop environment : kdeconnectd
Windowmanager       : KWin
Displaymanager      : lightdm
================================================================================
Kernel related data:
Kernel 4.19.0-19-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=1 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: 2
Mouse 0 : CATEX TECH. 84EC-S Mouse
Mouse 1 : Logitech M570
Mice  attached to USB:
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.2.11.g6a3d0a434
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with ' vimeo.com/150574260 ', WID 71303422
================================================================================
Command for latency test is:
su optiplex980 -c  "latency-histogram --bbinsize 1000 --base 50000 --sbinsize 1000 --nox 2>&1 | tee -a 1646869745.lat &"

Latency testing loop started 2022年  3月 10日 木曜日 08:49:45 JST,
should end after 2022年  3月 10日 木曜日 10:49:45 JST

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 50.0°C, Tmax: 62.0°C, (high = +89.0°C, crit = +105.0°C)
Core 2: Tmin: 51.0°C, Tmax: 60.0°C, (high = +89.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
 7202 secs   base min: -19.200 uS max:  17.300 uS sdev:   0.300 uS
 7202 secs  servo min: -15.400 uS max:  14.800 uS sdev:   0.600 uS


Thank you for teaching me how to write.
The following user(s) said Thank You: seuchato

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

More
4 years 7 months ago #236827 by seuchato

I am trying the script, it works but the video does not start "video not rated" I let it go like this?
 
I tried to verify this on different machines, even a windows pc. Never got this message. Could you kindly try again manually and describe what you did as close as possible?
greez
chris

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

More
4 years 7 months ago #236829 by seuchato
billykid
could you kindly do

wmctrl -l | grep -i vimeo

in a terminal while running the script?
You should get something like

0x050002ac  0 {pcname} Jugg a Jug on Vimeo - Mozilla Firefox

The "Jugg a Jug" should change as soon as the next video is being played. Kindly also verify this.
greez
chris
 

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

More
4 years 7 months ago #236830 by seuchato
sou528
I think you are already cooking ;-}
greez
chris

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

More
4 years 7 months ago - 4 years 7 months ago #236831 by billykid
I tried and the terminal did not return anything ... now I have to actually cook
Last edit: 4 years 7 months ago by billykid.

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

Time to create page: 0.346 seconds
Powered by Kunena Forum