Quantcast
Channel: Active questions tagged operating-system+scheduling - Stack Overflow
Browsing index pages (215 articles)
↧

How to change the preemption rate in xv6?

I need to achieve the following:Process preemption should be done in every time quantum (measured in clock ticks) instead of every clock tickIn order to achieve this, I have modified the yield()...

View Article


Image may be NSFW.
Clik here to view.

Shortest Time Remaining Next (STRN) Scheduling

Another user posted this question on Shortest Job First (SJF). Here's the example: How would this be solved for Shortest Remaining Time Next? The preemptive version of Shortest Job First.I understand...

View Article


MacOS does not grant requested thread QOS

I would like to run a single-threaded program in MacOS 26.0 at the highest QOS level (QOS_CLASS_USER_INTERACTIVE), in order to get more consistent performance on a compute-bounded benchmark. By default...

View Article

How to change the preemption rate in xv6?

I need to achieve the following:Process preemption should be done in every time quantum (measured in clock ticks) instead of every clock tickIn order to achieve this, I have modified the yield()...

View Article

Xinu - Setting new priority for a Suspended state process

I have created a process X in Xinu along with other two processes (y, z). The y and z are high priority than X, so they both are running as per scheduling policy.In the backend, I want to increment the...

View Article


Python - OS Scheduler - Process and Thread - Theoretical Clarification

I am a complete newbie to OS scheduling, So please bear with my ignorance.I am trying to wrap my head around how the OS scheduling works with Python, to be specific, the Windows OS scheduling. I...

View Article

Is a schedulable unit of CPU time slice process or thread?

I want to clarify whether "a schedulable unit of CPU time slice" is "process" or "thread" (kernel managed thread). What I mean by "schedulable unit of CPU time slice" is the unit which CPU scheduler of...

View Article

Process scheduling simulator [closed]

I've an assignment to implementing a specific process-scheduling algorithm and simulating its behavior in a multiprogramming environment. It aims to demonstrate the performance of the scheduling...

View Article


Does Preemptive Scheduling Inherently Require Time Slices?

I'm studying operating systems and have encountered conflicting information about preemptive scheduling, specifically regarding SRT (Shortest Remaining Time) scheduling. My question focuses on whether...

View Article


Preemptive & Nonpreemptive Kernel VS Premptive & Nonpreemptive Scheduling

I'm struggling to understand the difference between preemptive and nonpreemptive kernels, and premptive & nonpreemptive scheduling.From Operating System Concepts (Ninth Edition), Silberschatz,...

View Article

How to best organise concurrent processing of a set of processes with known...

We have a task handling system that handles a number of tasks, between 12 and 16 at any given batch, using 4 CPU's. Each task takes a known amount of time on a single CPU.At the moment, the order of...

View Article

Python - OS Scheduler - Process and Thread - Theoretical Clarification

I am a complete newbie to OS scheduling, So please bear with my ignorance.I am trying to wrap my head around how the OS scheduling works with Python, to be specific, the Windows OS scheduling. I...

View Article

How to change the preemption rate in xv6?

I need to achieve the following:Process preemption should be done in every time quantum (measured in clock ticks) instead of every clock tickIn order to achieve this, I have modified the yield()...

View Article


How does the SJF scheduling algorithm work with both CPU and IO processes?...

How does the SJF scheduling algorithm work with both CPU and IO processes? What's the difference between SJF and FCFS?I had attempted to implement the SJF algorithm by keeping track of the next CPU...

View Article

Xinu - Setting new priority for a Suspended state process

I have created a process X in Xinu along with other two processes (y, z). The y and z are high priority than X, so they both are running as per scheduling policy.In the backend, I want to increment the...

View Article


Is a schedulable unit of CPU time slice process or thread?

I want to clarify whether "a schedulable unit of CPU time slice" is "process" or "thread" (kernel managed thread). What I mean by "schedulable unit of CPU time slice" is the unit which CPU scheduler of...

View Article

Round Robin Algorithm [closed]

Process Id : (P1 P2 P3 P4 P5). ARRİVAL TİME: (0 1 2 3 4 ). BURST TİME : (5 2 1 3 2). Q=2. And Soliton : Gantt-Chart (P5, P1, P2, P5, P4, P1, P3, P2, P1) . i don't understand why p3 is followed by p1...

View Article


How does de OS know which solution to apply to a concurrency problem?

When x1, ..., xN proceses try to access some A resource, how does the OS know the particular solution to use for handling the issue of concurrency?If A is serially reusable then the solution can be a...

View Article

Is a schedulable unit of CPU time slice process or thread?

I want to clarify whether "a schedulable unit of CPU time slice" is "process" or "thread" (kernel managed thread). What I mean by "schedulable unit of CPU time slice" is the unit which CPU scheduler of...

View Article

If burst time becomes 0 highestpriority must change how to do it?

Enter process 1 details (pid, arrival, burst, priority, color R, G, B):): 1 0 8 31 0 0Enter process 2 details (pid, arrival, burst, priority, color R, G, B):): 2 1 2 4 1 1 0Enter process 3 details...

View Article
Browsing index pages (215 articles)


Latest Images