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

More
06 Apr 2021 22:43 #205204 by andypugh
That is pretty impressively terrible.
Compare it to this:



Which is what I get with a VM on my Mac!
Attachments:
The following user(s) said Thank You: seuchato

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

More
25 Apr 2021 09:49 - 25 Apr 2021 09:51 #206998 by Joco
Short cross post on results for HP T610 Thin Client.
LinuxCNC pc tests, version 20200930, started 25.04.2021 10:43:21
********************************************************************************
General info:
Hewlett-Packard,  HP t610 WW Thin Client
Bios version K30 v01.10, dated 10/26/2012
Chipset: Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name	: AMD G-T56N Processor
cpu cores	: 2
stepping	: 0
cache size	: 512 KB
================================================================================
RAM related data:
Maximum Capacity: 8 GB
Size: 2048 MB
Size: 2048 MB
================================================================================
GPU related data:
product: Wrestler [Radeon HD 6320]
configuration: driver=radeon 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.0-16-rt-amd64
BOOT_IMAGE=/boot/vmlinuz-4.19.0-16-rt-amd64 root=UUID=4940ea09-ddf8-4575-9fb5-d7823eabf836 ro intel_idle.max_cstate=0 processor.max_cstate=0 isolcpus=1 noirqbalance
Cpu idle driver: none
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, which is good!
Check if snd modules are loaded: No, which is good!
================================================================================
Keyboard & Mouse related data:
Number of mice: 1
Mouse 0 : Logitech K400
Mice  attached to USB:
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0.3844.g2e75b091a
================================================================================
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 james -c  "taskset 0x02 latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1619304154-nopoll-k4-19.lat &"

Latency testing loop started Sun Apr 25 10:43:45 NZST 2021, 
should end after Sun Apr 25 12:43:45 NZST 2021

================================================================================
Swap useage: prerun: 0, running: 0

================================================================================

last latency data is as follows:.

 7203 s  servo min: -34.300 us max:  34.800 us sdev:   1.100 us
 7204 s  servo min: -34.300 us max:  34.800 us sdev:   1.100 us
 7205 s  servo min: -34.300 us max:  34.800 us sdev:   1.100 us

Also did a stability/performacne test on the ethernet connection by running a looped version of axis.ngc against a connected 7i76e for 3 hrs. So signals being sent to the mesa card for a solid 3 hrs. No dropped packets and tmax per below. Core speed is 1650MHz :


Refer to this post on setup details for HP T610
Attachments:
Last edit: 25 Apr 2021 09:51 by Joco.
The following user(s) said Thank You: tommylight

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

More
05 May 2021 08:26 - 05 May 2021 08:28 #207941 by Joco
Acer Aspire 5740 Laptop

Test run with some key aspects setup.
1. BIOS has very limited adjustment options so had to take matters into own hands. Also noht boot param did not seem to have any impact with this RT kernel.

2. Script to "unplug" the virtual threads leaving a single thread on each physical core

3. CPU hog running on Core 2 with that core isolated

4. Lcnc latency task running on Core 2 with other tasks (firefox etc) on Core 1

5. On board wifi off and using the onboard NIC with no tuning at this stage

6. Sound modules all blacklisted

Summary result shows that on the face of it with a little tuning this wee machine could have a life running Ethernet mesa gear.
3600 s  servo min: -44.400 us max:  44.300 us sdev:   5.000 us
LinuxCNC pc tests, version 20200930, started 05.05.2021 18:56:59
********************************************************************************
General info:
Acer           ,  Aspire 5740                    
Bios version V1.28, dated 08/12/2010
Chipset: Intel Corporation 5 Series/3400 Series 
Harddisk is rotational
The amount of swap currently used is 0
================================================================================
CPU related data:
model name	: Intel(R) Core(TM) i3 CPU       M 330  @ 2.13GHz
cpu cores	: 2
stepping	: 2
cache size	: 3072 KB
================================================================================
RAM related data:
Maximum Capacity: 16 GB
Size: 2048 MB
Size: 2048 MB
Size: No Module Installed
Size: No Module Installed
================================================================================
GPU related data:
product: Park [Mobility Radeon HD 5430/5450/5470]
configuration: driver=radeon 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.0-16-rt-amd64
BOOT_IMAGE=/boot/vmlinuz-4.19.0-16-rt-amd64 root=UUID=a64fe372-f54e-4239-93e4-fd10dc0959cc ro intel_idle.max_cstate=0 processor.max_cstate=0 isolcpus=1 noirqbalance noht
Cpu idle driver: none
================================================================================
Kernel modules data:
Check if pcspkr is loaded: No, which is good!
Check if snd modules are loaded: No, which is good!
================================================================================
Keyboard & Mouse related data:
Number of mice: 2
Mouse 0 : SynPS/2 Synaptics TouchPad
Mouse 1 : Logitech USB Receiver
Mice  attached to USB:
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.9.0~pre0.3864.g922749755
================================================================================
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 james -c  "taskset 0x02 latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1620197793.lat &"

Latency testing loop started Wed May  5 18:57:17 NZST 2021, 
should end after Wed May  5 19:57:17 NZST 2021

================================================================================
Swap useage: prerun: 0, running: 0

================================================================================
CPU core temperatures:
Core 0: Tmin: 59.0°C, Tmax: 77.0°C, (high = +80.0°C, crit = +90.0°C)
Core 2: Tmin: 66.0°C, Tmax: 80.0°C, (high = +80.0°C, crit = +90.0°C)
================================================================================
last latency data is as follows:.

 3600 s  servo min: -44.400 us max:  44.300 us sdev:   5.000 us
 3600 s  servo min: -44.400 us max:  44.300 us sdev:   5.000 us
 3601 s  servo min: -44.400 us max:  44.300 us sdev:   5.000 us

scripts used to effectively stop and start hyper threading on this machine.
Command to see the cpu topology and determine what virtual cpus to unplug.
grep -H . /sys/devices/system/cpu/cpu*/topology/thread_siblings_list | sort -n -t ',' -k 2 -u

Topology of machine with HT on. The first number (0,1) is the physical core and the second number (2,3) is the HT virtual "core" or cpu.
/sys/devices/system/cpu/cpu0/topology/thread_siblings_list:0,2
/sys/devices/system/cpu/cpu1/topology/thread_siblings_list:1,3

And topology after unplugging two of the virtual cores, effectively turning off hyper threading:
/sys/devices/system/cpu/cpu0/topology/thread_siblings_list:0
/sys/devices/system/cpu/cpu1/topology/thread_siblings_list:1


Script to unplug a list of cpus
#!/bin/bash
# stop-ht.sh

for i in {2..3}; do
    echo "Disabling logical HT core $i."
    echo 0 > /sys/devices/system/cpu/cpu${i}/online;
done

Script to replug the unplugged cpus:
#!/bin/bash
# start-ht.sh

for i in {2..3}; do
    echo "Enabling logical HT core $i."
    echo 1 > /sys/devices/system/cpu/cpu${i}/online;
done

Hopefully of use. Cheers - J.
Last edit: 05 May 2021 08:28 by Joco.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.139 seconds
Powered by Kunena Forum