New and Working RTAI debs for 2.9
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19802
- Thank you received: 4609
14 Jan 2026 14:41 #341368
by andypugh
Replied by andypugh on topic New and Working RTAI debs for 2.9
So, are you saying that
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?
Is it possible that your base-thread period is shorter than the base-thread latency?
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?
Is it possible that your base-thread period is shorter than the base-thread latency?
Please Log in or Create an account to join the conversation.
- cnbbom
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 5
14 Jan 2026 16:29 #341376
by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
Yes, disabling that line makes everything work except for the PWM spindle.So, are you saying that
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?
Is it possible that your base-thread period is shorter than the base-thread latency?
Please Log in or Create an account to join the conversation.
- cnbbom
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 5
14 Jan 2026 16:44 #341380
by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
My apologies and thanks. A beginner in these things missed something; I thought it was just copy and paste, but it's all different. My processor only has 4 cores, how could a number 7 be working? But now I think I understand, and I did some tests changing the isolcpus values. I stress-tested two YouTube videos and one video on the PC plus 8 glxgears and got this result.Life has got more complicated. With proper kernel tuning, latency can be better with Debian 13. I am in the process of publishing a second video about this on YouTube. Please refer to my channel. www.youtube.com/@MrRodW
The yet to be published video should be watched before the current one.
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
Less
More
- Posts: 19802
- Thank you received: 4609
14 Jan 2026 22:06 #341388
by andypugh
What is your base thread period.
And can you please confirm that the machine actually crashes with a PWM in the base thread?
Replied by andypugh on topic New and Working RTAI debs for 2.9
Is anything else running in the base thread?
So, are you saying that
"addf pwmgen.make-pulses base-thread"
Causes the PC to shut down and need a reset?
Is it possible that your base-thread period is shorter than the base-thread latency?
Yes, disabling that line makes everything work except for the PWM spindle.
What is your base thread period.
And can you please confirm that the machine actually crashes with a PWM in the base thread?
Please Log in or Create an account to join the conversation.
- cnbbom
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 5
14 Jan 2026 23:23 - 14 Jan 2026 23:27 #341389
by cnbbom
With the CD installation, PWM works, and the problem with trying to install the RTAI kernel was due to the high latency, which reached 120000.
Replied by cnbbom on topic New and Working RTAI debs for 2.9
As I explained here, I'm doing things manually and trying to learn, I don't know how to verify this, but remember that I did this test with preempt RT. That is, a clean installation of the linuxcnc CD with the modifications suggested by rodw. I tested with isolcpus 1, 2, 3 cores, then reduced it to 2.3 and even then the latency improved.
And can you please confirm that the machine actually crashes with a PWM in the base thread?
With the CD installation, PWM works, and the problem with trying to install the RTAI kernel was due to the high latency, which reached 120000.
Last edit: 14 Jan 2026 23:27 by cnbbom.
Please Log in or Create an account to join the conversation.
- cnbbom
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 5
14 Jan 2026 23:41 #341391
by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
This function comes in my PC's BIOS, "S3 video repost," and it was also part of a latency problem that I disabled.
Please Log in or Create an account to join the conversation.
- cnbbom
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 5
14 Jan 2026 23:52 #341392
by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
I'm afraid of Google Translate. The translation doesn't seem legible; it looks distorted.
Please Log in or Create an account to join the conversation.
- cnbbom
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 5
15 Jan 2026 01:24 #341399
by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
andypugh
Is this the correct information?
Is this the correct information?
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
Less
More
- Posts: 21345
- Thank you received: 7284
15 Jan 2026 03:28 #341408
by tommylight
Replied by tommylight on topic New and Working RTAI debs for 2.9
Base period is in the .ini file inside your configuration folder, usually
/home/cnc/linuxcnc/configs/sim.axis
instead of cnc you will have your user name
As for latency screenshots, see those colorful vertical lines on both sides of the graph? Those mean there are latency excursions outside the visible area, so add --show at the end of latency-histogram line and test again.
/home/cnc/linuxcnc/configs/sim.axis
instead of cnc you will have your user name
As for latency screenshots, see those colorful vertical lines on both sides of the graph? Those mean there are latency excursions outside the visible area, so add --show at the end of latency-histogram line and test again.
Please Log in or Create an account to join the conversation.
- cnbbom
- Offline
- Senior Member
-
Less
More
- Posts: 47
- Thank you received: 5
15 Jan 2026 14:48 #341428
by cnbbom
Replied by cnbbom on topic New and Working RTAI debs for 2.9
Please Log in or Create an account to join the conversation.
Time to create page: 0.174 seconds