Questions tagged [scheduling]
A technique for scheduling tasks to be run at a specific time or on a specific event.
422 questions
1 vote
0 answers
39 views
Why does Linux CFS need a periodic timer interrupt more frequent than the time slice?
OSTEP says Note that CFS utilizes a periodic timer interrupt, which means it can only make decisions at fixed time intervals. This interrupt goes off frequently (e.g., every 1 ms), giving CFS a chance ...
4 votes
1 answer
190 views
How do real time scheduling policies work with Intel's hybrid architecture?
I have an application with several CPU intensive threads set to the SCHED_RR scheduling policy. I recently starting running this on a system with a hybrid core Intel CPU, and noticed that these ...
0 votes
1 answer
101 views
Is there any advantage to changing process priorities using a kernel module instead of nice / chrt?
I'm working on a project where I want to study the impact of process priority on system behavior. I know that tools like nice, renice, and chrt can change the priority or scheduling policy (e.g., ...
2 votes
1 answer
271 views
What is a parked thread in Linux kernel?
What is a parked thread in the context of Linux kernel? I mean a thread that is in TASK_PARKED state? How this state differs from TASK_INTERRUPTIBLE and TASK_UNINTERRUPTIBLE? From which state a thread ...
0 votes
0 answers
59 views
system service: scheduling a variable timer
I am writing a program that I would like to have the ability to schedule an action. This would work similar to the the TIME option in shutdown, where the user specifies a time and that information ...
1 vote
1 answer
175 views
How does a vanilla Linux kernel handle realtime scheduling?
I have a question regarding "Realtime" support in Linux/Ubuntu: After some reasearch onthe topic, it seems that "realtime" support in Linux is twofold: On the one hand, there is ...
0 votes
0 answers
123 views
persistent - slurmdbd: error: mysql_query failed: 1193 Unknown system variable 'wsrep_on'
Hi I was working on installing Slurm and got most things sorted out but upon launching sudo journalctl -fu slurmdbd I get the following: Jan 25 12:49:49 ... systemd[1]: Stopped slurmdbd.service - ...
1 vote
1 answer
631 views
Does Debian provide a method to install and enable the `schedutil` governor?
I want to enable Energy Aware Scheduling to play around with it. How can I try it? When I run cpupower frequency-info --governors I do not see schedutil listed. I am using Debian Bookworm. Is there a ...
1 vote
1 answer
239 views
Real-Time process vs Process Affinity
From my understanding a real-time process means the process will get the CPU as soon as it needs it. The kernel is responsible for this task with its internal scheduling mechanism. On the other hand, ...
0 votes
1 answer
235 views
When does the CFS schedule a new task?
I am learning about operating systems by reading through "Three Easy Pieces", and I am stuck on the chapter about the Completely Fair Scheduler (Can be read here, p. 8-10). I understand that ...
0 votes
1 answer
92 views
Relationship between number of cores and ability to run processes with higher nice values?
When I "flood" my CPU with 8 high priority (nice=-20) OS threads (the number of cores I have), operation becomes "halty" for obvious reasons, but is still usable. Note that when I ...
0 votes
0 answers
378 views
Can I prevent a pthread from ever being interrupted by the scheduler?
I'm programming an embedded real-time Linux device with a 4 core ARM CPU. There is a requirement for a periodic computation at 10 kHz that should not jitter too much and should never be lost. My POSIX ...
2 votes
1 answer
183 views
How to tune BFQ schduler to prevent a single low priority process from severely degrading system performance?
I have been trying to use nice/ionice for a while and it turns out that bfq ignores ionice parameters. So how do I prevent a low priority process from consuming all the io bandwith to the detriment of ...
0 votes
0 answers
252 views
Linux Mint: Can I have timeshift take a snapshot automatically before updates are installed?
Because I'm paranoid, I'd like Timeshift to take a snapshot immediately before updates are automatically installed. Currently I have daily snapshots, and choose to install updates manually, but I'd ...
0 votes
1 answer
289 views
How to avoid impact on scheduled jobs by the time leap and reverse on Daylight Saving Time (DST)
Suppose the Time Zone is AEST (Australian Eastern Standard Time) where time leaps from 2AM to 3AM on start, and reverse from 3AM to 2AM on end. Australian Government - Time zones and daylight saving ...