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

  • tommylight
  • tommylight's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
More
28 Sep 2020 21:02 #184214 by tommylight

[    0.334838] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)

That is an Nvidia HDMI audio port so it can not be disabled as it is in the graphic card, but why it says Lenovo is beyond me.

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

  • BeagleBrainz
  • BeagleBrainz's Avatar
  • Visitor
  • Visitor
28 Sep 2020 21:45 #184220 by BeagleBrainz
The PCI-ID would be interesting to see.

I missed that before as it was early AM Down Under.

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

More
29 Sep 2020 12:37 #184283 by seuchato
Here are the results from a run on a Dell OptiPlex FX160. Imho not useable. The little thing felt sluggish too. Guess too old.
LinuxCNC pc tests, version 20200922, started 29.09.2020 12:19:14
********************************************************************************
General info:
Dell Inc.,  OptiPlex FX160               
Bios version A13, dated 01/19/2012
Chipset: Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name	: Intel(R) Atom(TM) CPU  330   @ 1.60GHz
cpu cores	: 2
stepping	: 2
cache size	: 512 KB
================================================================================
RAM related data:
Maximum Capacity: 4 GB
Size: 2048 MB
Size: 2048 MB
================================================================================
GPU related data:
product: 771/671 PCIE VGA Display Adapter
configuration: latency=0
================================================================================
Parallel port related data:
number of parallel ports is 0
================================================================================
Os related data:
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
Windowmanager = Xfwm4
================================================================================
Kernel related data:
Kernel 4.9.0-12-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: No, which is good!
================================================================================
Keyboard & Mouse related data:
Number of mice: 2
Mouse 0 : Logitech USB Receiver
Mouse 1 : Logitech USB Receiver
Mice  attached to USB:
Logitech, Inc. Cordless Mouse Receiver
Logitech, Inc. Cordless Mouse+Keyboard Receiver
Keyboards attached to USB:
Logitech, Inc. Cordless Mouse+Keyboard Receiver
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.0
================================================================================
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 ck -c  "latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1601374738.lat &"

Latency testing loop started Di Sep 29 12:19:46 CEST 2020, 
should end after Di Sep 29 14:19:46 CEST 2020

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 57.0°C, Tmax: 68.0°C, (crit = +125.0°C)
Core 1: Tmin: 59.0°C, Tmax: 69.0°C, (crit = +125.0°C)
================================================================================
last latency data is as follows:.
 7202 secs  servo min:-396.400 uS max: 400.800 uS sdev:  16.100 uS
 7203 secs  servo min:-396.400 uS max: 400.800 uS sdev:  16.100 uS

May serve in the kitchen as a music player :=)

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

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

  • tommylight
  • tommylight's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
More
29 Sep 2020 13:30 #184286 by tommylight

May serve in the kitchen as a music player :=)

Yup, that is about right, those Atoms were very underpowered when new.
The following user(s) said Thank You: seuchato

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

More
30 Sep 2020 09:06 - 02 Oct 2020 14:11 #184367 by seuchato
hi all
Here are the the test results of the same Lenovo W541, I guess reeeeelly Okay for a laptop. besides, kindly lookup this -ole- post. Statements imho still very much up to date.

