New and Working RTAI debs for 2.9

More
9 months 2 weeks ago #341368 by andypugh
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 to join the conversation.

More
9 months 2 weeks ago #341376 by cnbbom

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.

Please Log in to join the conversation.

More
9 months 2 weeks ago #341380 by cnbbom

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.
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.

Please Log in to join the conversation.

More
9 months 2 weeks ago #341388 by andypugh

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.
Is anything else running in the base thread? 
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 to join the conversation.

More
9 months 2 weeks ago #341389 by cnbbom




And can you please confirm that the machine actually crashes with a PWM in the base thread? 




 

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.

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.

Please Log in to join the conversation.

More
9 months 2 weeks ago #341391 by cnbbom
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 to join the conversation.

More
9 months 2 weeks ago #341392 by cnbbom
I'm afraid of Google Translate. The translation doesn't seem legible; it looks distorted.

Please Log in to join the conversation.

More
9 months 2 weeks ago #341399 by cnbbom
andypugh
Is this the correct information?

Please Log in to join the conversation.

More
9 months 2 weeks ago #341408 by tommylight
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.

Please Log in to join the conversation.

More
9 months 2 weeks ago #341428 by cnbbom
I hope I got it right this time.

Please Log in to join the conversation.

Time to create page: 0.200 seconds
Powered by Kunena Forum