Explore BrainMass

Explore BrainMass

    Processor design: Evaluate performance improvement options

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    Processor X has a clock speed of 2Ghz and takes 1 cycle for integer operations, 2 cycles for memory operations, and 4 cycles for floating point operations. Empirical data shows that programs run on Processor X are typically composed of 35% floating point operations, 30% memory operations, and 35% integer operations.

    You are designing Processor Y, and improvement on Processor X which will run the same programs and you have 2 options to improve the performance:
    -Increase the clock speed to 2.4Ghz, but memory operations take 3 cycles.
    -Decrease the clock speed to 1.8 ghz, but floating point operations only take 3 cycles.

    Compute the speedup for options and decide the option Processor Y should take.

    © BrainMass Inc. brainmass.com December 24, 2021, 8:33 pm ad1c9bdddf
    https://brainmass.com/computer-science/program-execution/processor-design-evaluate-performance-improvement-options-287748

    SOLUTION This solution is FREE courtesy of BrainMass!

    Average instruction execution time for programs on processor X = 1 * 35% + 2 * 30% + 4 * 35% cycles
    = 0.35 + 0.60 + 1.40 cycles
    = 2.35 cycles

    Average number of program instructions executed per second on processor X = 2 GHz / 2.35 cycles
    = 0.8510638298 * 10^9 instructions/second
    = 851063829.8 or 851063830 instructions/second (rounded off)

    Now, consider first alternative.
    Average instruction execution time for programs on processor Y = 1 * 35% + 3 * 30% + 4 * 35% cycles
    = 0.35 + 0.90 + 1.40 cycles
    = 2.65 cycles

    Average number of program instructions executed per second on processor Y = 2.4 GHz / 2.65 cycles
    = 0.9056603774 * 10^9 instructions/second
    = 905660377.4 or 905660377 instructions/second (rounded off)

    Now, consider second alternative.
    Average instruction execution time for programs on processor Y = 1 * 35% + 2 * 30% + 3 * 35% cycles
    = 0.35 + 0.60 + 1.05 cycles
    = 2 cycles

    Average number of program instructions executed per second on processor Y = 1.8 GHz / 2 cycles
    = 0.9 * 10^9 instructions/second
    = 900000000 instructions/second

    Both the processor Y alternatives are indeed giving performance improvement over processor X, but the first alternative gives better speedup than second alternative, in terms of more (average) instructions executed per second.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    © BrainMass Inc. brainmass.com December 24, 2021, 8:33 pm ad1c9bdddf>
    https://brainmass.com/computer-science/program-execution/processor-design-evaluate-performance-improvement-options-287748

    ADVERTISEMENT