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

More
5 years 10 months ago #191481 by clifo
Code:
LinuxCNC pc tests, version 20200930, started 09.12.2020 06:59:30 ******************************************************************************** General info: , Bios version , dated Chipset: Harddisk is non-rotational, ie. SSD The amount of swap currently used is 0 ================================================================================ CPU related data: model name : Intel(R) Celeron(R) CPU J3455 @ 1.50GHz cpu cores : 4 stepping : 9 cache size : 1024 KB ================================================================================ RAM related data: ================================================================================ GPU related data: product: Intel Corporation product: Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] configuration: driver=i915 latency=0 configuration: driver=radeon latency=0 ================================================================================ Parallel port related data: number of parallel ports is 1 parport0: PC-style at 0x378, irq 5 [PCSPP,TRISTATE] ================================================================================ Os and desktop related data: PRETTY_NAME="Debian GNU/Linux 10 (buster)" 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 : xfce4 Windowmanager : Xfwm4 Displaymanager : lightdm ================================================================================ Kernel related data: Kernel 4.19.152-rtai-amd64 GRUB_CMDLINE_LINUX_DEFAULT="quiet isolcpus=2,3 idle=poll acpi_irq_nobalance noirqbalance lapic intel_idle.maxcstate=0 processor.max_cstate=0 ipv6.disable=1 pci=routeirq " Cpu idle driver: ================================================================================ 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 : ImExPS/2 Generic Explorer Mouse Mice attached to USB: Keyboards attached to USB: ================================================================================ LinuxCNC related data: LinuxCNC version is: ================================================================================ Preparing for latency test: Started glxgears No. 1, 2, 3, 4, 5 .......... Started firefox with 'https://vimeo.com/150574260', WID 44040195 ================================================================================ Latency testing loop started St dec 9 06:59:47 CET 2020, Command for latency test is: su clifo -c "latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a 1607493569.lat &" should end after St dec 9 08:59:47 CET 2020 ================================================================================ Swap useage: prerun: 0, running: 0 ================================================================================ CPU core temperatures: Core 0: Tmin: 36.0°C, Tmax: 42.0°C, (high = +105.0°C, crit = +105.0°C) Core 1: Tmin: 36.0°C, Tmax: 42.0°C, (high = +105.0°C, crit = +105.0°C) Core 2: Tmin: 33.0°C, Tmax: 39.0°C, (high = +105.0°C, crit = +105.0°C) Core 3: Tmin: 33.0°C, Tmax: 39.0°C, (high = +105.0°C, crit = +105.0°C) ================================================================================ last latency data is as follows:. 7204 secs base min: -4.700 uS max: 4.600 uS sdev: 0.100 uS 7204 secs servo min: -3.700 uS max: 3.800 uS sdev: 0.100 uS
The following user(s) said Thank You: seuchato

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

More
5 years 10 months ago #193142 by faeluke
LinuxCNC pc tests, version 20200930, started 24.12.2020 10:50:50
********************************************************************************
General info:
Hewlett-Packard, HP Compaq Pro 6300 SFF
Bios version K01 v02.90, dated 07/16/2013
Chipset: Intel Corporation 7 Series/C216
Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name : Intel(R) Core(TM) i7-3770 CPU @ 3.40GHz
cpu cores : 1
stepping : 9
cache size : 8192 KB
================================================================================
RAM related data:
Maximum Capacity: 32 GB
Size: 4096 MB
Size: 4096 MB
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
forum.linuxcnc.org/18-computer/39370-scr...-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 : USB OPTICAL MOUSE
Mice attached to USB:
Keyboards attached to USB:
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.1.13.ga22256354
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with ' vimeo.com/150574260 ', WID 69206019
================================================================================
Command for latency test is:
su luke -c "latency-histogram --nobase --base 25000 --sbinsize 1000 --nox 2>&1 | tee -a HP6300-2020-12-24.lat &"

Latency testing loop started Thu 24 Dec 2020 10:51:05 AM EST,
should end after Thu 24 Dec 2020 12:51:05 PM EST

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 35.0°C, Tmax: 42.0°C, (high = +85.0°C, crit = +105.0°C)
================================================================================
last latency data is as follows:.
7200 secs servo min: -37.300 uS max: 24.500 uS sdev: 2.200 uS
7201 secs servo min: -37.300 uS max: 24.500 uS sdev: 2.200 uS

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

More
5 years 10 months ago #193176 by seuchato

faeluke wrote: ...
================================================================================
last latency data is as follows:.
7200 secs servo min: -37.300 uS max: 24.500 uS sdev: 2.200 uS
7201 secs servo min: -37.300 uS max: 24.500 uS sdev: 2.200 uS


I >think< the 6300 is very similar to the 8300 I tested a couple of months ago. while theser results are good, you might get even better results. Thus, for an inspirations, you could try the cmdline options I did here . First, I'd look into the bios. Kindly aloso state, what options you altered.
greez
chris

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

More
5 years 10 months ago - 5 years 10 months ago #193182 by faeluke

I >think< the 6300 is very similar to the 8300 I tested a couple of months ago.

Yes, I read through the posts on machines and was about to pull the trigger on an 8300 when Amazon informed me that the machine would come after Christmas. The HP6300 came up in the same search results. I opted for the I7, although I am not sure if it will make difference with everything turned off in the BIOS.

while these results are good, you might get even better results.

I am a noob, so getting this all up and running with Mint on a new PC and posting the results was for me, a Christmas miracle.
I had set multiprocessor -> disabled in the BIOS, Is this the same as running with Isolcpus?

On your machine, BIOS 2.99 appears to have the best numbers. I will update to 2.99 and try that out.

I will also take at modifying the Grub command line to see if I can improve the results further.

Kindly also state, what options you altered.

Are you asking me to post the BIOS settings up to this point or to post the additional changes once I complete additional testing?
Last edit: 5 years 10 months ago by faeluke.
The following user(s) said Thank You: tommylight

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

More
5 years 10 months ago #193221 by seuchato

faeluke wrote: ...I opted for the I7, although I am not sure if it will make difference with everything turned off in the BIOS.

i7s usually have more cache (i7 3770: 8MB, i5 3570: 6 MB), which should/could result in better latency. So, it was a wise decision to take an i7.

... so getting this all up and running with Mint on a new PC and posting the results was for me, a Christmas miracle.

So: congrats! And if you ever were, you are certainly no noob anymore :-)

...I had set multiprocessor -> disabled in the BIOS, Is this the same as running with Isolcpus?

In Bios, the most important part is to disable evrything that smells like power saving and hyperthreading.

On your machine, BIOS 2.99 appears to have the best numbers. I will update to 2.99 and try that out.

I will also take at modifying the Grub command line to see if I can improve the results further.

while playing with bios version, note: hp says you cannot roll back to an earlier version. Usually because ther seemingly are "security" reasons. Isolcpus does disable cpus, but lets you chose which ones. If you read more, you will see posts where someone got best results isolating the lower cpus and others with isolation the upper cpus. Therefore, I prefore leaving multi core on and use isolcpus. There are machines out there, where isolcpus is of zero effect.

Kindly also state, what options you altered.

Are you asking me to post the BIOS settings up to this point or to post the additional changes once I complete additional testing?

I tried to get a clearcut overview here . That's for a dell optoplex 980 though, but I hope, it is inspiring enough to at least serve as a hint for other pcs.

Greez
chris
The following user(s) said Thank You: faeluke

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

More
5 years 10 months ago #193222 by seuchato

tommylight wrote: Set the base period higher than the latency result shows, at least 20 to 30% higher.


Tommy
I will add a hint stating exactly that when a basethread is being used.
greez
chris
The following user(s) said Thank You: tommylight

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

Time to create page: 0.275 seconds
Powered by Kunena Forum