The TURNAROUND TIME of a job is defined as
Athe time from job arrival to first execution
Bthe time the job spends waiting in the ready queue
Cthe time the job actually runs on the CPU (CPU burst length)
Dthe time from job arrival to job completion
Answer & Solution
Correct answer: D. the time from job arrival to job completion
1. OSTEP §7.1 defines key scheduling metrics.
2. TURNAROUND TIME: $T_{turn} = T_{completion} - T_{arrival}$. Measures the total time from job submission to its finish.
3. RESPONSE TIME: time from arrival to first CPU dispatch (option A is this).
4. WAIT TIME: time spent in the ready queue (option B).
5. CPU BURST: actual run time on CPU (option C is this).
_Source: OSTEP Ch 7, §7.1 (Workload Assumptions and Scheduling Metrics), p. 1-2._
Related questions
On a MULTI-CORE system, a SPIN LOCK is generallyDisabling INTERRUPTS as a way to implement mutual exclusion on a single-CPU system isA LIVELOCK differs from a DEADLOCK in thatSuppose thread A acquires lock L1, then thread B acquires lock L2. Now A tries to acquire Without atomic hardware support, building a correct mutual-exclusion lock for $N \geq 2$ tA CRITICAL SECTION isLinux's `pthread_mutex_lock()` is typically implemented as a HYBRID:What is the PRIMARY problem with using a SPIN LOCK on a SINGLE-CPU uniprocessor system (wi