Question

In: Computer Science

1. Computer A has an overall CPI of 1.2 and can be run at a clock...

1.

Computer A has an overall CPI of 1.2 and can be run at a clock rate of 600MHz.

Computer B has a CPI of 2.5 and can be run at a clock rate of 750 MHz. We have a

particular program we wish to run. When compiled for computer A, this program has

exactly 100,000 instructions. How many instructions would the program need to have

when compiled for Computer B, in order for the two computers to have exactly the

same execution time for this program?

2.

For a new version of processor, suppose the capacitive load remains, how much more

energy will the processor consume if we increase voltage by 20% and increase clock rate

by 20%?

Solutions

Expert Solution

1) CPU time of A = (Number of instruction count of A) * (CPI of A) * (Clock cycle time of A)

or, CPU time of A = (100000 * 1.2) / (600 * 106)

CPU time of B = (Number of instruction count of B) * (CPI of B) * (Clock cycle time of B)

or, CPU time of B = (Instruction count of B * 2.5) / (750 * 106)

Let, number of instruction count of B = X

So, CPU time of B = (X * 2.5) / (750 * 106)

According to the condition, CPU time of A = CPU time of B

or, (100000 * 1.2) / (600 * 106) = (X * 2.5) / (750 * 106)

or, (120000) / (600 * 106) = 2.5X / (750 * 106)

or, X = 60000

So, the number of instructions = 60,000.

2) Power Consumption = CV2 / R

Where, C is capacitance, V is voltage and R is the clock rate.

In the initial, Power consumption (P1) = C1V12 / R1

After the voltage and the clock rate are increased Power consumption (P2) = C2V22 / R2

Where, C1 = C2

V2 = 1.2 * V1

R2 = 1.2 * R1

So, (P1 / P2) = (C1V12 / R1) * (R1 * 1.2 / C1 * 1.2 * 1.2 * V12)

or, (P1 / P2) = 1 / 1.2

or, P2 = 1.2 * P1

So, the energy consumption will be increased by 20%.

Hope this helps.


Related Solutions

Computer A has an overall CPI of 1.5 and can be run at a clock rate...
Computer A has an overall CPI of 1.5 and can be run at a clock rate of 2.5GHz. Computer B has a CPI of 4 and can be run at a clock rate of 4GHz. We have a particular program we wish to run. When compiled for computer A, this program has exactly 100,000 instructions. How many instructions would the program need to have when compiled for Computer B, in order for the two computers to have exactly the same...
a clock maker has 15 clock faces. each clock requires 1 face and 2 hands. If...
a clock maker has 15 clock faces. each clock requires 1 face and 2 hands. If the clock maker also has 42 hands, how many clocks can be produced? If the clock maker has only 8 hands, how many clocks can be produced?
1. How CPI and cost of living are related? 2. Can we compare CPI and GDP...
1. How CPI and cost of living are related? 2. Can we compare CPI and GDP Deflator to compare inflation? 3. How can we compare 1980 property rents to today’s property rents? 4. When the real and nominal interest rates are or become equal? 5. Why CPI is may not be a good measure of Cost of Living?
In 1997 the US CPI was 160 and in 2019 it was 256. The CPI has...
In 1997 the US CPI was 160 and in 2019 it was 256. The CPI has base year of 1982. Use this information for the following three questions. 27. The average annual percent rate of inflation from 1997 to 2019 was closest to A. 1.2 B. 2.1 C. 3.1 D. 4.2 28. In 2019, the nominal minimum wage is $11. The real minimum wage increased over this period about how many percent per year? A. 0.01 B. 0.1 C. 1.5...
CPI sells computer peripherals. At December 31, year 1, CPI’s inventory amounted to $600,000. During the...
CPI sells computer peripherals. At December 31, year 1, CPI’s inventory amounted to $600,000. During the first week in January, year 2, the company made only one purchase and one sale. These transactions were as follows. Jan. 2 Purchased 20 modems and 80 printers from Sharp. The total cost of these machines was $35,000, terms 3/10, n/60. Jan. 6 Sold 30 different types of products on account to Pace Corporation. The total sales price was $20,000, terms 5/10, n/90. The...
CPI sells computer peripherals. At December 31, year 1, CPI’s inventory amounted to $550,000. During the...
CPI sells computer peripherals. At December 31, year 1, CPI’s inventory amounted to $550,000. During the first week in January, year 2, the company made only one purchase and one sale. These transactions were as follows. Jan. 2 Purchased 20 modems and 80 printers from Sharp. The total cost of these machines was $30,000, terms 3/10, n/60. Jan. 6 Sold 30 different types of products on account to Pace Corporation. The total sales price was $15,000, terms 5/10, n/90. The...
We have decelerating inflation of 1.2% based on CPI index in Q2 2019-20 with declining growth...
We have decelerating inflation of 1.2% based on CPI index in Q2 2019-20 with declining growth in consumption, investment and net exports compared to Q2 2018-19. The growth rates of components of AD curve have shown sustained decline in the last few quarters. The natural rate of unemployment has risen from 5.1% to 10.2% from Q2 2018-19 to Q2 2019-20. The capacity utilization of core 8 industries has decreased from 96% to 76% from Q2 2018-19 to Q2 2019-20. i)...
1. List two low clock speed products, two medium clock speed products and two fast clock...
1. List two low clock speed products, two medium clock speed products and two fast clock speed products. 2. How does a low clock speed product impact the product design strategy? How about a fast clock speed? 3. Give me three examples of products that are designed to lower shipping and storage costs. 4. How does the large number of models, options, and products make the supply chain more complex and difficult to manage? (A few sentences)
1. You want to design a pendulum for a grandfather clock so that it has a...
1. You want to design a pendulum for a grandfather clock so that it has a period of 2.00 seconds (so that one “tick” plus one “tock” occur during one complete period). The pendulum has a heavy 8.00-kg bob. (Throughout this problem, assume an ideal simple pendulum: the pendulum’s arm has negligible mass, the bob can be approximated as a point-mass, the initial angle of displacement is small, and there is negligible friction.) a.) If you want the clock to...
1. Which of the following statement about the CPI is not correct? a. the CPI tracks...
1. Which of the following statement about the CPI is not correct? a. the CPI tracks changes in the price of import goods. b. the CPI tracks changes in the price of export goods. c. the CPI is based on the same set of goods over a multi-year period. d. the CPI only includes consumption goods – it does not include capital investment goods. 2. Suppose 60% of money is held as currency and the reserve ratio is 0.3. The...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT