New and Working RTAI debs for 2.9

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
15 Jan 2026 15:58 #341431 by tommylight
Replied by tommylight on topic New and Working RTAI debs for 2.9
[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
BASE_PERIOD = 46872
SERVO_PERIOD = 1000000
Your base period is set at 46872, strange for sure, but i am pretty sure LinuxCNC will round it to something divisible from 1000000. Set it to 50000.
Still i do not think that is the main issue, it seems your PC has some strange and huge excursions in latency, so, did you disable in BIOS:
turbo
speed step
power saving options
TPM if any
PCI-E aggressive power saving (no idea what name is used in some boards)
C states
etc.
Be as it may, for that PC and since you need RTAI, use the Wheezy ISO as is, granted you do not need any missing features from it.
You can download and test Wheezy without installing it, see how that works out.

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

More
15 Jan 2026 18:02 #341436 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9

tommylight post=341431 userid=17274

[EMCMOT]
EMCMOT = motmod
COMM_TIMEOUT = 1.0
BASE_PERIOD = 46872
SERVO_PERIOD = 1000000

Your base period is set at 46872, strange for sure, but i am pretty sure LinuxCNC will round it to something divisible from 1000000. Set it to 50000.
 

Será que estou inserindo valores incorretos para o Jitter Máximo do Período Base ao configurar uma máquina no Assistente de Configuração do Motor de Passo?
Attachments:

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

More
17 Jan 2026 04:45 - 17 Jan 2026 04:47 #341465 by NWE
Replied by NWE on topic New and Working RTAI debs for 2.9
Latency test is only used for testing the pc, don't use the jitter value for BASE_PERIOD, try 50000.
Last edit: 17 Jan 2026 04:47 by NWE.

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

More
18 Jan 2026 01:34 #341515 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
tommylight and NWE

Well, with a value of 46872, Linux CNC runs at maximum speed, but if I change it to 50000 I get an error message.

I'd also like to ask a question: on a normal machine that is acceptable for running Linux CNC, what are the minimum and maximum acceptable values ​​for BASE_PERIOD?

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

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
18 Jan 2026 01:56 #341516 by tommylight
Replied by tommylight on topic New and Working RTAI debs for 2.9


Well, with a value of 46872, Linux CNC runs at maximum speed, but if I change it to 50000 I get an error message.

Try 100000 , and also since you say it works better with 46872 try 93744.
This will limit your max velocity in half, use the "Max velocity" slider on screen to limit the speed till you do not get joint errors.
Notice the motor sound, should be much smoother.

I'd also like to ask a question: on a normal machine that is acceptable for running Linux CNC, what are the minimum and maximum acceptable values ​​for BASE_PERIOD?

There is no such thing, it all depends on what your PC can do safely, and from that set the drive microstepping to achieve the desired machine velocity/speed, if possible, as with low microstepping motors vibrate a lot.
I have a PC that does not skip a beat at 15000 but it's power supply failed (workstation=expensive), most mine do 50000-100000, and i have some bad laptops that are in daily use for over 10 years with base period set at 300000.

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

More
18 Jan 2026 12:42 #341530 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9

I have a PC that does not skip a beat at 15000 but it's power supply failed (workstation=expensive), most mine do 50000-100000, and i have some bad laptops that are in daily use for over 10 years with base period set at 300000.

Unfortunately, I had to leave the motors vibrating a bit because 7000 mm/min is necessary for me, and I use the SFU1605 in the X and Y directions. Seeing that my PC wasn't helping with this, I fixed the microstepping at 800.

But I'll still try to upgrade this PC until it's closer to these recommendations.

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

More
21 Jan 2026 15:32 #341648 by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
I took some time to modify some BIOS settings, performed several restarts, and ran tests. This is the result I was able to achieve.
Attachments:

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

More
22 Jan 2026 13:00 #341698 by andypugh
Replied by andypugh on topic New and Working RTAI debs for 2.9
20k latency seems fairly decent. With a base period of 50,000 that should never over-run.

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

Time to create page: 0.098 seconds
Powered by Kunena Forum