Been doing some more tests with two key variables been altered.
(1) I removed idle=poll from tbe grub boot params. While idle=poll can give some good improvements it also ups the heat on the chip. Given this T610 does not have a parallel port there is no value in trying to cook it to get super low latency numbers. Now if you had a T610-plus that does have a printer/parallel port then it might be worth it.
(2) keeping isolcpus=1 in place as that makes a big difference on latency but using taskset to shift the affinty of the RT tasks to the cpu core that has been isolated.
I have attached the results files to show these two runs. Both 1 hour each using the test script but modified to use taskset to drive cpu affinity of the RT processes at startup.
Summary info below but from what I can see for ethernet mesa card use this looks to be very promising under either approach with the usage of both cores giving better overall responsiveness at the expense of some latency.
The next BIG test will be the network side of things. Key will be the ability to maintain a solid network connection to an ethernet card. As soon as my 24v PSU arrives I will hook up a 7i76e and run some gcode that will drive activity across the ethernet link over an extended period of time. If there is a standard gcode test that can be used for this please let me know. Always good to be using common tests if possible.
All process on core 1:
Code:
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
Kernel 4.19.0-16-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=0 processor.max_cstate=1 isolcpus=1"
Command for latency test is:
su james -c "taskset 0x01 latency-histogram --nobase --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 1618708669.lat &"
Code:
3602 s servo min: -10.700 us max: 12.100 us sdev: 1.900 us
3602 s servo min: -10.700 us max: 12.100 us sdev: 1.900 us
3603 s servo min: -10.700 us max: 12.100 us sdev: 1.900 us
RT process on core 2, all other process on core 1:
Code:
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
Kernel related data:
Kernel 4.19.0-16-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="intel_idle.max_cstate=0 processor.max_cstate=1 isolcpus=1"
Command for latency test is:
su james -c "taskset 0x02 latency-histogram --nobase --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 1618714070.lat &"
Code:
3599 s servo min: -30.000 us max: 32.200 us sdev: 2.500 us
3600 s servo min: -30.000 us max: 32.200 us sdev: 2.500 us
3601 s servo min: -30.000 us max: 32.200 us sdev: 2.500 us