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

More
6 years 1 month ago #180474 by aparecido

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 or Create an account to join the conversation.

More
6 years 1 month ago #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. :)
Code:
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
6 years 1 month ago #180540 by tommylight
That is really good for parallel and Mesa.

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

More
6 years 1 month ago #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:
Code:
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
6 years 1 month ago #180684 by seuchato
Hi all

here is a result of a Fujitsu Esprimo D956/E85+
Code:
-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
6 years 1 month ago #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.

Time to create page: 0.089 seconds
Powered by Kunena Forum