Questions tagged [preempt-rt]

PREEMPT_RT is the real-time patch for the Linux kernel

PREEMPT_RT is a real-time patch aiming at reducing the maximum latency experienced by tasks running on the Linux kernel. Some parts of the patch have been merged into the mainline kernel from time to time. The development is sponsored by the Linux Foundation under the Real Time Linux collaborative project.

53 questions
1
vote
0 answers

How to choose between preempt-rt & non-preempt-rt linux kernel for an IoT application?

I am working on an IoT project for which I have to decide between linux kernel 4.8 preempt-rt or non-preempt-rt. Quickly running the Linux RT benchmarking test: cd /usr/lib/rt-tests/ptest/rt_bmark.py which essentially runs cyclictest -S -p 99 -q…
Sachin Mokashi
  • 415
  • 5
  • 17
1
vote
0 answers

Hyper Threading OFF on PREEMPT RT Kernel 3.10.103-rt114

I have a Kernel compilation related issue where after successfull compilation and reboot HyperThreading option is lost. I am trying to update my Cent OS 7 vanilla kernel with PREEMPT RT kernel. This is my first trial or experiment with Kernel. The…
1
vote
0 answers

Pthreads benchmark between PREEMPT_RT and Xenomai

I'm trying to benchmark Xenomai, PREEMPT_RT and Linux as-is in a Raspberry Pi, and I'm having some trouble. I'm trying to create a variable number of threads, with RT priority, and a variable sleep time. One of the threads has higher RT priority,…
markmb
  • 852
  • 4
  • 12
  • 32
1
vote
1 answer

How does VxWorks prioritize interrupt bottom-halves?

Suppose I have two tasks, 'A' and 'B', of differing priority executing on SMP-supported VxWorks. Both 'A' and 'B' issue a command to an I/O device (such as a disk or NIC) and both block waiting for results. That is, both 'A' and 'B' are blocked at…
Glenn
  • 386
  • 3
  • 12
1
vote
4 answers

Hard real time in user space with preempt_rt patch

From: https://rt.wiki.kernel.org/articles/f/r/e/Frequently_Asked_Questions_7407.html Real-time only has impact on the kernel; Userspace does not notice the difference except for better real time behavior. Does it mean that if we write the…
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
0 answers

UP xtreme i12 realtime Preempt-RT kernel version

I am building a real time Ubuntu kernel for 20.04 LTS. The kernel version is intel-iotg-5.15.0-1036.41. I tried to build RT kernel by patching it with RT patch, v5.15.125-rt66 and v5.15.70-rt50. But the compile had errors and ... after building the…
0
votes
0 answers

Real time with raspberry pi CM4

I want to apply real time on my raspberry pi CM4. My current kernel version is 6.1.19, Is this version available for applying PREEMPT_RT, or I should build a new kernel to apply PREEMPT_RT? and what is the steps to do any of mentioned options? Thank…
Walid
  • 119
  • 1
  • 7
0
votes
0 answers

Ubuntu22.04 makes Preempt_RT work but CONFIG_RT_GROUP_SCHED is not set

I followed the instructions on the official to compile the Linux kernel into a real-time system that can preempt low-priority work. Due to some factors I need to use "CONFIG_RT_GROUP_SCHED". But when I searched for availability, the following…
Sinclair
  • 1
  • 1
0
votes
0 answers

bug after installing nvidia drivers on ubuntu PREEMPT_RT kernel

I installed Nvidia drivers on my Ubuntu 20.04 PC with PREEMPT_RT kernel patch:5.15.79-rt54.For installation I used this tutorial: https://gist.github.com/pantor/9786c41c03a97bca7a52aa0a72fa9387. After installation I'm getting this bug: bug…
merq21
  • 1
0
votes
0 answers

Yocto bitbake core-image-sato with preempt-rt failed

I want to set up a linux kernel with preempt-RT with yocto. According to meta/recipes-rt/README, I add the following code in build/conf/local.conf, and do bitbake core-image-sato, but bitbake fail. MACHINE ?=…
fly fish
  • 11
  • 2
0
votes
1 answer

How do I test and / or benchmark traditional Linux Kernel vs Linux Kernel with RT Preempt patch?

I am working on a project to contrast and observe the performance gain with Preempt RT patch for Linux. What kind of C programs should I look to execute on the two different kernels to gain good understanding of the benifits that Preempt RT patch…
0
votes
1 answer

How do I add Preempt RT patch to raspberry pi?

I am working on a project that requires Preempt RT patch to Raspberry Pi. How do I go about adding the latest patch to the latest kernel source? I have referred to a few websites / tutorials, however they either seem to be broken on outdated.
0
votes
1 answer

How to schedule real time cyclic task?

We are a team of bachelor students currently working on building a legged robot. At the moment our interface to the robot is written in python using an sdk from the master board we are using. In order to communicate with the master board sdk, we…
0
votes
0 answers

SCHED_RR not returning the time slice to the correct thread

I am trying to study the behaviour of certain real-time scheduling policies in Linux. For that reason I have created 3 periodic threads, each one of them with a dummy workload. All of them have the same execution time ~5ms and their periods are…
Arkoudinos
  • 1,099
  • 12
  • 20
0
votes
0 answers

make bzImage error while kernel compilation process

I am on my ubuntu with Linux 5.8.0-40 Kernel. I am trying to change the kernel to 4.19 along with the RT preempt patch. These are the steps I followed. Downloaded the tarball for 4.19 from here and extracted it. Downloaded the patch from here and…
shellhead
  • 3
  • 3