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

More
5 years 11 months ago #189577 by tommylight

my1987toyota wrote: Now that looks usable.:)

Yes it does.
:)

Please Log in to join the conversation.

More
5 years 11 months ago #189623 by seuchato
my1987toyota
Yep, sure for servo and even for parallel stuff. I suggest, you run a full test, once the new script with Load and AMD Temp is finished. If, kindly add it to the very same post to keep related stuff together.
greez chris

Please Log in to join the conversation.

More
5 years 11 months ago #190354 by rootboy
I just set up a Dell Optiplex 7010 USFF Intel i5-3470S 2.90GHz 8GB DDR3 from eBay. Setup with Mint 20 using tommylight's instructions. The Mint/LinuxCNC install went flawlessly.

Doing a manual latency test I got:

Servo thread 8501 ns
Base thread ~11K ns

With plenty of abuse (Gimp, Blender, Firefox, glxgears x 5, package manager, LibreOffice Writer, LibreOffice Math, etc)

Currently it's 7630 and 12405. I think that I'm good.



Using the script, it ran but left out a few minor details (the latency results)
Code:
LinuxCNC pc tests, version 20200930, started 26.11.2020 10:29:59 ******************************************************************************** General info: Dell Inc., OptiPlex 7010 Bios version A23, dated 08/09/2016 Chipset: Intel Corporation 7 Series/C216 Harddisk is rotational The amount of swap currently used is 648 ================================================================================ CPU related data: model name : Intel(R) Core(TM) i5-3470S CPU @ 2.90GHz cpu cores : 4 stepping : 9 cache size : 6144 KB ================================================================================ RAM related data: Maximum Capacity: 16 GB Size: 4096 MB Size: 4096 MB ================================================================================ GPU related data: product: Xeon E3-1200 v2/3rd Gen Core processor 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 20" 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 : gnome Windowmanager : Metacity (Marco) Displaymanager : lightdm ================================================================================ 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, 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 : Logitech Wireless Mouse Mice attached to USB: Keyboards attached to USB: Logitech, Inc. Keyboard K120 ================================================================================ LinuxCNC related data: LinuxCNC version is: 2.8.0.124.g4501e6d67 ================================================================================ Preparing for latency test: Started glxgears No. 1, 2, 3, 4, 5 .......... Started firefox with 'https://vimeo.com/150574260', WID 69206211 ================================================================================ Command for latency test is: su johwaa -c "latency-histogram --nobase --sbinsize 1000 --nox 2>&1 | tee -a 1606408155.lat &" Latency testing loop started Thu 26 Nov 2020 10:30:14 AM CST, should end after Thu 26 Nov 2020 12:30:14 PM CST ================================================================================ Swap useage: prerun: 648, running: 772 ================================================================================ CPU core temperatures: Core 0: Tmin: 71.0°C, Tmax: 76.0°C, (high = +93.0°C, crit = +103.0°C) Core 1: Tmin: 70.0°C, Tmax: 74.0°C, (high = +93.0°C, crit = +103.0°C) Core 2: Tmin: 70.0°C, Tmax: 75.0°C, (high = +93.0°C, crit = +103.0°C) Core 3: Tmin: 69.0°C, Tmax: 73.0°C, (high = +93.0°C, crit = +103.0°C) ================================================================================ last latency data is as follows:.

And then it finished without divulging the results...


In my .lat file I got mostly just temperatures, but also what looks to be a load failure:
Code:
Core 0: +73.0°C (high = +93.0°C, crit = +103.0°C) Core 1: +73.0°C (high = +93.0°C, crit = +103.0°C) Core 2: +73.0°C (high = +93.0°C, crit = +103.0°C) Core 3: +70.0°C (high = +93.0°C, crit = +103.0°C) invalid command name "wm" while executing "wm withdraw ." (procedure "load_packages" line 4) invoked from within "load_packages" invoked from within "if ![info exists ::LH(start)] { set_defaults config progress "Loading packages" load_packages signal trap SIGINT finish progress "Making g..." (file "/usr/bin/latency-histogram" line 840)

(I trimmed down to just a snippet)

Attachment not found

Please Log in to join the conversation.

More
5 years 11 months ago #190357 by tommylight
Looking good on the latency, but i am baffled by the processor temperature, is the PC located in an oven? 73 degrees C seems to much for a PC that is doing light work.

Please Log in to join the conversation.

More
5 years 11 months ago #190366 by Bari

Please Log in to join the conversation.

More
5 years 11 months ago #190390 by rootboy
It's a USFF box, and yeah, it's pretty toasty. It's pretty clean on the inside, no appreciable gunk on the fans.

I initially put it down as small box = big heat, but I took a look in the BIOS to see what I could do with the fans on this thing (I just got it yesterday). It turns out that I could run them flat out if I wanted to. Works for me. :)

Now the idle temps are:

