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

More
02 Sep 2020 03:04 #180390 by aparecido

1598626490.hw
LinuxCNC pc tests, version 20200624, started 28.08.2020 11:54:51
********************************************************************************
General info:
Itautec S.A., Infoway
Bios version 0110, dated 03/02/2009
Chipset: Harddisk is rotational
The amount of swap currently used is 0
================================================================================
CPU related data:
model name : Intel(R) Core(TM)2 Duo CPU E7500 @ 2.93GHz
cpu cores : 1
stepping : 10
cache size : 3072 KB
================================================================================
RAM related data:
Maximum Memory Module Size: 4096 MB
Maximum Total Memory Size: 8192 MB
Maximum Capacity: 16 GB
Maximum Memory Module Size: 4096 MB
Maximum Total Memory Size: 8192 MB
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Size: 2048 MB
Size: 2048 MB
================================================================================
GPU related data:
================================================================================
Os related data:
PRETTY_NAME="Linux Mint 19.3"
Desktop: , Session:
================================================================================
Kernel related data:
Kernel 5.4.0-0.bpo.4-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Cpu idle driver: none
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, good!
Yes, may cause bigger latency.
Check if snd modules are loaded: No, good!
Yes, may cause bigger latency.
================================================================================
Keyboard & Mouse related data:
Number of mice: 1
Mouse 0 : ImPS/2 Generic Wheel Mouse
Mice attached to USB:
Keyboards attached to USB:
LinuxCNC related data:
LinuxCNC version is: 2.8.0~pre3.31.gb7c7ab5aa
================================================================================
Preparing for latency test:
Started glxgears No. 1
Started glxgears No. 2
Started glxgears No. 3
Started glxgears No. 4
Started glxgears No. 5
..........
Started firefox with 'vimeo.com/150574260'

================================================================================
Command for latency test is:
su aparecido -c "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee 1598626490.lat &"

Latency testing loop started sex ago 28 11:55:06 -03 2020,
should end after sex ago 28 13:55:06 -03 2020

Unexpected realtime delay on task 0 with period 25000
should end after sex ago 28 13:55:06 -03 2020

Swap useage: prerun: 0, running: 0

================================================================================
last latency data is as follows:.
12 secs base min: -24.800 uS max: 51.700 uS sdev: 2.000 uS
12 secs servo min: -22.300 uS max: 22.800 uS sdev: 7.500 uS

1598626490.lat
Note: Using POSIX realtime
Unexpected realtime delay on task 0 with period 25000
This Message will only display once per session.
Run the Latency Test and resolve before continuing.
0 secs base min: -24.700 uS max: 21.300 uS sdev: 2.200 uS
0 secs servo min: -15.500 uS max: 15.900 uS sdev: 7.600 uS
2 secs base min: -24.700 uS max: 23.000 uS sdev: 2.000 uS
2 secs servo min: -21.700 uS max: 18.600 uS sdev: 7.200 uS
3 secs base min: -24.700 uS max: 23.000 uS sdev: 2.000 uS
3 secs servo min: -21.700 uS max: 22.800 uS sdev: 7.200 uS
5 secs base min: -24.700 uS max: 23.000 uS sdev: 2.000 uS
5 secs servo min: -21.700 uS max: 22.800 uS sdev: 7.300 uS
6 secs base min: -24.700 uS max: 23.000 uS sdev: 2.000 uS
6 secs servo min: -22.300 uS max: 22.800 uS sdev: 7.400 uS
7 secs base min: -24.700 uS max: 23.000 uS sdev: 2.000 uS
7 secs servo min: -22.300 uS max: 22.800 uS sdev: 7.500 uS
9 secs base min: -24.800 uS max: 23.000 uS sdev: 2.000 uS
9 secs servo min: -22.300 uS max: 22.800 uS sdev: 7.400 uS
10 secs base min: -24.800 uS max: 23.000 uS sdev: 2.000 uS
10 secs servo min: -22.300 uS max: 22.800 uS sdev: 7.500 uS
12 secs base min: -24.800 uS max: 51.700 uS sdev: 2.000 uS
12 secs servo min: -22.300 uS max: 22.800 uS sdev: 7.500 uS


Updating some information, the motherboard is a little old, I managed to contact the manufacturer, he sent me the latest version of the BIOS, I updated and the Jitter dropped to a maximum of 25500ns.
However I spent a lot of time to update the BIOS, there had been no problem when I updated using AFUDOS, however it corrupted something during the update and did not save any more updates within the BIOS.
I tried to rewrite the BIOS (EEPROM MX25L4005) using Arduino UNO and nothing done, I tried using the USBASP and nothing done too, I only managed using a recorder mounted for parallel port, booting from a USB stick with Hiren's ISO, using the DOS prompt for make the recording.
With the BIOS recorded correctly, I turned off everything that was not necessary and did the latency test again, from approx 50000ns dropped to 25500ns.

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

