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

More
5 years 11 months ago - 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)

File Attachment:

File Name: 1606408155.zip
File Size:7.01 KB
Last edit: 5 years 11 months ago by rootboy.

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

More
5 years 11 months ago #190366 by Bari

Please Log in or Create an account 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 or Create an account 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


File Attachment:

File Name: 1606442479.zip
File Size:34.53 KB
The following user(s) said Thank You: seuchato, tommylight

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

More
5 years 11 months ago #190417 by tommylight

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

Time to create page: 0.180 seconds
Powered by Kunena Forum