26C, 20C, 24C, and 29C with the PC as cool as a cucumber. Thanks for pointing it out! :)

Just for grins I'll run the script again and see how hot it gets.

Please Log in to join the conversation.

More
5 years 11 months ago #190397 by rootboy
Here's the second run with the fan blasting away.

Cutting to the chase, this appears to be the important parts:

CPU core temperatures:
Core 0: Tmin: 34.0°C, Tmax: 53.0°C, (high = +93.0°C, crit = +103.0°C)
Core 1: Tmin: 27.0°C, Tmax: 50.0°C, (high = +93.0°C, crit = +103.0°C)
Core 2: Tmin: 31.0°C, Tmax: 51.0°C, (high = +93.0°C, crit = +103.0°C)
Core 3: Tmin: 31.0°C, Tmax: 52.0°C, (high = +93.0°C, crit = +103.0°C)
================================================================================
last latency data is as follows:.
7202 secs servo min: -41.300 uS max: 41.500 uS sdev: 3.000 uS
7203 secs servo min: -41.300 uS max: 41.500 uS sdev: 3.000 uS


Attachment not found

Please Log in to join the conversation.

More
5 years 11 months ago #190417 by tommylight

Please Log in to join the conversation.

More
5 years 11 months ago #190567 by tommylight
New PC:
-MB Gigabyte Aorus Elite X570
-AMD Ryzen 5 3500X
-16GB (4X4GB)
-256GB NVME
-AMD RX480
-Noctua NH-D15
-Mesa 6i25
-Mint 20
-4.9.0-13-rt
Code:
LinuxCNC pc tests, version 20200930, started 29.11.2020 00:04:11 ******************************************************************************** General info: Gigabyte Technology Co., Ltd., X570 AORUS ELITE Bios version F11, dated 12/06/2019 Chipset: Harddisk is non-rotational, ie. SSD The amount of swap currently used is 0 ================================================================================ CPU related data: model name : AMD Ryzen 5 3500X 6-Core Processor cpu cores : 6 stepping : 0 cache size : 512 KB ================================================================================ RAM related data: Maximum Capacity: 128 GB Maximum Voltage: 1.2 V Maximum Voltage: 1.2 V Maximum Voltage: 1.2 V Maximum Voltage: 1.2 V Size: 4096 MB Non-Volatile Size: None Volatile Size: 4 GB Cache Size: None Logical Size: None Size: 4096 MB Non-Volatile Size: None Volatile Size: 4 GB Cache Size: None Logical Size: None Size: 4096 MB Non-Volatile Size: None Volatile Size: 4 GB Cache Size: None Logical Size: None Size: 4096 MB Non-Volatile Size: None Volatile Size: 4 GB Cache Size: None Logical Size: None ================================================================================ GPU related data: product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] configuration: driver=amdgpu latency=0 ================================================================================ Parallel port related data: number of parallel ports is 0 ================================================================================ Os and desktop related data: PRETTY_NAME="Linux Mint 20" 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 : gnome Windowmanager : Metacity (Marco) Displaymanager : lightdm ================================================================================ Kernel related data: Kernel 4.9.0-13-rt-amd64 GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" Cpu idle driver: acpi_idle ================================================================================ Kernel modules data: Check if pcspkr is loaded: [0;32mNo, which is good![0m Check if snd modules are loaded: [0;31mYes, may cause bigger latency.[0m 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 : Razer Razer DeathAdder Mice attached to USB: Razer USA, Ltd DeathAdder Mouse Keyboards attached to USB: Dell Computer Corp. Multimedia Pro Keyboard Dell Computer Corp. Multimedia Pro Keyboard Hub ================================================================================ LinuxCNC related data: LinuxCNC version is: 2.9.0~pre0.3030.g742c3e294 ================================================================================ Preparing for latency test: Started glxgears No. 1, 2, 3, 4, 5 .......... Started firefox with 'https://vimeo.com/150574260', WID 60819820 ================================================================================ Command for latency test is: su cnc -c "latency-histogram --nobase --sbinsize 1000 --nox 2>&1 | tee -a 1606604595.lat &" Latency testing loop started Sun 29 Nov 2020 12:04:24 AM CET, should end after Sun 29 Nov 2020 12:06:24 AM CET ================================================================================ Swap useage: prerun: 0, running: 0 ================================================================================ CPU core temperatures: 124 secs servo min: -17.600 uS max: 15.900 uS sdev: 1.600 uS 125 secs servo min: -17.600 uS max: 15.900 uS sdev: 1.600 uS

Please Log in to join the conversation.

More
5 years 10 months ago #190776 by seuchato
rootboy

I just went through a rough patch in my life. I will look into the troubles with the you report . Regarding temperatures: I'd renew the cooling paste in between CPU and cooler.

Greez
chris

Please Log in to join the conversation.

Time to create page: 0.197 seconds
Powered by Kunena Forum