CS FundamentalsModerateGATE CS
A process performs 100 random 4 KB reads on a disk with 10 ms average access time and on an SSD with 0.1 ms access time. Roughly what are the total times?
- A. About 1 s on the disk and about 10 ms on the SSD
- B. About 10 ms on both
- C. About 1 s on both
- D. About 100 ms on the disk and 1 ms on the SSD
Correct answer: A. About 1 s on the disk and about 10 ms on the SSD
100 × 10 ms = 1 s for the disk; 100 × 0.1 ms = 10 ms for the SSD. Random I/O is where SSDs gain the most.
More Operating Systems questions
- Round Robin with quantum 3 ms; processes (arrival, burst): P1 (0, 5), P2 (1, 3), P3 (2, 8), P4 (3, 6). What are the completion times of…
- What values are printed (in any order)? (Every fork() succeeds.) c int main() { int x = 0; for (int i = 0; i < 2; i++) { if (fork() == 0)…
- A 32-bit system uses 2-level paging (10 + 10 + 12 bits, 4-byte PTEs, so every table is one 4 KB page). A process touches one byte in each…
- Disk with 100 cylinders (0–99); head at 50 moving up. Requests arrive in two batches: first 30, 70, 90; when the head reaches 70, new…
- A system has 3 identical printers. Processes P1, P2, P3 hold 1 printer each and each needs exactly 2 to finish; requests are made one at a…
- A program alternately computes for 20 ms and does disk I/O for 80 ms. With 4 such independent programs and the 1 − pⁿ model, what CPU…