optimising the computer for linuxCNC

More
31 Oct 2025 20:36 #337600 by LeonDolnicar
optimising the computer for linuxCNC was created by LeonDolnicar
Hello from Slovenia

I built a 3 axis CNC milling machine. To run it I use a PC and mesa 7i76eu. They work well but every now and then I get an following error. To minimize this I increased latency from 1000000 to 1500000. Following errors are now less common (sey aonce per two hours of running). It is not critical but still it is anoying to rehome the machine. Is there anything I can do to optimize the computer and mesa comunication so there will not be any following errors.

thank you,
Leon Dolničar

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
31 Oct 2025 21:06 #337603 by tommylight
Replied by tommylight on topic optimising the computer for linuxCNC
Changing the PC would be my first choice as i can find used ones cheap, the "Enterprise edition" Dell or HP or Lenovo or Fujitsu have worked nicely for me, and so have some laptops like Lenovo T470, X1 yoga, Y370, but these are not guarantied to always work.
For now you can try isolating CPU's as plenty of members here had good results with it and it's easy to do
forum.linuxcnc.org/38-general-linuxcnc-q...idiot-s-guide#334498
Or if you want to dig even deeper:
forum.linuxcnc.org/18-computer/57219-lin...nel-parameter-tuning

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

More
01 Nov 2025 03:41 #337611 by PCW
Replied by PCW on topic optimising the computer for linuxCNC
What are the following error limits set for?

Do you lose packets?

That is, what is hm2_7i76e.0.packet-error-total?

Can you post your hal / ini files?

Do you have the usual optimizations:

isolcpus = last cpu in grub (isocpus=3 for a 4 core CPU for example)

IRQ coalescing off with Intel MACS

DKMS driver installed with RealTek MACs

Ethernet IRQ pinned to last processor
 

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

Time to create page: 0.113 seconds
Powered by Kunena Forum