LinuxCNC compatible industrial PC
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 482
- Thank you received: 50
14 May 2025 13:47 #328444
by langdons
Replied by langdons on topic LinuxCNC compatible industrial PC
sudo apt install lm-sensors
(Optional, but recommended): sudo sensors-detect
sensors
(Optional, but recommended): sudo sensors-detect
sensors
Please Log in or Create an account to join the conversation.
- workshop54
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
28 May 2025 08:14 #329296
by workshop54
Replied by workshop54 on topic LinuxCNC compatible industrial PC
I did some configuration and testing on the Fitlet3.
I made changes in the BIOS, ran the script created by mozmck ( forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity ) and did the latency test (results in the thread forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity ). It doesn't look too good so far for the Fitlet3.
Does anyone have ideas on how to improve it because I'm all out of ideas (for now)
I made changes in the BIOS, ran the script created by mozmck ( forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity ) and did the latency test (results in the thread forum.linuxcnc.org/38-general-linuxcnc-q...ead-and-irq-affinity ). It doesn't look too good so far for the Fitlet3.
Does anyone have ideas on how to improve it because I'm all out of ideas (for now)
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 434
- Thank you received: 156
28 May 2025 08:45 #329297
by unknown
Replied by unknown on topic LinuxCNC compatible industrial PC
Just run the latency tests that come with linuxcnc. If they look ok go with it.
But I've never had much faith with the Atom platform for Linuxcnc.
But I've never had much faith with the Atom platform for Linuxcnc.
Please Log in or Create an account to join the conversation.
- workshop54
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
28 May 2025 10:06 #329305
by workshop54
Replied by workshop54 on topic LinuxCNC compatible industrial PC
I started with the latency tests, but then I found the script to run latency tests.
The best result I got with with latency-histogram --nobase was about 230000
I logged every change I made and the results after the change, which gives me some nice insights what happens, but I cannot get the latency any lower.
I mentioned the "Atom platform", but I don't have enough experience with hardware to know exactly what you mean by that. I can make an educated guess, but that's basically it.
So instead of looking for PC's of a specific brand and type, would it be better to look at platforms that work well?
The best result I got with with latency-histogram --nobase was about 230000
I logged every change I made and the results after the change, which gives me some nice insights what happens, but I cannot get the latency any lower.
I mentioned the "Atom platform", but I don't have enough experience with hardware to know exactly what you mean by that. I can make an educated guess, but that's basically it.
So instead of looking for PC's of a specific brand and type, would it be better to look at platforms that work well?
Attachments:
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 434
- Thank you received: 156
28 May 2025 11:58 #329310
by unknown
Replied by unknown on topic LinuxCNC compatible industrial PC
try isolcpus=2,3
Please Log in or Create an account to join the conversation.
- unknown
- Offline
- Platinum Member
-
Less
More
- Posts: 434
- Thank you received: 156
28 May 2025 12:06 #329313
by unknown
Replied by unknown on topic LinuxCNC compatible industrial PC
Atom is the cpu.
I've had good results with 3rd gen 4 core i5s, specifically Lenovo M73 tower, works well enough for software step generation.
Ex corporate PCs (x86/64 platforms)seem to be best bang for buck, RPi5 with a NVMe drive are quite quick, latency is usable, I've had one on the test bench communicating with a 7i92 for a few weeks with no issues. Spent a few weeks in January putting together the RPi Linuxcnc images that are for upload.
Odroid have a good range of compact x86/64 boards, I have an earlier model H3 plus that's been in for 4 or 5 years.
Asrok J series MB work well, either 4 or dual core.
I've had good results with 3rd gen 4 core i5s, specifically Lenovo M73 tower, works well enough for software step generation.
Ex corporate PCs (x86/64 platforms)seem to be best bang for buck, RPi5 with a NVMe drive are quite quick, latency is usable, I've had one on the test bench communicating with a 7i92 for a few weeks with no issues. Spent a few weeks in January putting together the RPi Linuxcnc images that are for upload.
Odroid have a good range of compact x86/64 boards, I have an earlier model H3 plus that's been in for 4 or 5 years.
Asrok J series MB work well, either 4 or dual core.
The following user(s) said Thank You: workshop54
Please Log in or Create an account to join the conversation.
- workshop54
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
31 May 2025 16:48 #329453
by workshop54
Replied by workshop54 on topic LinuxCNC compatible industrial PC
I tried your suggestion, but that didn't work either.
I decided to follow the advice you guys gave me earlier and just buy and old PC (a Lenovo ThinkCentre M83 SFF). Let's hope that will yield better results.
I decided to follow the advice you guys gave me earlier and just buy and old PC (a Lenovo ThinkCentre M83 SFF). Let's hope that will yield better results.
Please Log in or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 18818
- Thank you received: 5196
31 May 2025 23:04 #329476
by PCW
Replied by PCW on topic LinuxCNC compatible industrial PC
Note that for Mesa Ethernet cards the latency test is not terribly useful.
What is much more important is network latency. Default Mesa driver settings
will drop (timeout) packets if the return data takes more than 80% of the
servo period. As long as you do not drop packets due to these timeouts, latency is
relatively unimportant/
if you have a mesa card, try this:
sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10
(this will run for 1 minute and print delay statistics)
Change the IP address if you use 192.168.1.121
What is much more important is network latency. Default Mesa driver settings
will drop (timeout) packets if the return data takes more than 80% of the
servo period. As long as you do not drop packets due to these timeouts, latency is
relatively unimportant/
if you have a mesa card, try this:
sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10
(this will run for 1 minute and print delay statistics)
Change the IP address if you use 192.168.1.121
The following user(s) said Thank You: workshop54
Please Log in or Create an account to join the conversation.
- langdons
- Offline
- Platinum Member
-
Less
More
- Posts: 482
- Thank you received: 50
01 Jun 2025 16:36 #329522
by langdons
Replied by langdons on topic LinuxCNC compatible industrial PC
Try this:
askubuntu.com/questions/1021748/set-cpu-...performance-in-18-04
It reduced latency for me.
Make sure your PC is not home to vast quantities of dust, it will block fans and airflow, and makes stuff work less well.
askubuntu.com/questions/1021748/set-cpu-...performance-in-18-04
It reduced latency for me.
Make sure your PC is not home to vast quantities of dust, it will block fans and airflow, and makes stuff work less well.
Please Log in or Create an account to join the conversation.
- workshop54
- Offline
- Junior Member
-
Less
More
- Posts: 30
- Thank you received: 3
02 Jun 2025 16:29 #329557
by workshop54
Replied by workshop54 on topic LinuxCNC compatible industrial PC
Thanks PCW,
I'll give that a try.
I'll give that a try.
Please Log in or Create an account to join the conversation.
Time to create page: 0.177 seconds