CS FundamentalsHardGATE CS
A program has 5% serial code and runs on 16 cores. By Amdahl's law, what is the best speedup possible, and what is the limit as the number of cores grows without bound?
- A. 16 and infinite
- B. about 15.2 and 20
- C. about 9.14 and 20
- D. about 9.14 and 16
Correct answer: C. about 9.14 and 20
Speedup = 1 / (0.05 + 0.95/16) = 1 / 0.109375 ≈ 9.14. As cores → ∞ it tends to 1/0.05 = 20.
More Operating Systems questions
- A web server creates a new process per request using fork() (copy-on-write). Compared with creating a thread per request, which is the…
- vfork() differs from fork() in that:
- Which inter-process communication mechanism does NOT need the kernel to copy the data between the two processes for each message?
- A pipe has capacity 64 KB. A writer process writes 100 KB with a single write() call while no process ever reads from the pipe. What…
- A process ignores SIGINT and then calls exec() to run a new program. Which statement is correct?
- Which signals can neither be caught nor ignored by a process?