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

More
5 years 5 months ago #208650 by andypugh

Goulven wrote: I have a Mesa 7i76e card, I am monitoring the step / dir signals with an oscilloscope(I don't have any drivers yet). It seems correct.


If you have a 7i76 / 7i76E then you can stop worrying about latency, it could be 10x your worst case and still be fine.
The following user(s) said Thank You: Goulven

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

More
5 years 5 months ago - 5 years 5 months ago #210039 by degreaser
seuchato said: Edit: 19. Oct. 2020: Actual price for CPU, Ram, Mobo and cooler is at 300€. I do have a case and powersupply already, stuff should be here coming weekend.

Hi - So how did the B460MD3H with Gold G6400 CPU work out? It is good for software stepping? What latency values are you seeing?
Last edit: 5 years 5 months ago by degreaser. Reason: Provide context.

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

More
5 years 4 months ago - 5 years 4 months ago #211211 by my1987toyota
Dell Optiplex 9020 micro
8 gigs ram
crucial MX500 1 Tb ssd
no settings changed in Bios for this run.
hw. file
Code:
LinuxCNC pc tests, version 20200930, started 05.06.2021 06:53:13 ******************************************************************************** General info: Dell Inc., OptiPlex 9020M Bios version A14, dated 06/27/2017 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-4590T CPU @ 2.00GHz cpu cores : 4 stepping : 3 cache size : 6144 KB ================================================================================ RAM related data: Maximum Capacity: 16 GB Size: 4096 MB Size: 4096 MB ================================================================================ GPU related data: product: Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller configuration: driver=i915 latency=0 ================================================================================ Parallel port related data: number of parallel ports is 0 ================================================================================ Os and desktop related data: PRETTY_NAME="Linux Mint 19.3" 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 : lightdm Windowmanager : Xfwm4 Displaymanager : lightdm ================================================================================ Kernel related data: Kernel 4.19.106-rt46-lcnc GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" Cpu idle driver: intel_idle ================================================================================ Kernel modules data: Check if pcspkr is loaded: No, which is good! Check if snd modules are loaded: Yes, may cause bigger latency. can probably be disabled in bios, alternatively, you can run "./block-snd-modules" which has just now been created for your convenience. ================================================================================ Keyboard & Mouse related data: Number of mice: 1 Mouse 0 : PixArt USB Optical Mouse Mice attached to USB: Keyboards attached to USB: Dell Computer Corp. Keyboard ================================================================================ LinuxCNC related data: LinuxCNC version is: 2.8.0 ================================================================================ Preparing for latency test: Started glxgears No. 1, 2, 3, 4, 5 .......... Started firefox with 'https://vimeo.com/150574260', WID ================================================================================ Command for latency test is: su cnc002 -c "latency-histogram --nobase --sbinsize 1000 --nox 2>&1 | tee -a 1622890307.lat &" Latency testing loop started Sat Jun 5 06:53:26 EDT 2021, should end after Sat Jun 5 08:53:26 EDT 2021 ================================================================================ Swap useage: prerun: 0, running: 0 ================================================================================ CPU core temperatures: Core 0: Tmin: 34.0°C, Tmax: 62.0°C, (high = +69.0°C, crit = +75.0°C) Core 1: Tmin: 35.0°C, Tmax: 62.0°C, (high = +69.0°C, crit = +75.0°C) Core 2: Tmin: 35.0°C, Tmax: 63.0°C, (high = +69.0°C, crit = +75.0°C) Core 3: Tmin: 36.0°C, Tmax: 64.0°C, (high = +69.0°C, crit = +75.0°C) ================================================================================ last latency data is as follows:. 7201 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS 7202 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS

and last reading in lat. file
Code:
7197 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS 7198 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS 7198 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS 7199 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS 7200 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS 7200 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS 7201 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS 7202 secs servo min: -44.500 uS max: 42.000 uS sdev: 2.000 uS Core 0: +60.0°C (high = +69.0°C, crit = +75.0°C) Core 1: +61.0°C (high = +69.0°C, crit = +75.0°C) Core 2: +60.0°C (high = +69.0°C, crit = +75.0°C) Core 3: +61.0°C (high = +69.0°C, crit = +75.0°C)

I will get back into the bios and see about running the cooling fan flat out to see if it helps with cpu temps. If I can't change that
I will just have to mount an external server fan to the outside of the case . LOL
so far though I would say this is a keeper especially for a computer I can fit behind the monitor.
Last edit: 5 years 4 months ago by my1987toyota.
The following user(s) said Thank You: seuchato

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

More
5 years 4 months ago #211223 by tommylight
The following user(s) said Thank You: my1987toyota

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

More
5 years 4 months ago - 5 years 4 months ago #211401 by degreaser
Optiplex 980MT. At this point I'm chasing nanoseconds. This used a non-standard kernel, specifically the rt kernel from xanmod.org/ . The standard kernels are giving good but not quite as good results so far.

Also, I applied the irq remapping to cpu0 per this post: forum.linuxcnc.org/18-computer/25927-red...lticore-pc-s-success

That change cut the latencies in half.


Code:
LinuxCNC pc tests, version 20200930, started 06.06.2021 16:56:40 ******************************************************************************** General info: Dell Inc., OptiPlex 980 Bios version A18, dated 02/27/2018 Chipset: Intel Corporation 5 Series/3400 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 CPU 650 @ 3.20GHz cpu cores : 2 stepping : 5 cache size : 4096 KB ================================================================================ RAM related data: Maximum Capacity: 16 GB Size: 4096 MB Size: 4096 MB Size: No Module Installed Size: No Module Installed ================================================================================ GPU related data: product: Core Processor Integrated Graphics Controller configuration: driver=i915 latency=0 ================================================================================ Parallel port related data: number of parallel ports is 1 parport0: PC-style at 0x378 (0x778), irq 7, using FIFO [PCSPP,TRISTATE,COMPAT,EPP,ECP] ================================================================================ Os and desktop related data: PRETTY_NAME="Debian GNU/Linux 10 (buster)" 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-l atency Desktop environment : Windowmanager : e16 Displaymanager : lightdm ================================================================================ Kernel related data: Kernel 5.10.41-rt42-xanmod1 GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=1 mitigations=off intel_idle.max_cstate=0 pr ocessor.max_cstate=0 idle=poll acpi_irq_nobalance noirqbalance" Cpu idle driver: none ================================================================================ Kernel modules data: Check if pcspkr is loaded: Yes, may cause bigger latency. can be eliminated using: sudo echo "install pcspkr /bin/true" >/etc/modprobe.d/pcspkr.conf Check if snd modules are loaded: Yes, may cause bigger latency. can probably be disabled in bios, alternatively, you can run "./block-snd-modules" which has just now been created for your convenience. ================================================================================ Keyboard & Mouse related data: Number of mice: 3 Mouse 0 : Logitech USB Optical Mouse Mouse 1 : CHESEN PS2 to USB Converter Mouse Mouse 2 : CHESEN PS2 to USB Converter Mouse Mice attached to USB: Logitech, Inc. M105 Optical Mouse Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter Keyboards attached to USB: Chesen Electronics Corp. PS/2 Keyboard+Mouse Adapter ================================================================================ LinuxCNC related data: LinuxCNC version is: 2.8.1 ================================================================================ Preparing for latency test: Started glxgears No. 1, 2, 3, 4, 5 .......... Started firefox with 'https://vimeo.com/150574260', WID 14680112 ================================================================================ Command for latency test is: su cadusr -c "latency-histogram --bbinsize 1000 --base 100000 --sbinsize 1000 --nox 2> &1 | tee -a 1623023787.lat &" Latency testing loop started Sun 06 Jun 2021 04:56:54 PM PDT, should end after Sun 06 Jun 2021 06:56:54 PM PDT ================================================================================ Swap useage: prerun: 0, running: 0 ================================================================================ CPU core temperatures: Core 0: Tmin: 37.0°C, Tmax: 41.0°C, (high = +89.0°C, crit = +105.0°C) Core 2: Tmin: 39.0°C, Tmax: 42.0°C, (high = +89.0°C, crit = +105.0°C) ================================================================================ last latency data is as follows:. 7202 secs base min: -9.400 uS max: 9.300 uS sdev: 0.300 uS 7202 secs servo min: -6.900 uS max: 6.900 uS sdev: 0.400 uS
Last edit: 5 years 4 months ago by degreaser. Reason: typo
The following user(s) said Thank You: seuchato, tommylight

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

More
5 years 4 months ago - 5 years 4 months ago #212460 by JackW327
All I've done so far is disable the front panel USB ports. I shall disable the sound and see where that takes us ... I have a Mesa 7i95 BTW, so, I'm not too worried. Would like to get it a bit lower.

Code:
LinuxCNC pc tests, version 20200930, started 20.06.2021 02:30:43 ******************************************************************************** General info: Dell Inc., OptiPlex 790 Bios version A11, dated 12/30/2011 Chipset: Intel Corporation 6 Series/C200 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-2400 CPU @ 3.10GHz cpu cores : 4 stepping : 7 cache size : 6144 KB ================================================================================ RAM related data: Maximum Capacity: 32 GB Size: 4096 MB Size: 4096 MB Size: 4096 MB Size: 4096 MB ================================================================================ GPU related data: product: 2nd Generation Core Processor Family Integrated Graphics Controller configuration: driver=i915 latency=0 ================================================================================ Parallel port related data: number of parallel ports is 0 ================================================================================ Os and desktop related data: PRETTY_NAME="Debian GNU/Linux 10 (buster)" 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 : xfce4 Windowmanager : Xfwm4 Displaymanager : lightdm ================================================================================ Kernel related data: Kernel 4.19.0-11-rt-amd64 Cpu idle driver: intel_idle ================================================================================ Kernel modules data: Check if pcspkr is loaded: Yes, may cause bigger latency. can be eliminated using: sudo echo "install pcspkr /bin/true" >/etc/modprobe.d/pcspkr.conf Check if snd modules are loaded: Yes, may cause bigger latency. can probably be disabled in bios, alternatively, you can run "./block-snd-modules" which has just now been created for your convenience. ================================================================================ Keyboard & Mouse related data: Number of mice: 1 Mouse 0 : Logitech M705 Mice attached to USB: Keyboards attached to USB: ================================================================================ LinuxCNC related data: LinuxCNC version is: 2.8.1 ================================================================================ Preparing for latency test: Started glxgears No. 1, 2, 3, 4, 5 .......... Started firefox with 'https://vimeo.com/150574260', WID 33554794 ================================================================================ Command for latency test is: su user -c "latency-histogram --nobase --sbinsize 1000 --nox 2>&1 | tee -a 1624156216.lat &" Latency testing loop started Sun 20 Jun 2021 02:30:58 AM UTC, should end after Sun 20 Jun 2021 04:30:58 AM UTC ================================================================================ Swap useage: prerun: 0, running: 0 ================================================================================ CPU core temperatures: Core 0: Tmin: 35.0°C, Tmax: 70.0°C, (high = +80.0°C, crit = +99.0°C) Core 1: Tmin: 37.0°C, Tmax: 73.0°C, (high = +80.0°C, crit = +99.0°C) Core 2: Tmin: 35.0°C, Tmax: 71.0°C, (high = +80.0°C, crit = +99.0°C) Core 3: Tmin: 34.0°C, Tmax: 71.0°C, (high = +80.0°C, crit = +99.0°C) ================================================================================ last latency data is as follows:. 7204 secs servo min: -71.000 uS max: 83.600 uS sdev: 3.400 uS 7205 secs servo min: -71.000 uS max: 83.600 uS sdev: 3.400 uS
Last edit: 5 years 4 months ago by JackW327. Reason: add code tags
The following user(s) said Thank You: seuchato

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

Time to create page: 0.390 seconds
Powered by Kunena Forum