More
02 Sep 2020 11:29 #180417 by seuchato
aparecido

Did you let the script run for just 12 seconds? I feel this is very much too short. If you get the infamous sporadic hickups, you will probably not see them at all. There is a reason, why I set the default running time to 2h.

No need to post the *.lat file. All relevant data is in the *.hw file.

Greez
chris
The following user(s) said Thank You: aparecido

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

More
02 Sep 2020 23:14 #180474 by aparecido

aparecido
Did you let the script run for just 12 seconds? I feel this is very much too short. If you get the infamous sporadic hickups, you will probably not see them at all. There is a reason, why I set the default running time to 2h.
No need to post the *.lat file. All relevant data is in the *.hw file.
Greez
chris


The script itself closed all windows and showed a message on the terminal saying it was finished.
I didn't just leave it for 12 seconds, it was a few minutes, a few, but it was a few minutes.
How should I proceed, since the script itself closes everything and displays a message that has been completed?
I did the test in the old way of opening several things at the same time, transferring the file from the pendrive to internal hd, for several minutes and the jitter was stabilized at almost the same value as the script test ...

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

More
03 Sep 2020 12:15 #180536 by JKAVS
Here is my result. I think it looks good but a confirmation from somebody with more expertise than me would be appreciated. :)
LinuxCNC pc tests, version 20200624, started 03.09.2020 13:09:17
********************************************************************************
General info:
Dell Inc.,  Precision WorkStation T3500  
Bios version A17, dated 05/28/2013
Chipset: Harddisk is rotational
The amount of swap currently used is 0
================================================================================
CPU related data:
model name	: Intel(R) Xeon(R) CPU           W3565  @ 3.20GHz
cpu cores	: 4
stepping	: 5
cache size	: 8192 KB
================================================================================
RAM related data:
Maximum Capacity: 24 GB
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
Size: No Module Installed
Size: No Module Installed
Size: No Module Installed
================================================================================
GPU related data:
product: GF106GL [Quadro 2000]
configuration: driver=nouveau latency=0
================================================================================
Os related data:
PRETTY_NAME="Linux Mint 20"
Desktop: , Session: 
================================================================================
Kernel related data:
Kernel 4.9.0-13-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Cpu idle driver: intel_idle
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, good!
Yes, may cause bigger latency.
Check if snd modules are loaded: snd_hda_codec_hdmi     49152  4
snd_hda_intel          40960  1
snd_hda_codec         135168  2 snd_hda_intel,snd_hda_codec_hdmi
snd_hda_core           90112  3 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi
snd_hwdep              16384  1 snd_hda_codec
snd_pcm               114688  4 snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              32768  2 snd_seq,snd_pcm
snd                    81920  11 snd_hda_intel,snd_hwdep,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_seq_device,snd_pcm
soundcore              16384  1 snd
Yes, may cause bigger latency.
================================================================================
Keyboard & Mouse related data:
Number of mice: 1
Mouse 0 : MOSART Semi. 2.4G Keyboard Mouse
Mice  attached to USB:
MosArt Semiconductor Corp. Wireless Keyboard/Mouse
Keyboards attached to USB:
MosArt Semiconductor Corp. Wireless Keyboard/Mouse
LinuxCNC related data:
LinuxCNC version is: 2.8.0.4.g4dc48a252
================================================================================
Preparing for latency test:
Started glxgears No. 1
Started glxgears No. 2
Started glxgears No. 3
Started glxgears No. 4
Started glxgears No. 5
..........
Started firefox with 'https://vimeo.com/150574260' 

================================================================================
Command for latency test is:
su cnc -c  "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee  1599127755.lat &"

Latency testing loop started Thu 03 Sep 2020 01:09:33 PM EEST, 
should end after Thu 03 Sep 2020 03:09:33 PM EEST

Swap useage: prerun: 0, running: 0

================================================================================
last latency data is as follows:.
 7200 secs   base min: -20.000 uS max:  20.300 uS sdev:   0.500 uS
 7200 secs  servo min: -21.100 uS max:  20.700 uS sdev:   0.800 uS

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

More
03 Sep 2020 12:55 #180540 by tommylight
That is really good for parallel and Mesa.

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