1st test without a pci expresscard parport:
LinuxCNC pc tests, version 20200930, started 29.09.2020 21:43:31
********************************************************************************
General info:
LENOVO,  20EGS01900
Bios version GNET79WW (2.27 ), dated 03/16/2016
Chipset: Intel Corporation 8 Series/C220 Series 
Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name	: Intel(R) Core(TM) i7-4810MQ CPU @ 2.80GHz
cpu cores	: 4
stepping	: 3
cache size	: 6144 KB
================================================================================
RAM related data:
Maximum Capacity: 32 GB
Size: 8192 MB
Size: No Module Installed
Size: No Module Installed
Size: 8192 MB
================================================================================
GPU related data:
product: GK106GLM [Quadro K2100M]
product: 4th Gen Core Processor Integrated Graphics Controller
configuration: driver=nouveau latency=0
configuration: driver=i915 latency=0
================================================================================
Parallel port related data:
number of parallel ports is 0
================================================================================
Os related data:
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
Windowmanager = Xfwm4
================================================================================
Kernel related data:
Kernel 4.9.0-12-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: 3
Mouse 0 : SynPS/2 Synaptics TouchPad
Mouse 1 : TPPS/2 IBM TrackPoint
Mouse 2 : Logitech USB Receiver
Mice  attached to USB:
Keyboards attached to USB:
Holtek Semiconductor, Inc. Keyboard
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.0
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'https://vimeo.com/150574260', WID 27263329
================================================================================
Command for latency test is:
su ck -c  "latency-histogram --nobase  --sbinsize 1000 --nox 2>&1 | tee -a 1601408609.lat &"

Latency testing loop started Di Sep 29 21:43:45 CEST 2020, 
should end after Di Sep 29 23:43:45 CEST 2020

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 55.0°C, Tmax: 89.0°C, (high = +84.0°C, crit = +100.0°C)
Core 1: Tmin: 53.0°C, Tmax: 86.0°C, (high = +84.0°C, crit = +100.0°C)
Core 2: Tmin: 54.0°C, Tmax: 85.0°C, (high = +84.0°C, crit = +100.0°C)
Core 3: Tmin: 49.0°C, Tmax: 83.0°C, (high = +84.0°C, crit = +100.0°C)
================================================================================
last latency data is as follows:.
 7199 secs  servo min: -56.000 uS max:  54.500 uS sdev:   4.300 uS
 7200 secs  servo min: -56.000 uS max:  54.500 uS sdev:   4.300 uS

And below, with a pci expresscard added and pci express card slot activated in bios:
...
================================================================================
Parallel port related data:
number of parallel ports is 1
parport0: PC-style at 0x3000 (0x3008), irq 18 [PCSPP,TRISTATE,EPP]
================================================================================
...
grep -Ei "4\.19|4\.9|4\.14|secs" *.hw
1601429748.hw:Kernel 4.9.0-12-rt-amd64
1601429748.hw: 1815 secs   base min: -44.100 uS max:  54.500 uS sdev:   1.400 uS
1601429748.hw: 1815 secs  servo min: -43.400 uS max:  38.800 uS sdev:   2.300 uS
1601433289.hw:Kernel 4.14.174-rtai-amd64
1601433289.hw: 7202 secs   base min: -49.900 uS max:11963.200 uS sdev:  42.700 uS
1601433289.hw: 7202 secs  servo min:-999.900 uS max:11374.800 uS sdev:  10.900 uS

I think, this laptop is a viable candiate and the W541 appears in numbers now on second hand pauction platforms. Not cheap though and imho a bit a pitty to have them sitting in a dusty workshop.

greez
chris
Last edit: 02 Oct 2020 14:11 by seuchato. Reason: Corrected Model to W541

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

  • BeagleBrainz
  • BeagleBrainz's Avatar
  • Visitor
  • Visitor
30 Sep 2020 09:46 #184369 by BeagleBrainz
All well and good if you can find a true PP pci express card, some are nothing more than a USB to PP adapter. And you can get one at a decent price.

After looking at one would cost in Aus.....I know which way I'd jump ;)

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

More
01 Oct 2020 10:54 #184480 by seuchato
Regarding 4.14.174-rtai-amd64 kernel:
Dell Inc.,  OptiPlex 980                 
Windowmanager = Xfwm4
Kernel 4.14.174-rtai-amd64
 7204 secs   base min: -34.900 uS max:19005.400 uS sdev:  34.300 uS
 7204 secs  servo min:-1014.900 uS max:9272.000 uS sdev:  31.500 uS

Also on my 980 not good at all!

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

