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

More
6 years 2 months ago #179868 by tommylight
You had a spike of 51000ns at the end when the script exited, but try to use 5000ns and when running LinuxCNC check if you get latency errors.
The following user(s) said Thank You: aparecido

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

More
6 years 2 months ago #179870 by aparecido

tommylight wrote: You had a spike of 51000ns at the end when the script exited, but try to use 5000ns and when running LinuxCNC check if you get latency errors.

50000ns on the jitter in the configuration, right?

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

More
More
6 years 2 months ago #179989 by JohnnyCNC
These are my results using Mint 20 with Mate desktop. Without isolcpus or with isolcpus=0 the latency goes way up. I am using this with a Mesa 6i25+7i76
Code:
LinuxCNC pc tests, version 20200624, started 28.08.2020 20:38:32 ******************************************************************************** General info: ECS, BAT-I Bios version 5.6.5, dated 01/18/2016 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 J1800 @ 2.41GHz cpu cores : 2 stepping : 8 cache size : 1024 KB ================================================================================ RAM related data: Maximum Capacity: 8 GB Maximum Voltage: 1.5 V Size: 8192 MB ================================================================================ GPU related data: product: Atom Processor Z36xxx/Z37xxx Series Graphics & Display configuration: driver=i915 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 isolcpus=1 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: No, good! Yes, may cause bigger latency. ================================================================================ Keyboard & Mouse related data: Number of mice: 1 Mouse 0 : Logitech M215 2nd Gen Mice attached to USB: Keyboards attached to USB: LinuxCNC related data: LinuxCNC version is: 2.8.0~pre3.50.g2fe8ba3c9 ================================================================================ 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 glxgears No. 6 .......... Started firefox with 'https://vimeo.com/150574260' ================================================================================ Command for latency test is: su john -c "latency-histogram --nobase --sbinsize 1000 --nox 2>&1 | tee 1598661497.lat &" Latency testing loop started Fri 28 Aug 2020 08:38:57 PM EDT, should end after Fri 28 Aug 2020 10:38:57 PM EDT Swap useage: prerun: 0, running: 0 ================================================================================ last latency data is as follows:. 7201 secs servo min: -57.700 uS max: 64.300 uS sdev: 6.200 uS 7202 secs servo min: -57.700 uS max: 64.300 uS sdev: 6.200 uS
The following user(s) said Thank You: seuchato, tommylight

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

More
6 years 1 month ago #180390 by aparecido

aparecido wrote: 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
6 years 1 month ago #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.

Time to create page: 0.496 seconds
Powered by Kunena Forum