A Record of a Frustrating Experience: Real-Time Task Scheduling and Priority in Linux

A Record of a Frustrating Experience: Real-Time Task Scheduling and Priority in Linux

Failure is the mother of success. This article is a real debugging record of failure. Through this article, you will deeply experience the following concepts in the Linux system: Real-time processes and normal process scheduling strategies; How the chaotic process priority is calculated in Linux; Testing CPU affinity; Program design for multiprocessor (SMP) systems encountering … Read more

Real-Time Scheduling Algorithms for Autonomous Driving Safety

Real-Time Scheduling Algorithms for Autonomous Driving Safety

Welcome to follow the public account below: Abao1990, this public account focuses on autonomous driving and intelligent cockpits, providing you with automotive insights every day. We start with cars, but we are not limited to cars. “Scheduling” refers to arranging tasks in a certain order. According to Mindtools‘ casual definition, it considers scheduling in daily … Read more

How to Set Process Priority in Linux

How to Set Process Priority in Linux

1. Introduction The previous article discussed how to check process priority; this one explains how to set process priority. There are two methods for setting process priority: Command line; Source code; 2. Command Line Method main.c: #include <stdio.h> int main(int argc, char *argv[]) { while(1) { ; } return 0; } Compile: gcc -o proc-pri … Read more

Real-Time Scheduling Example Using OptaPlanner

Real-Time Scheduling Example Using OptaPlanner

Geoffrey De Smet, the founder of OptaPlanner, and his team demonstrated a real-time planning and scheduling example using OptaPlanner at the 2019 Red Hat Summit keynote. Geoffrey and his team dedicated three blog posts to describe this program. This program and its related blog posts are considered classic works of OptaPlanner in the field of … Read more

Linux Process Scheduling – Real-Time Scheduler

Linux Process Scheduling - Real-Time Scheduler

Background Read the fucking source code! –By Lu Xun A picture is worth a thousand words. –By Gorky Note: Kernel version: 4.14 ARM64 processor, Cortex-A53, dual-core Tools used: Source Insight 3.5, Visio 1. Overview In the Linux kernel, real-time processes always have a higher priority than ordinary processes. The scheduling of real-time processes is managed … Read more

Intelligent Cost Control and Real-Time Scheduling in Large-Scale Manufacturing

Intelligent Cost Control and Real-Time Scheduling in Large-Scale Manufacturing

DataPi Compilation Compiled by: Wang Xingping Proofread by: Qi Deli Second Proofread by: Xu Hao Edited by: Zhang Meng [Introduction] This lecture is selected from the speech titled “Intelligent Cost Control and Real-Time Scheduling in Large-Scale Manufacturing” delivered by Zhu Yu, CTO of Youyi Data, at the first Big Data Application Conference in China on … Read more