Explain the popular multiprocessor thread-scheduling
strategies.
Answer / guest
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.
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 or 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.
| Is This Answer Correct ? | 9 Yes | 2 No |
Describe the actions taken by the operating system when a page fault occurs?
What is the best way of communication in multi process environment? ex: getting log from different applications from multi servers?
What is turnaround time?
What is a virtual machine and how does it work?
Explain cycle stealing?
Suppose if we have a variable 'I' in run method, if I can create one or more thread each thread will occupy a separate copy or same variable will be shared?
What is the difference between internal commands and external commands?
What is critical section problem?
What is the maximum ram for a 64 bit operating system?
What is operating system in short answer?
Do you know what is a binary semaphore?
How you can Kill the Session by force?