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)