More
01 Oct 2020 17:50 - 19 Oct 2020 16:38 #184500 by seuchato
Hi all
Here are the results of a Dell 980 SFF with an i7 cpu: the very best results I ever got!
LinuxCNC pc tests, version 20200930, started 01.10.2020 17:42:30
********************************************************************************
General info:
Dell Inc.,  OptiPlex 980                 
Bios version A05, dated 11/03/2010
Chipset: Intel Corporation 5 Series/3400 Series 
Harddisk is non-rotational, ie. SSD
The amount of swap currently used is 0
================================================================================
CPU related data:
model name      : Intel(R) Core(TM) i7 CPU         870  @ 2.93GHz
cpu cores       : 4
stepping        : 5
cache size      : 8192 KB
================================================================================
RAM related data:
Maximum Capacity: 16 GB
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
Size: 2048 MB
================================================================================
GPU related data:
product: RV710 [Radeon HD 4550]
configuration: driver=radeon latency=0
================================================================================
Parallel port related data:
number of parallel ports is 1
parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE,EPP]
================================================================================
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 : kdeconnectd
Windowmanager       : KWin
Displaymanager      : sddm
================================================================================
Kernel related data:
Kernel 4.19.0-11-rt-amd64
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=3"
Cpu idle driver: intel_idle
================================================================================
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 MX Anywhere 2
Mice  attached to USB:
Keyboards attached to USB:
Dell Computer Corp. Dell QuietKey Keyboard
================================================================================
LinuxCNC related data:
LinuxCNC version is: 2.8.0
================================================================================
Preparing for latency test:
Started glxgears No. 1, 2, 3, 4, 5
..........
Started firefox with 'https://vimeo.com/150574260', WID 54526119
================================================================================
Command for latency test is:
su ck -c  "latency-histogram --bbinsize 1000 --base 50000 --sbinsize 1000 --nox 2>&1 | tee -a 1601566940.lat &"

Latency testing loop started Do Okt  1 17:42:45 CEST 2020, 
should end after Do Okt  1 19:42:45 CEST 2020

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 39.0°C, Tmax: 71.0°C, (high = +83.0°C, crit = +99.0°C)
Core 1: Tmin: 35.0°C, Tmax: 68.0°C, (high = +83.0°C, crit = +99.0°C)
Core 2: Tmin: 36.0°C, Tmax: 67.0°C, (high = +83.0°C, crit = +99.0°C)
Core 3: Tmin: 34.0°C, Tmax: 69.0°C, (high = +83.0°C, crit = +99.0°C)
================================================================================
last latency data is as follows:.
 7204 secs   base min: -16.100 uS max:  16.000 uS sdev:   3.200 uS
 7204 secs  servo min: -11.900 uS max:  11.700 uS sdev:   0.300 uS

However: watch out! The very combo of cpu and gpu seems to be important!
Edit 1) 02 Oct 2020: The bios version could also play a role. I will test that.
The exerpts of a prevous run with another gpu show that very clearly:
...
================================================================================
GPU related data:
product: RV620 LE [Radeon HD 3450]
configuration: driver=radeon latency=0
================================================================================
...
>>>Unexpected realtime delay on task 0 with period 50000<<<

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

================================================================================
CPU core temperatures:
Core 0: Tmin: 40.0°C, Tmax: 53.0°C, (high = +83.0°C, crit = +99.0°C)
Core 1: Tmin: 36.0°C, Tmax: 51.0°C, (high = +83.0°C, crit = +99.0°C)
Core 2: Tmin: 36.0°C, Tmax: 50.0°C, (high = +83.0°C, crit = +99.0°C)
Core 3: Tmin: 35.0°C, Tmax: 52.0°C, (high = +83.0°C, crit = +99.0°C)
================================================================================
last latency data is as follows:.
   52 secs   base min: -44.800 uS max:  45.800 uS sdev:   0.300 uS
   52 secs  servo min:  -3.500 uS max:   4.100 uS sdev:   0.100 uS

greez chris

