Multicore Real-Time Operating System RTEMS (21) – Active Scheduling

Technical experience sharing, welcome to follow and provide guidance. Based on our understanding of the scheduling scenarios in RTEMS, the first thing to note is active scheduling. Its implementation is _Scheduler_Schedule. From the context of the code, we can see that when the system sends a signal, if the thread’s context is set to non-preemptive, … Read more

5G NR Protocol: Priority Preemption

5G NR Protocol: Priority Preemption

If the resource blocks (RB) within a certain bandwidth part (BWP) are highly utilized, then high-priority services with low latency requirements may need to preempt resource blocks that have already been allocated to another connection.This type of preemption is illustrated in Figure 3.41. In the example, the packet scheduler allocates a set of resource blocks … Read more

Understanding STM32 Interrupt Priority Grouping and Preemption in 10 Minutes

Understanding STM32 Interrupt Priority Grouping and Preemption in 10 Minutes

Click the blue text above to follow us Embedded Training – Choose Jufeng Smart Link STM32 interrupt priority mechanism is a concept that often confuses beginners and newcomers to projects. What is preemption? What is response priority? What is the purpose of priority grouping? Why does the priority you set not take effect at all?Don’t … Read more

Scheduling Strategies in RTOS Applications

Scheduling Strategies in RTOS Applications

Transitioning from bare-metal (front-back architecture) software development to using a Real-Time Operating System (RTOS) can be a challenging task. However, there are many advantages to using an RTOS, such as simplifying application integration and supporting task preemption scheduling. This becomes meaningful when developers use complex 32-bit microcontrollers and have sufficient Flash and RAM space. Many … Read more

Differences and Relationships Between Pod Scheduling, Preemption, and Eviction in Kubernetes

Differences and Relationships Between Pod Scheduling, Preemption, and Eviction in Kubernetes

This article shares the concepts related to Pod scheduling, preemption, and eviction, which are mostly theoretical but very important and often asked in interviews. I hope you can read it patiently! Kubernetes (K8s), as a container orchestration platform, has mechanisms for <span>Scheduling</span>, <span>Preemption</span>, and <span>Eviction</span> that are key to ensuring reasonable allocation of cluster resources, … Read more

Explanation of Kubernetes Pod Priority, PriorityClass, and Preemption

Explanation of Kubernetes Pod Priority, PriorityClass, and Preemption

What is Pod Priority in Kubernetes? Pod priority is a scheduling feature in Kubernetes that allows Kubernetes to make scheduling decisions based on priority numbers by comparing other pods. Let’s take a look at the following two main concepts in pod priority. Pod Preemption Policy Pod Priority Pod Preemption Policy The pod preemption policy allows … Read more

TSN Frame Preemption Testing: Creating a ‘Green Channel’ for Data Transmission

TSN Frame Preemption Testing: Creating a 'Green Channel' for Data Transmission

Introduction: In complex and dynamic fields such as automotive and industrial control, the timeliness and determinism of data transmission are crucial. In scheduling shaping mechanisms like TAS or CQF, different priority services are mapped to different queues, ensuring that high-priority services are not interfered with by low-priority services during transmission, thus guaranteeing end-to-end low latency … Read more