GATE CS 2024 Set 1 — Question 55
NAT+2 / -0MediumSpeedup & EfficiencyInstruction PipeliningComputer Organization & Architecture
Computer Organization & Architecture → Instruction Pipelining → Speedup & Efficiency
Last updated
Question
The baseline execution time of a program on a 2 GHz single core machine is 100 nanoseconds (ns). The code corresponding to 90% of the execution time can be fully parallelized. The overhead for using an additional core is 10 ns when running on a multicore system. Assume that all cores in the multicore system run their share of the parallelized code for an equal amount of time. The number of cores that minimize the execution time of the program is ________
Correct answer
3 to 3
Solution
To find the number of cores that minimize the execution time, we define the total execution time as a function of the number of cores .
1.Identify Sequential and Parallel Components:
- Total baseline time ns.
- Parallelizable part ns.
- Sequential part ns.
- When using cores, the parallel part is divided by .
- The overhead for using an additional core is 10 ns. For cores, there are additional cores, so the total overhead is ns.
- To find the minimum, take the derivative with respect to and set it to zero:
4.Verification with Discrete Values:
- ns (Baseline)
- ns
- ns
- ns
More questions on Instruction Pipelining
2024 Set 2 Q11Consider a computer with a 4 MHz processor. Its DMA controller can transfer 8 bytes in 1 cycle from…2024 Set 1 Q15Which one of the following statements is FALSE?2024 Set 1 Q30Consider a 5-stage pipelined processor with Instruction Fetch (IF), Instruction Decode (ID),…2024 Set 2 Q31An instruction format has the following structure: Instruction Number: *Opcode destination reg,…2024 Set 2 Q53Consider a disk with the following specifications: rotation speed of 6000 RPM, average seek time of…
Practice GATE CS PYQs with adaptive difficulty
Timed practice, skill tracking, and AI explanations — free to start.
Start practicing free