More
04 Sep 2020 14:06 #180681 by seuchato
[quote="aparecido" post=180474The script itself closed all windows and showed a message on the terminal saying it was finished.
I didn't just leave it for 12 seconds, it was a few minutes, a few, but it was a few minutes.
How should I proceed, since the script itself closes everything and displays a message that has been completed?
I did the test in the old way of opening several things at the same time, transferring the file from the pendrive to internal hd, for several minutes and the jitter was stabilized at almost the same value as the script test ...[/quote]

aparecido
I missed this exerpt of your output:
Unexpected realtime delay on task 0 with period 25000

You can/should increase from 25000 to at least 50000 or even 100000 and run the test again. you can also consider not using the parallel port and run without a basethread. "realtime delay" should not occur. if it happens while making some chips, the result could be difficult to predict and potentially dangerous. I guess tommylight would agree?

greez
chris

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

More
04 Sep 2020 14:12 #180684 by seuchato
Hi all

here is a result of a Fujitsu Esprimo D956/E85+
-b LinuxCNC pc tests, version 20200903pre, 
started 04.09.2020 13:18:26
********************************************************************************
General info:
FUJITSU,  ESPRIMO_D956
Bios version V5.0.0.11 R1.4.0 for D3432-A1x, dated 10/08/2015
Chipset: Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name      : Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
cpu cores       : 1
stepping        : 3
cache size      : 8192 KB
================================================================================
RAM related data:
Maximum Capacity: 64 GB
Maximum Voltage: Unknown
Maximum Voltage: Unknown
Maximum Voltage: Unknown
Maximum Voltage: Unknown
Size: No Module Installed
Size: 4096 MB
Size: No Module Installed
Size: 4096 MB
================================================================================
GPU related data:
product: HD Graphics 530
configuration: driver=i915 latency=0
================================================================================
Parallel port related data:
number of parallel ports is 1
parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE,EPP]
================================================================================
Os related data:
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
Desktop: KDE, Session: 
================================================================================
Kernel related data:
Kernel 4.9.0-12-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
Cpu idle driver: intel_idle
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, good!
Check if snd modules are loaded: No, good!
================================================================================
Keyboard & Mouse related data:
Number of mice: 2
Mouse 0 : USB-compliant keyboard
Mouse 1 : Logitech USB Receiver
Mice  attached to USB:
Logitech, Inc. Cordless Mouse Receiver
Keyboards attached to USB:
MosArt Semiconductor Corp. Defender Office Keyboard (K7310) S Zodiak KM-9010
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0.2740.gcb1425e5d
================================================================================
Preparing for latency test:
Started glxgears No. 1
Started glxgears No. 2
Started glxgears No. 3
Started glxgears No. 4
Started glxgears No. 5
..........
Started firefox with 'https://vimeo.com/150574260' 
================================================================================
Command for latency test is:
su ck -c  "latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1599218291.lat &"

Latency testing loop started Fr Sep  4 13:18:40 CEST 2020, 
should end after Fr Sep  4 15:18:40 CEST 2020

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 36.0°C, TMax: 70.0°C, (high = +84.0°C, crit = +100.0°C)
================================================================================
last latency data is as follows:.
 7202 secs  servo min:-450.800 uS max: 448.600 uS sdev:   7.300 uS
 7202 secs  servo min:-450.800 uS max: 448.600 uS sdev:   7.300 uS

I think this one needs further tweaking to get latency down. The bios is rich and I disabled everything I thought being useful. Need to play with the kernel parameters too.

Greez

chris

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

More
04 Sep 2020 16:11 #180699 by tommylight
I had two older Fujitsu Esprimo's that had much, much better latency with new kernels ! :)

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

