Which kernel version is best for real time?

More
14 May 2025 00:49 #328431 by unknown
Replied by unknown on topic Which kernel version is best for real time?
The thing is a newer kernel will only have better performance if there has been significant changes in the area that are being used in your application. Changes to filesystems you don't use, drivers you don't or in architectures you don't use don't expect any improvements.
To be really sure you have to read change logs and stuff like that to be sure. Newer may very well be the same as what was supplied with the Linuxcnc ISO.
Oh and don't run any other network services that you use for your motion controller, in your case you should have a dedicated NIC for Remora and another for everything else.
I still don't know why people insist on using 3rd party remote desktop clients when X is actually was designed from networking from the beginning and there are plenty of available clients and servers in the distro repos that have been time tested.
Running a CNC machine remotely is a another kettle of fish. If you need to do remote admin use SSH and learn to get comfortable with the command line.

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

More
14 May 2025 15:26 #328469 by DarkPhoinix
Replied by DarkPhoinix on topic Which kernel version is best for real time?

Yes that is the correct place to put it.
While testing this, no stress test, no glxgears, no video, no youtube.

next insert lane give error:
# load the Remora real-time component

    loadrt remora-eth-3.0 PRU_base_freq=500000
    loadrt base_period_nsec=100000
Debug file information:
Note: Using POSIX realtime
base_period_nsec=100000: dlopen: /usr/lib/linuxcnc/modules/base_period_nsec=100000.so: cannot open shared object file: No such file or directory
./nvem-rt1052.hal:10: waitpid failed /usr/bin/rtapi_app base_period_nsec=100000
./nvem-rt1052.hal:10: /usr/bin/rtapi_app exited without becoming ready
./nvem-rt1052.hal:10: insmod for base_period_nsec=100000 failed, returned -1
35117
Stopping realtime threads
Unloading hal components
Note: Using POSIX realtime


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

More
14 May 2025 15:39 #328470 by langdons
Replied by langdons on topic Which kernel version is best for real time?

The thing is a newer kernel will only have better performance if there has been significant changes in the area that are being used in your application. Changes to filesystems you don't use, drivers you don't or in architectures you don't use don't expect any improvements.
To be really sure you have to read change logs and stuff like that to be sure. Newer may very well be the same as what was supplied with the Linuxcnc ISO.
Oh and don't run any other network services that you use for your motion controller, in your case you should have a dedicated NIC for Remora and another for everything else.
I still don't know why people insist on using 3rd party remote desktop clients when X is actually was designed from networking from the beginning and there are plenty of available clients and servers in the distro repos that have been time tested.
Running a CNC machine remotely is a another kettle of fish. If you need to do remote admin use SSH and learn to get comfortable with the command line.

I agree entirely.

X was designed for remote desktop.

How can you tolerate the laggyness of remote desktop?

I find it unbearable.

Maybe you just have a really good ethernet connection over gigabit ethernet or something.

SSH over ethernet has really low latency, especially if you use macOS terminal with the Pro profile (XTerm is actually slightly faster, but has no support for copy/paste and stuff).

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
14 May 2025 15:40 #328471 by tommylight
Replied by tommylight on topic Which kernel version is best for real time?
This line in hal
loadrt [EMCMOT]EMCMOT base_period_nsec=100000 servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
Add base period after the EMCMOT.

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

More
14 May 2025 15:41 #328472 by langdons
Replied by langdons on topic Which kernel version is best for real time?
Disable all services except those you truly need.

Remove all removeable hardware except what you actually need.

I think blacklisting kernel modules works.

SSH is great for OS management and stuff, but not good for actually running the CNC.

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

Time to create page: 0.087 seconds
Powered by Kunena Forum