Quantcast
Channel: Active questions tagged operating-system+scheduling - Stack Overflow
Browsing all 209 articles
Browse latest View live
↧

How does the automatic change in process state from "Running" to "Ready" work?

A process can change its state from "Running" to "Ready" in one of 3 ways:AutomaticallyExplicitly - the process voluntarily gives up the processor. Implicitly - process triggers system blocking calls...

View Article


Operationg system FIFO with N+1 pages of memory and FIFO with N pages of memory

I have question about wisc 2016 midterm OS exam.Q : FIFO with N+1 pages of memory always performs better than FIFO with N pages of memory.A : False; FIFO with N+1 pages can even perform worse.I can...

View Article


Is there any scheduling technique in Android?

I am a high school student who is curious about how stuffs in the technology world works. I've read a book about Android operating system, borrowed from my aunt months ago. And I've been wondering, is...

View Article

Image may be NSFW.
Clik here to view.

Scheduling Queue for First Come First Server Algorithm

I have the above table, and i have to make a gantt chart for first come first server (FCFS) and Round-Robin (RR) algorithms, also something called a wait queue which i really don't know what it is,...

View Article

WT(Waiting Time) in FCFS has negative value, why?

I tried to solve this FCFS scheduling, but i just found out, theres shouldnt have negative valueP. At. Bt. Ct. Tat. Wt2. 0 1. 01. -11. 1

View Article


Why is there a continue statement in xv6's scheduler algorithm?

The first branch in the loop's body has a continue statement, but I'm not exactly sure why. I'm under the impression that a continue statement here is unnecessary, and that having an if-statement like...

View Article

Image may be NSFW.
Clik here to view.

Shortest Job First (non preemptive) with future prediction scheduling example

I understand how shortest job first (non preemptive) scheduling works. Basically, when the CPU finish the current job it will select the shortest job in the queue to execute next. This is an example I...

View Article

Multilevel feedback queue scheduling

Can somebody please explain how to draw the gantt chart for the following using multilevel feedback queue scheduling Consider a multilevel feedback queue scheduling with three queues, numbered as...

View Article


Image may be NSFW.
Clik here to view.

Convoy effect in OS

Convoy effect is a pehnomenon associated with the first come first serve algorithm, in which the whole OS system slows down due to few slow processes.For example: There are 3 process The average...

View Article


Shortest Job First for Multiple Queues

Currently, I have a program which simulates a shortest job first strategy for a set of processes. However, my task is to make it for multi-priority level queues. So a queue for HIGH, MILD, LOW: HIGH =...

View Article

Image may be NSFW.
Clik here to view.

Shortest Job First (non preemptive) with future prediction scheduling example

I understand how shortest job first (non preemptive) scheduling works. Basically, when the CPU finish the current job it will select the shortest job in the queue to execute next. This is an example I...

View Article

Sorting CSV by column

So I am trying to sort the column for arrival time so that the earliest arrival time is first. Im new to csv files in java so struggling big time. I've managed to read the csv file and print using an...

View Article

Does CPU always execute instructions in kernel mode?

This is perhaps a very silly question, but it's been bugging me for a while. My doubt is that since the only threads that are scheduled onto the CPU are kernel threads(typically) and since every user...

View Article


What exactly does it mean to schedule user-level thread to run on an...

I want to know what exactly it means for a thread to be scheduled to run on an LWP. I'm unable to properly visualise the sequence of steps that happen when a process is scheduled to run onto the CPU...

View Article

Image may be NSFW.
Clik here to view.

How to calculate C-SCAN algorithm?

I'm learning operating system disk management algorithm. There is a specific algorithm called C-SCAN which is a variant of SCAN (or elevator) disk scheduling algorithm. Now in the example section of...

View Article


Image may be NSFW.
Clik here to view.

Shortest Job First Scheduling Algorithm in C issues

I have created a C Program to simulate the Non-Preemptive Shortest Job First Algorithm but it has bugs with certain inputs. The shortest job first algorithm program takes in inputs for the arrival and...

View Article

What scheduling algorithms does Linux kernel use?

What scheduling algorithms does Linux kernel use?Where can I get more info about linux's kernel? (OS first course... student level)

View Article


What scheduling algorithm is used by the short term dispatcher use?

In OS, what how does the short term dispatcher know what next process to place in cpu/running state?I asked this because i am trying to know if a job always makes at least some progress when scheduled...

View Article

Image may be NSFW.
Clik here to view.

Shortest remaining time Job first scheduling algorithm clarification

I was going through the various scheduling algorithm and came across the shortest remaining time Job fist algorithm.What I understand: Shortest remaining time job first algorithm is the preemptive...

View Article

Breaking a tie in round robin scheduling

I am confused with a basic concept of Round Robin CPU process scheduling, where the short term scheduler adds the process to the ready queue.If there are 3 process P0, P1 and P2 in the system and a...

View Article
Browsing all 209 articles
Browse latest View live