- Posts: 99
- Thank you received: 0
Results of latency test, list of computers tested for use with LinuxCNC
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 to join the conversation.
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
Please Log in to join the conversation.
seuchato wrote: 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 to join the conversation.
Please Log in to join the conversation.
- tommylight
-
Topic Author
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
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:
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 to join the conversation.
here is a result of a Fujitsu Esprimo D956/E85+
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 to join the conversation.
- tommylight
-
Topic Author
- Offline
- Administrator
-
- Posts: 22010
- Thank you received: 3
Please Log in to join the conversation.
The lapy will be used in my workshop for browsing and music playing. It will not drive any cnc!
greez
chris
Please Log in to join the conversation.
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.
Please Log in to join the conversation.
