|
INTERVIEW QUESTIONS
OPERATING SYSTEMS
DETAILS
Question: Explain the popular multiprocessor thread-scheduling strategies
Answer: Load Sharing: Processes are not assigned to a particular processor. A global queue of threads is maintained. Each processor, when idle, selects a thread from this queue. Note that load balancing refers to a scheme where work is allocated to processors on a more permanent basis. Gang Scheduling: A set of related threads is scheduled to run on a set of processors at the same time, on a 1-to-1 basis. Closely related threads / processes may be scheduled this way to reduce synchronization blocking, and minimize process switching. Group scheduling predated this strategy. Dedicated processor assignment: Provides implicit scheduling defined by assignment of threads to processors. For the duration of program execution, each program is allocated a set of processors equal in number to the number of threads in the program. Processors are chosen from the available pool. Dynamic scheduling: The number of thread in a program can be altered during the course of execution.
|
|
|
Category |
Operating Systems Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8860 users |
Added on |
9/9/2014 |
Views |
70535 |
Rate it! |
|
|
Question:
Explain the popular multiprocessor thread-scheduling strategies
Answer:
Load Sharing: Processes are not assigned to a particular processor. A global queue of threads is maintained. Each processor, when idle, selects a thread from this queue. Note that load balancing refers to a scheme where work is allocated to processors on a more permanent basis. Gang Scheduling: A set of related threads is scheduled to run on a set of processors at the same time, on a 1-to-1 basis. Closely related threads / processes may be scheduled this way to reduce synchronization blocking, and minimize process switching. Group scheduling predated this strategy. Dedicated processor assignment: Provides implicit scheduling defined by assignment of threads to processors. For the duration of program execution, each program is allocated a set of processors equal in number to the number of threads in the program. Processors are chosen from the available pool. Dynamic scheduling: The number of thread in a program can be altered during the course of execution. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
What is busy waiting?
|
View Answer
|
|
What are the stipulations of C2 level security?
|
View Answer
|
|
What is meant by arm-stickiness?
|
View Answer
|
|
What is cycle stealing?
|
View Answer
|
|
When is a system in safe state?
|
View Answer
|
|
What is the resident set and working set of a process?
|
View Answer
|
|
What is the Translation Lookaside Buffer (TLB)?
|
View Answer
|
|
What are the typical elements of a process image?
|
View Answer
|
|
What are turnaround time and response time?
|
View Answer
|
|
What are short-, long- and medium-term scheduling?
|
View Answer
|
|
List the Coffman's conditions that lead to a deadlock.
|
View Answer
|
|
What is thrashing?
|
View Answer
|
|
What is a binary semaphore? What is its use?
|
View Answer
|
|
Explain Belady's Anomaly.
|
View Answer
|
|
Explain the concept of Reentrancy.
|
View Answer
|
|
What are the requirements for virtual memory architecture?
|
View Answer
|
|
What do we do when the operating is crashed?How do we install another operating system?
|
View Answer
|
|
What is the purpose and function of an operating system?
|
View Answer
|
|
Which file system allow as much fragmentation FAT32 or NTFS?
|
View Answer
|
|
How the file system of USB flash drives changes after inserting into different operating system?
|
View Answer
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All Operating Systems Interview Questions & Answers - Exam Mode /
Learning Mode
|