More
05 Sep 2020 10:40 #180798 by seuchato
Hi all, Results for an IBM Thinkpad Z61p: not useable. Plus: the BIOS has been password locked. Can't change anything :-(
LinuxCNC pc tests, version 20200905, started 05.09.2020 12:31:59
********************************************************************************
General info:
LENOVO,  0674GEG
Bios version 7FETA9WW (2.27 ), dated 08/26/2009
Chipset: Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name	: Intel(R) Core(TM)2 CPU         T7200  @ 2.00GHz
cpu cores	: 2
stepping	: 6
cache size	: 4096 KB
================================================================================
RAM related data:
Maximum Memory Module Size: 2048 MB
Maximum Total Memory Size: 4096 MB
Maximum Capacity: 2 GB
Maximum Memory Module Size: 2048 MB
Maximum Total Memory Size: 4096 MB
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Installed Size: 2048 MB (Double-bank Connection)
Enabled Size: 2048 MB (Double-bank Connection)
Size: 2048 MB
Size: 2048 MB
================================================================================
GPU related data:
================================================================================
Parallel port related data:
number of parallel ports is 0
================================================================================
Os related data:
PRETTY_NAME="Linux Mint 19.3"
Desktop: MATE, Session: mate
================================================================================
Kernel related data:
Kernel 4.9.0-12-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=0 processor.max_cstate=1 idle=poll isolcpus=1"
Cpu idle driver: none
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, good!
Check if snd modules are loaded: Yes, may cause bigger latency.
================================================================================
Keyboard & Mouse related data:
Number of mice: 2
Mouse 0 : Logitech USB Receiver
Mouse 1 : TPPS/2 IBM TrackPoint
Mice  attached to USB:
Logitech, Inc. Cordless Mouse Receiver
Keyboards attached to USB:
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0.2747.gb86438619
================================================================================
Preparing for latency test:
Started glxgears No. 1
Started glxgears No. 2
Started glxgears No. 3
Started glxgears No. 4
Started glxgears No. 5
..........
Started firefox with 'https://vimeo.com/150574260' 
================================================================================
Command for latency test is:
su ck -c  "latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1599301911.lat &"

Latency testing loop started Sa Sep  5 12:32:17 CEST 2020, 
should end after Sa Sep  5 14:32:17 CEST 2020

Useless to proceed, read the relevant part in 1599301911.lat 
>>>Unexpected realtime delay on task 0 with period 1000000<<<

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 77.0°C, TMax: 88.0°C, (high = +100.0°C, crit = +100.0°C)
Core 1: Tmin: 77.0°C, TMax: 88.0°C, (high = +100.0°C, crit = +100.0°C)
================================================================================
last latency data is as follows:.
  128 secs  servo min:-878.500 uS max: 878.800 uS sdev:   3.700 uS
  129 secs  servo min:-878.500 uS max: 878.800 uS sdev:   3.700 uS

The lapy will be used in my workshop for browsing and music playing. It will not drive any cnc!

greez
chris
The following user(s) said Thank You: tommylight

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

More
07 Sep 2020 13:12 - 07 Sep 2020 13:14 #181151 by Himarc3D
Hi, guys.
Fanless Mini PCModel K4-I5-4200U from Aliexpress i received 4/9/2020, i tested Mint 19.2 and 20, Debian gave me better result.
LinuxCNC pc tests, version 20200624, started 07.09.2020 18:50:32
********************************************************************************
General info:
Intel,  H81U
Bios version 5.011, dated 07/31/2019
Chipset: Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name	: Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
cpu cores	: 2
stepping	: 1
cache size	: 3072 KB
================================================================================
RAM related data:
Maximum Capacity: 16 GB
Maximum Voltage: Unknown
Maximum Voltage: Unknown
Size: 8192 MB
Size: No Module Installed
================================================================================
GPU related data:
product: Haswell-ULT Integrated Graphics Controller
configuration: driver=i915 latency=0
================================================================================
Os related data:
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
Desktop: , Session: 
================================================================================
Kernel related data:
Kernel 4.19.0-10-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=0 processor.max_cstate=1 idle=poll isolcpus=1"
Cpu idle driver: none
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, good!
Yes, may cause bigger latency.
Check if snd modules are loaded: No, good!
Yes, may cause bigger latency.
================================================================================
Keyboard & Mouse related data:
Number of mice: 1
Mouse 0 : SteelSeries Sensei Raw Gaming Mouse
Mice  attached to USB:
Keyboards attached to USB:
Dell Computer Corp. Model L100 Keyboard
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0.2747.gb86438619
================================================================================
Preparing for latency test:
Started glxgears No. 1
Started glxgears No. 2
Started glxgears No. 3
Started glxgears No. 4
Started glxgears No. 5
..........
Started firefox with 'https://vimeo.com/150574260' 

================================================================================
Command for latency test is:
su gd100 -c  "latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee  1599472222.lat &"

Latency testing loop started Mon 07 Sep 2020 06:50:46 PM JST, 
should end after Mon 07 Sep 2020 08:50:46 PM JST

Swap useage: prerun: 0, running: 0

================================================================================
last latency data is as follows:.
 7204 secs  servo min: -60.300 uS max:  68.400 uS sdev:   7.900 uS
 7205 secs  servo min: -60.300 uS max:  68.400 uS sdev:   7.900 uS
Last edit: 07 Sep 2020 13:14 by Himarc3D.
The following user(s) said Thank You: seuchato, tommylight

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

Time to create page: 0.212 seconds
Powered by Kunena Forum