-操作系统精髓与设计原理(第五版)+课后题答案1
CHAPTER 10
MULTIPROCESSOR AND REAL-TIME
SCHEDULING
Review Questions
10.1 Fine: Parallelism inherent in a single instruction stream. Medium: Parallel
processing or multitasking within a single application. Coarse:
Multiprocessing of concurrent processes in a multiprogramming environment. Very Coarse: Distributed processing across network nodes to form a single computing environment. Independent: Multiple unrelated processes.
10.4 A hard real-time task is one that must meet its deadline; otherwise it will cause
undesirable damage or a fatal error to the system. A soft real-time task has an associated deadline that is desirable but not mandatory; it still makes sense to schedule and complete the task even if it has passed its deadline.
Problems
10.1 For fixed priority, we do the case in which the priority is A, B, C. Each
square represents five time units; the letter in the square refers to the currently-running process. The first row is fixed priority; the second row is earliest deadline scheduling using completion deadlines. For fixed priority scheduling, process C always misses its deadline. 10.4