Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linux: enable PREEMPT_RT #257

Closed
wants to merge 0 commits into from
Closed

linux: enable PREEMPT_RT #257

wants to merge 0 commits into from

Conversation

fhunleth
Copy link
Member

This updates the Linux kernel, includes the real-time patch set, and
enables PREEMPT_RT..

@ConnorRigby
Copy link
Member

I'm not fully sure how the preempt_rt system works, does this effectively do nothing without configuration giving it the ability to be used, or is there some other tradeoff being made here?

@fhunleth
Copy link
Member Author

@ConnorRigby Yeah, this is a really good question. I was highly skeptical. I was shown some stats today that GPIO interrupt response time in Nerves improves by at least a factor of 10 with the rt patch enabled. The data is pretty convincing. I'm still going to keep this PR unmerged until I get back and can repeat the tests. Given that my assumptions on Linux interrupt latency appear to be clearly wrong, I'm also planning on revisiting Circuits.GPIO decisions. If all this appears to be the case, then Nerves can to be used in situations with much tighter deadlines than I've been telling people and that would be quite interesting.

@fhunleth fhunleth force-pushed the preempt_rt-6.6 branch 2 times, most recently from 142170b to 02deb4b Compare November 24, 2024 19:38
@fhunleth fhunleth closed this Nov 26, 2024
@fhunleth fhunleth deleted the preempt_rt-6.6 branch November 26, 2024 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants