RT or RT-Preempt is a patch for the Linux Kernel that gives it hard realtime capabilities.
Questions tagged [linux-rt]
11 questions
6
votes
1 answer
Tools for scheduler debugging in Linux
I have an embedded linux system containing two threads that must run in real time (or soft real time). When using SCHED_OTHER, I noted a lot of jitter but the two threads always executed within their allocated time.
I have applied the RT patch with…

Jary
- 1,501
- 3
- 24
- 35
1
vote
1 answer
How to schedule a real-time task with absolute start time?
For a TSN-aware communication protocol stack and framework, I need to be able to execute real-time threads not only running at very exact intervals, but starting at precise timeslots deducted from ptpd.
Currently, I did that by delaying / yielding…

Bernd
- 13
- 3
0
votes
0 answers
Linux RT-Unable to link .lib to VSCode-Undefined reference to `DAQmxCreateTask'
I was trying to cross compile a C code with CMake inside Linux RT using VSCode. But I am encountering an error due to the mistake in linking (.so) file with project. I have gone through many solutions but failed to run the task. My code is given…

RMR
- 1
- 1
0
votes
0 answers
Operation not permitted on linux-rt
I need to install python 3.9 on an embedded device so I used USB drive to not consume much storage space on the board. Yet, whenever I start installing usingmake install
I get this error :
This is the content of the installation Folder after…

Asky
- 45
- 2
- 7
0
votes
0 answers
Linux-RT patches
I am getting started with Linux-RT and browsing in the Internet I have realized that isn't the same "full Linux-RT" and "PREEMPT_RT kernel config". Which is the difference?
I am working in a project and need a RTOS, so I decided to get Linux.

OBaselga
- 1
0
votes
0 answers
PREEMPT_RT_FULL breaks NO_HZ_FULL on isolated CPU in Linux-RT 4.19.188
I am running tests in Linux-4.19.188 + patch-4.19.188-rt77, with PREEMPT_RT_FULL and NO_HZ_FULL enabled.
I put a infinite loop with SCHED_FIFO (priority of 99) on an isolated CPU. The expected result is NO tick should be seen in that isolated CPU…

wangt13
- 959
- 7
- 17
0
votes
0 answers
what interrupt I should see in linux to see whenever the context switch happens?
I am looking into cat /proc/interrupts and I am looking for the name of the interrupt I should look for whenever context switching happens? Where can I see the counts of interrupts when the context switch happens in the linux kernel.

tannoy connect
- 185
- 4
- 14
0
votes
1 answer
How to control the time offset of two threads in Linux?
Is there any way to create two SCHED_DEADLINE threads with a specific offset (phase) to a global cycle?
I am trying to create two threads, both with a period of 10 ms, but with an offset of 5ms between their arrival times. The behaviour
should look…

rkl
- 1
- 1
0
votes
0 answers
SCHED_DEADLINE runtime overrun signal (SIGXCPU)
I'm implementing a rt-thread using SCHED_DEADLINE. I'm trying to catch a SIGXCPU-signal,
if the thread exceeds the specified sched_runtime. To my understanding of the manpage, this can be achived by setting the SCHED_FLAG_DL_OVERRUN-flag. However,…

rkl
- 1
- 1
0
votes
1 answer
Which tool for finding the reason for latency peaks on embedded Linux?
Best case would be, if I had a (debug)-tool which runs in the background and tells me the name of the process or driver that breaks my latency requirement to my system. Which tool is suitable? Do you have a short example of its usage for the…

falkb
- 1,294
- 11
- 35
-2
votes
1 answer
Testing priority preemption on Linux RT LTS4.4 by prio-preempt
My system is using Arm cortexa7@1GHz with realtime patchset Linux 4.4.138-rt19 from CIP Community: v4.4.138-cip25-rt19
I has run a
prio-preempt.c
to verify priority preemption on my system. However I am running an issue:
the system only probably…

Thảo M. Hoàng
- 1,224
- 3
- 20
- 42