2) 03 Oct 2020: results playing with isolcpus:
product: RV710 [Radeon HD 4550] (left here just for reference)
"latency-histogram --bbinsize 1000 --base 25000 --sbinsize 1000 --nox"
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=3"
 7204 secs   base min: -16.100 uS max:  16.000 uS sdev:   3.200 uS
 7204 secs  servo min: -11.900 uS max:  11.700 uS sdev:   0.300 uS

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=3"
 7202 secs   base min:  -7.100 uS max:  17.300 uS sdev:   2.500 uS
 7202 secs  servo min:  -8.500 uS max:   8.600 uS sdev:   0.100 uS

>this one looks very good:<
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=1,2,3"
 7200 secs  servo min:  -7.800 uS max:   7.900 uS sdev:   0.300 uS
 7201 secs   base min:  -7.100 uS max:  13.000 uS sdev:   1.200 uS

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=0"
   25 secs   base min: -20.800 uS max:  23.700 uS sdev:   1.500 uS
   25 secs  servo min: -17.800 uS max:  17.500 uS sdev:   1.700 uS

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=0,1"
   51 secs   base min: -24.500 uS max:  19.700 uS sdev:   2.400 uS
   51 secs  servo min: -23.100 uS max:  22.800 uS sdev:  10.300 uS

>this one looks very good, too:<
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=0,1,3"
 7203 secs   base min:  -7.100 uS max:  12.400 uS sdev:   1.400 uS
 7203 secs  servo min:  -8.000 uS max:   8.200 uS sdev:   0.200 uS

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=0,1,2"
   20 secs   base min: -21.400 uS max:  33.000 uS sdev:   2.100 uS
   20 secs  servo min: -16.000 uS max:  15.700 uS sdev:   2.100 uS

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=1,2,3"
 7202 secs   base min:  -7.100 uS max:  12.800 uS sdev:   1.500 uS
 7202 secs  servo min: -12.800 uS max:  12.500 uS sdev:   0.200 uS

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash isolcpus=2,3"
 7200 secs   base min:  -7.100 uS max:  17.900 uS sdev:   1.900 uS
 7200 secs  servo min: -10.600 uS max:  11.000 uS sdev:   0.200 uS

SO, by playing with isolcpus, I could get latency down to imho very suitable numbers with either isolcpus=0,1,3 or 1,2,3. In comparison to the run of 01 Oct 2020:
7204 secs   base min: -16.100 uS max:  16.000 uS sdev:   3.200 uS
 7204 secs  servo min: -11.900 uS max:  11.700 uS sdev:   0.300 uS
I get now
7203 secs   base min:  -7.100 uS max:  12.400 uS sdev:   1.400 uS
 7203 secs  servo min:  -8.000 uS max:   8.200 uS sdev:   0.200 uS
I am quite satisfied with that. I will later add the bios settings I used.

Greez
chris

Edit 19. Oct. 2020:

For BIOS settings, see this post here , at the bottom. Best BIOS version is A18.
Last edit: 19 Oct 2020 16:38 by seuchato. Reason: 1) 02 Oct 2020: hint on bios 2) 03 Oct 2020: results playing with isolcpus 3) 19. Oct. 2020, added link to BIOS Settings used

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

More
01 Oct 2020 19:02 #184505 by seuchato

Might be usable for ethernet Mesa cards, but that will also depend on the ethernet chip used.
I would say that it is usable, and bumping the servo period to 2000000 would further improve chances of usability without to much of a hit in performance.


Hope your op is going well!

is the following info enough to determine if an ethernet card is usable for mesa ethernet?
lspci | grep -i ether
00:19.0 Ethernet controller: Intel Corporation Ethernet Connection I217-V (rev 04)

Greez
Chris
The following user(s) said Thank You: tommylight

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

  • tommylight
  • tommylight's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
More
01 Oct 2020 22:11 #184515 by tommylight
I am good, my brother had his appendix removed, be is doing good so far. I was with him all the time so i could not do much here, sorry for that.
Chances are tomorrow evening i will have some time to set things here.
Thank you.
The following user(s) said Thank You: seuchato

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

Time to create page: 0.107 seconds
Powered by Kunena Forum