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

More
14 Mar 2024 19:04 #295913 by seuchato
spicybagel

Thanks for the link and for your effort. However, I am sorry, I do not do google.
greez
chris

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

More
15 Mar 2024 14:49 - 15 Mar 2024 15:14 #295968 by nottolino
Thanks seuchato for this great script.
I'm playing with it on debian bookworm (installed from 2.9.2 linuxcnc ISO image) and I'm getting some errors.
The first one is that lsusb is not present and it' is necessary to install it via

 
sudo apt-get install usbutils

The second one:
The command
sudo echo "install pcspkr /bin/true" >/etc/modprobe.d/pcspkr.conf
respond with permission denied

To remove pcspkr I had to give the (temporary) command
>
modprobe -r pcspkr
Last edit: 15 Mar 2024 15:14 by nottolino. Reason: Adding some words
The following user(s) said Thank You: seuchato

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

More
16 Mar 2024 03:16 #296023 by seuchato
nottolino
Thanks for the flowers and your comments / hints!
I will integrate them in the soon due new updated version.
Greez
chris

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

More
07 Apr 2024 12:40 - 07 Apr 2024 12:50 #297744 by wolfram
Machine: Lenovo ThinkCentre M83 (SFF, i5-4590S, Q85, onboard LPT port with cable adapter)

OS: Debian 12.5.0 (Gnome Shell) with kernel 5.4.258-rtai-amd64 (linuxcnc 2.9.2 package)

BIOS settings:
  • CSM [Enabled]
  • Boot Mode [Legacy Only]
  • Serial Port Controller [Disabled]
  • Parallel Port Controller [ECP+EPP]
  • Ondoard Audio Controller [Disabled]
  • Ondoard Ethernet Controller [Enabled]
  • CPU SpeedStep [Enabled]
  • Core Multi-Processing [Enabled]
  • Virtulization [Disabled]
  • C State Support [Enabled, C1C3C6C7]
  • Turbo Mode [Disabled]
  • Intel Manageability Control [Disabled]
  • Enchanced Power Saving Mode [Disabled]
Original video from Vimeo is not exist anymore, so I used 12 hour youtube video that load CPU with 1080p quality.

LinuxCNC pc tests, version 20200930, started 07.04.2024 12:58:44
********************************************************************************
General info:
LENOVO,  10AJS03V00
Bios version FBKTDFAUS, dated 06/18/2021
Chipset: Intel Corporation 8 Series/C220 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-4590S CPU @ 3.00GHz
cpu cores    : 4
stepping    : 3
cache size    : 6144 KB
================================================================================
RAM related data:
Maximum Capacity: 32 GB
Maximum Voltage: 1.5 V
Maximum Voltage: 1.5 V
Size: No Module Installed
Size: 8 GB
Size: No Module Installed
Size: 8 GB
================================================================================
GPU related data:
product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller
configuration: depth=32 driver=i915 latency=0 resolution=1680,1050
================================================================================
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 12 (bookworm)"

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 : gdm3
Windowmanager       : GNOME Shell
Displaymanager      : gdm3
================================================================================
Kernel related data:
Kernel 5.4.258-rtai-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
Cpu idle driver: ================================================================================
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 : SIGMACHIP Usb Mouse
Mice  attached to USB:
SiGma Micro XM102K Optical Wheel Mouse
Keyboards attached to USB:
China Resource Semico Co., Ltd USB Keyboard
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.9.2
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'https://www.youtube.com/watch?v=rqJDO3TWnac', WID
================================================================================
Command for latency test is:
su user -c  "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 1712483920.lat &"

Latency testing loop started Sun Apr  7 12:58:57 PM EEST 2024,
should end after Sun Apr  7 02:58:57 PM EEST 2024

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 40.0°C, Tmax: 56.0°C, (high = +86.0°C, crit = +92.0°C)
Core 1: Tmin: 39.0°C, Tmax: 55.0°C, (high = +86.0°C, crit = +92.0°C)
Core 2: Tmin: 38.0°C, Tmax: 54.0°C, (high = +86.0°C, crit = +92.0°C)
Core 3: Tmin: 38.0°C, Tmax: 56.0°C, (high = +86.0°C, crit = +92.0°C)
================================================================================
last latency data is as follows:.

 7203 s   base min: -14.500 us max:  14.100 us sdev:   0.500 us
 7203 s  servo min: -12.500 us max:  12.700 us sdev:   0.700 us


I tried to disable SpeedStep and C-state stuff but difference is 2-3% between tests.
Pretty good for using with onboard LPT port -> LPT cable -> simple "mach3" BOBs?
Thanks.
Last edit: 07 Apr 2024 12:50 by wolfram.
The following user(s) said Thank You: seuchato, tommylight

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

More
07 Apr 2024 15:40 #297750 by tommylight
The following user(s) said Thank You: seuchato

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

More
07 Apr 2024 18:37 #297759 by seuchato
wolfram
Love to see your BIOS-settings!
Real good values. Should be good for software stepping too.
Thx
chris
The following user(s) said Thank You: wolfram

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

More
08 Apr 2024 01:03 - 08 Apr 2024 01:05 #297771 by cornholio
Some of those Lenovos are good uns.

Although I think a lot of people disable Speed Step.
Last edit: 08 Apr 2024 01:05 by cornholio.
The following user(s) said Thank You: seuchato

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

More
08 Apr 2024 03:37 #297788 by seuchato
cornholio

"Although I think a lot of people disable Speed Step."

Why the "although"? I believe, that's a good thing to do. First, LinuxCNC does not need a lot of computing power, second it just needs low latency. The later is where SpeedStep imho is harmful.

In the trial version of the script, I am trying to figure out how to find out, if SpeedStep is enabled or not. So, if you have good points for SpeedStep, kindly let us know which ones.

greez
chris

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

Time to create page: 0.142 seconds
Powered by Kunena Forum