Calculate the average cpi for the first program

Assignment Help Computer Engineering
Reference no: EM131772526

Architecture Assignment

1. Consider two programs running on a computer.

a. The first program's instructions can be broken into the following classes of instruction with associated percentages of the program:

 

Type A

Type B

Type C

Type D

CPI:

2

2

3

1

Percentage of Instructions:

21%

14%

34%

30%

Percentage of Instructions: 21% 14% 34% 30%

Calculate the average CPI for the first program.

b. Assume the second program has an average CPI of 2.21 and IC = 22 x 103 and the CPU clock rate is 3.0 GHz. What is the run time of the program expressed in microseconds?

2. Assume we have a reference program P1 with 45,323,900 instructions that runs on a Motorola chip with an average CPI of 5. 6 and a clock rate of 3.8 GHz.

a. What is the execution time of P1 on the Motorola chip?

b. If a second program P2 runs 1.3 times faster on the Motorola chip with a clock rate of 4.0 GHz and the same instruction count, what is the CPI for P2?

3. Consider a program comprising 25% arithmetic instructions, 32% load instruction, 13% store instructions, and 30% branch instructions. Assume the CPI for arithmetic instructions is 1, for load and store instructions it is 4, and branches have a CPI of 2. The CPU clock rate is 3.4 GHz. We have a reference program with 1,102,000 instructions.

a. What is the run time of the program given?

b. Consider running the program on a machine with a large graphics card. When we run the program on this machine, the arithmetic instructions only can be run in parallel on the card, everything else is run sequentially. As the number of stream processors on the GPU goes toward infinity, what is the maximum speedup obtainable on this program?

c. Consider running the program on a version of the CPU with a clock rate of 2.4 GHz, but which has a CPI of 3 for load and store instructions (all other's CPIs remain the same). Which CPU performs better on the program and by how much?

4. An architecture runs a program of interest in 46 seconds on a particular computer chip constructed on a 90nm fab. Six years later a newer version of the chip requires only 11.5 seconds to run the same program.

a. Assuming the improvement comes primarily from clock rate, and the original chip ran at 1.2 GHz, what is the approximate new clock rate?

b. If the improvement in clock rate is due to Dennard scaling, what should be the approximate fabrication size, 14nm, 22nm, 32nm, or 45nm and why?

c. What Law accounts for the improved performance of this chip over time?

Reference no: EM131772526

Questions Cloud

Assessing the probability of getting a ticket : Suppose you are trying to decide whether to park illegally while you attend class. If you get a ticket, the fine is $25.
Calculate the estimated profit of your company : You are considering opening a kiosk in the mall that will sell customizable aprons. Calculate the estimated profit of your company for first year of operation
Complete the social media campaign you will propose : complete the Social Media Campaign you will propose, targeting either residential or industrial customers
Comment on the given unusual lottery events : On September 11, 2002, the first anniversary of the 9/11 attack on the World Trade Center, the winning number for the New York State lottery was 911.
Calculate the average cpi for the first program : Calculate the average CPI for the first program. What is the execution time of P1 on the Motorola chip? What is the run time of the program given?
Estimate the proportion of students at college : Suppose you want to estimate the proportion of students at your college who are left-handed. You decide to collect a random sample of 200 students.
Calculate the value of a bond that matures : Calculate the value of a bond that matures in 10 years and has a $1,000 par value. The annual coupon interest rate is 9 percent and the market
Prepare a balance sheet in its proper format : Jim Smith had trouble finding a job, so he decided to start his own sole proprietorship by the name of Designers, Inc. Prepare a balance sheet
Prepare a creative brief based on your practice : prepare a creative brief based on your practice in the Learning Activity and the scenario below

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd