Hardware latency tests, used PC's

More
13 Apr 2020 16:39 - 07 Jun 2020 16:40 #163883 by tommylight
Did a lot of testing today on a lot of PC's and a laptops regarding latency, so here are the results, have to do this as one post per computer due to attached pictures.
Prerequisite: Everything not needed for Linuxcnc is disabled in bios, including serial ports, any type of power saving, speedstep, C states, modems, virtual everything, fan control, suspend to anything, turbo, etc. ACPI is left untouched and multicore support is active as can be seen on screenshots, no isol_cpus used. Information about the processors used can be seen on the screen shots.
I will update this topic as i get my hands on more PC's.
This info is provided "as is" and as such i hold no responsibility implicit or otherwise for the results. Your results may wary, mostly due to not disabling something mentioned above in BIOS, failing HDD or controller, failing RAM modules or memory controller, overheating or failing processor fan, etc.
-
-
Command to use for latency testing in terminal:
latency-histogram --nobase --sbinsize 1000 --show
For base and servo thread:
latency-histogram --bbinsize 1000 --sbinsize 1000 --show
-
-
NOT usable Laptops and PC's due to very bad latency issues:
Bellow list is for laptops or PC's that are not usable for controlling a machine at all, no amount of disabling or tweaking will help as they have very aggressive power saving options that can not be disabled.
Dell Latitude E6400, E6510
Lenovo X220, T420S
-
-
Tested Equipment and results:
Lenovo R61e:

This is with only 1Gb of RAM, Linux Mint 19.3 XCFE, kernel 4.16.12-rt5-kona-rt, single core processor at 2GHz.
Using 4.9.47-rt37-kona-rt kernel the latency is much better, and can run Linuxcnc through ethernet connected to a 7i92 for 2 days without latency issues.
Overall, a usable laptop for machine control, especially with more memory. No battery so no info if removing the power would cause latency errors.
Edit:
Using this laptop for several weeks now, no issues so far, it works nicely and does not cause latency spikes even under load.
Attachments:
Last edit: 07 Jun 2020 16:40 by tommylight. Reason: More info
The following user(s) said Thank You: BeagleBrainz, hoffb77

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

More
13 Apr 2020 16:50 #163885 by tommylight
DELL Optiplex 780 SFF :
2GB of RAM, onboard parallel port
Kernel 3.4-9-RTAI-pae, Linux Debian Wheezy


Kernel RT-Preempt, see screenshot, Linux Mint 19.2 Mate edition,



Overall not good when under load, with no load it can be used for software stepping, base thread at 100.000, but with limited step rate. Good for hobby machines, not for industrial ones.
Kernel RTAI, new versions of RTAI kernel fail as can be seen on the screen shots, Linuxcnc does not work. Resolution at 1600X1200, should be 1920X1200.
Attachments:

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

More
13 Apr 2020 16:59 - 07 Jun 2020 16:26 #163887 by tommylight
HP 8000 SFF
Parallel port on a header, usually included, 4GB RAM
RT-Preempt



RTAI, new, does not work, Linuxcnc does not start. Resolution at 1024X768, should be 1280X1024


Debian Wheezy with RTAI:


Very usable for Mesa PCI or PCI-E and ETH, also usable for software stepping with parallel port at higher base thread at the cost of step rate, can do latency errors if under load.
Edit:
Used for several days with Mesa 6i25, no issues at all.
Attachments:
Last edit: 07 Jun 2020 16:26 by tommylight. Reason: More info

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

More
13 Apr 2020 17:14 - 13 Apr 2020 17:23 #163889 by tommylight
Mainboard ASUS H61M-K, 4GB RAM, no parallel port or header:
RT-Preempt



RTAI


Board works very well, been mining non-stop for over 2 years without issues. Resolution with RTAI kernel is at 1920X1200 as it should be.
Attachments:
Last edit: 13 Apr 2020 17:23 by tommylight. Reason: More info

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

More
13 Apr 2020 17:21 - 06 Jun 2020 10:36 #163890 by tommylight
ASROCK H61M-DGS
2GB RAM, very picky on type of RAM, parallel port on header.
RT-Preempt



RTAI sluggish and unusable under load with only 2GB RAM, since it does not work with two other types of RAM that i have, not latency test could be properly finished. Overall it is a bit lower that RT-Preempt.
Also was in use as a mining rig for over 2 years without issues, One of those board is in use every day for over 2 years on an industrial plasma cutter with RTAI, Mesa 6i25 and 7i77, 4GB of RAM.
Resolution with RTAI is at 1920X1200, as it should be.
-
Edit:
Adding 2Gb of RAM for a total of 4GB makes it very usable with RT-Preempt, Linux Mint 19.3 and can run machines very nicely.
Attachments:
Last edit: 06 Jun 2020 10:36 by tommylight. Reason: more info

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

More
16 Apr 2020 14:53 - 24 Jan 2022 13:23 #164150 by tommylight
MSI B450 main board, AMD Ryzen R5 3600, 16GB RAM, 480GB SSD, Nvidia 1660 super, parallel port header on board:
Unusable for anything machine related, the latency hits 6000000 with and without base thread. No amount of disabling in BIOS helps, not much there anyway.
Very usable for gaming ! :)
I wonder if the 3600X would be better, but i do not have one to test with. Hyperthreading can not be disabled !
Last edit: 24 Jan 2022 13:23 by tommylight. Reason: more info

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

More
17 Apr 2020 00:58 #164216 by JohnnyCNC
Thanks for all of your testing Tommy,

I have been looking for a higher end board that gives good results with RTAI. Price is not a consideration within reason I just want to be able to build a kernel that doesn't take 24 hours to compile. I would really like to find something on a mini ITX form factor otherwise I have to make some changes in my cabinet. I have a 6i25+7i76.
The following user(s) said Thank You: tommylight

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

More
17 Apr 2020 01:31 #164219 by BeagleBrainz
24hrs to compile a kernel ?

Are you using pen & paper, I thought 2 hours was slow.
The following user(s) said Thank You: tommylight

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

More
17 Apr 2020 02:42 #164225 by JohnnyCNC
LOL. It may not have been a full 24 but after waiting all evening I went to bed and left if finish overnight. This is a an a J1800. It is running Mint 19.3 with LinuxCNC 2.8Pre and so far no problems. So for just running the machine it is fine. Someday I would like to get a touch screen and try probe basic too.

Thanks
John

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

More
17 Apr 2020 10:36 #164252 by BeagleBrainz
I'm using a J3355 and reckon Mint with MATE is too much of a resource hog, when there's Debian with XFCE available.
I'm really astonished by the number of people that want to use Mint & MATE, especially when Debian has a couple of lighter weight Desktop environment options.

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

Time to create page: 0.704 seconds
Powered by Kunena Forum