GATE Computer ScienceHardGATE CS
Machines A and B run four benchmarks with execution times (in seconds) A: 12, 30, 8, 50 and B: 24, 15, 16, 25. Which statement is correct?
- A. The geometric mean of the ratios says B is 1.25 times faster, in agreement with the arithmetic mean of times
- B. The geometric mean of the ratios says A and B are equal, while the arithmetic mean of times says A is 1.25 times faster
- C. The arithmetic mean of times says A and B are equal, while the geometric mean of the ratios says B is 1.25 times faster
- D. The geometric mean of the ratios says A and B are equal, while the arithmetic mean of times says B is 1.25 times faster
Correct answer: D. The geometric mean of the ratios says A and B are equal, while the arithmetic mean of times says B is 1.25 times faster
The ratios B/A are 2, 0.5, 2, 0.5 whose product is 1, so the geometric mean ratio is exactly 1. The arithmetic mean times are 25 for A and 20 for B, so B looks 1.25 times faster by total time. The two summaries disagree, which is why the choice of mean matters.
Practise more Computer Organization and Architecture questionsComputer Organization and Architecture: notes and key points
More Computer Organization and Architecture questions
- A 32 KB direct-mapped cache has 64-byte blocks and the processor issues 32-bit byte addresses. How many tag bits does each cache line store?
- A program of 2×10⁹ instructions runs on a 1.5 GHz processor. The mix is 40% instructions of CPI 1, 30% of CPI 2, 20% of CPI 3 and 10% of…
- An unpipelined datapath needs 10 ns per instruction. A 5-stage pipelined version has a clock period of 2.5 ns (including latch overhead)…
- Sixty percent of a program's execution time can be sped up by a factor of 5 and the rest cannot. What is the overall speedup, to two…
- An 8-bit processor adds 0x7F and 0x01 as two's-complement numbers. Which flag setting results?
- A system has 32-bit virtual addresses, 4 KB pages and 4-byte page-table entries with a single-level page table. What is the size of one…