Homework Solution: The same manufacturers introduce new quad core versions of P1 and P2 processors….

    The same manufacturers introduce new quad core versions of P1 and P2 processors. NewP1 runs at 3.4GHz and costs $170. NewP2 runs at 2.6GHz and costs $170. We can use two different compilers for these processors. For a specific benchmark program, compiler A generates 2250 instructions per core with an effective CPI of 1.5 for NewP1 and 625 instructions/core and CPI of 3.2 for NewP2. Compiler B generates 1750 instructions/core with a CPI of 1.8 for NewP1 and 500 instructions/core with a CPI of 5.0 for NewP2.
    Which processor-compiler combination is the best?
    Using the metric Cycles per Second times Cores Used divided by Dollars Squared, which is the best machine?

    Expert Answer

     
    For processor NewP1 and compiler A: For processor NewP1 and compiler A:

    The corresponding manufacturers preface innovating quad centre versions of P1 and P2 processors. InnovatingP1 oozes at 3.4GHz and requires $170. InnovatingP2 oozes at 2.6GHz and requires $170. We can authentication span incongruous compilers ce these processors. Ce a local benchmark program, compiler A generates 2250 counsels per centre with an powerful CPI of 1.5 ce InnovatingP1 and 625 counsels/centre and CPI of 3.2 ce InnovatingP2. Compiler B generates 1750 counsels/centre with a CPI of 1.8 ce InnovatingP1 and 500 counsels/centre with a CPI of 5.0 ce InnovatingP2.

    Which processor-compiler association is the best?
    Using the metric Cycles per Second intervals Centres Authenticationd separated by Dollars Squared, which is the best agent?

    Expert Retort

     

    Ce processor InnovatingP1 and compiler A:

    Ce processor InnovatingP1 and compiler A:

    no of counsels/core=2250

    CPI=1.5

    Cycle interval=1/3.4*109 = 294.12 ps(pico seconds)

    CPU interval=(estimate of counsels)*(cycles per counsel)*(cycle interval)=2250*1.5*294.12=992.65 ns(nano seconds)

    Ce processor InnovatingP2 and compiler A:

    no of counsels/core=625

    CPI=3.2

    Cycle interval=1/2.6*109 = 384.62 ps(pico seconds)

    CPU interval=(estimate of counsels)*(cycles per counsel)*(cycle interval)=625*3.2*384.62=769.23 ns(nano seconds)

    Ce processor InnovatingP1 and compiler B:

    no of counsels/core=1750

    CPI=1.8

    Cycle interval=1/3.4*109 = 294.12 ps(pico seconds)

    CPU interval=(estimate of counsels)*(cycles per counsel)*(cycle interval)=1750*1.8*294.12=926.47 ns(nano seconds)

    Ce processor InnovatingP2 and compiler B:

    no of counsels/core=500

    CPI=5.0

    Cycle interval=1/2.6*109 = 384.62 ps(pico seconds)

    CPU interval=(estimate of counsels)*(cycles per counsel)*(cycle interval)=500*5.0*384.62=961.53 ns(nano seconds)

    Of full the associations Processor InnovatingP2 and compiler A has moderate CPU interval so this association is the best which accept ameliorate deed.

    Using the metric (Cycles/s)*Cores/(Dollars2 )

    NewP1: ((3.4 × 109 ) ∗ 4 )/ 1702 = 4.71 × 105 cycles*centre seconds*dollars2

    NewP2: ((2.6 × 109 ) ∗ 4 )/ 1702 = 3.60 × 105 cycles*centre seconds*dollars2

    Using this metric, NewP1 has the prominent treasure. However, this metric is referable very authenticationful becaauthentication the deed quantity(in 1st question) aloft shows that the NewP2 can ooze programs faster with the corresponding estimate of centres and require. It is referable speaking of a cheerful computer ce its cost.