Total number of clock cycles

Assignment Help Basic Computer Science
Reference no: EM131189032

1. A program containing twenty million instructions is executed on a system with a fixed clock cycle time of 250 pico-seconds. All instructions are executed one at a time and each instruction requires a integral number of clock cycles. The divide instruction on this machine requires 12 clock cycles and accounts for 10% of the total number of instructions executed in the program. The other 90% of the instructions in the program require an average of 5 clock cycles per instruction.

a) The clock rate for this machine is

b) The total number of clock cycles consumed by the entire program is

c) What speedup (expressed to two decimal places) would be obtained for this program by making the divide instructions twice as fast? Speedup=

2. A certain program contains multiply instructions as well as other types of instructions. The CPI for each instruction in the program is 4. The fixed cycle time for the processor on which the program runs is C nano-seconds. The total number of instructions in the program is IC.

a) An improvement is made to the multiply instruction such that after the improvement the CPI for the multiply instruction is reduced to 3. The multiply instruction accounts for N% of the total instructions in the program. Prior to the change the running time for the program was 2.85 seconds. After the change the running time for the program is 2.28 seconds. What is the corresponding value for N? That is, to what percent of the total number of instructions does the multiply instruction correspond? Express your answer to two decimal places.

b) As a different case, suppose that the multiply instruction had a CPI of 12 before the improvement and accounts for 22% of the total number of instructions in the program. All instructions other than the multiply have a CPI of 4. What speedup factor would be provided for the program by reducing the CPI for the multiply instruction from 12 to 3? Express your answer to two decimal places.

Reference no: EM131189032

Questions Cloud

Ethical practices in faces of internal or external pressures : Select a publicly-traded firm of your choice that enjoys a solid shareholder base and launched within the past 10 years. What challenges has this firm encountered (or is likely to encounter) in terms of 1) incorporating ethics into financial manageme..
How does chinese private ownership differ from the ideal : Private property is often casually assumed to be everywhere the same. How does Chinese private ownership differ from the ideal, and why does this matter?
Purpose of organizational behavior for the company : •Describe the strategic role and purpose of organizational behavior for the company. -•Identify the organizational factors of organizational behavior for the company.
Company uses cumulative voting procedures : The shareholders of Motive Power Corp. need to elect three new directors to the board. There are 14, 600,000 shares of common stock outstanding, and the current share price is $10.95. If the company uses cumulative voting procedures, how much will it..
Total number of clock cycles : a) The clock rate for this machine is b) The total number of clock cycles consumed by the entire program is c) What speedup (expressed to two decimal places) would be obtained for this program by making the divide instructions twice as fast? Speedu..
What rate per procedure is required : You have been asked to set a rate for a Surgical-center. Costs are budgeted to be $4,000,000. Per year for projected surgical procedures of 7,000. The Surgical-center expects that 50 percent of its procedures will be Medicare and that Medicare will p..
Employee lifestyle choices and health economics : Determine the extent to which employee lifestyle choices and health economics would factor in to your chosen plan.
Algorithm using pseudocode : Design a greedy algorithm using pseudocode that solves this optimization problem of transferring files to disk while minimizing unused storage. The inputs to this algorithm are the number of files n, corresponding sizes (in MBs) s1, ... sn, m the n..
Determine the population of dandelions in your yard : Describe how you would use Sampling to determine the population of dandelions in your yard. What dispersion pattern did you find for the sunflower? Why do you think this is the pattern you see?

Reviews

Write a Review

 

Basic Computer Science Questions & Answers

  Difference between systems analysis and systems design

Illustrate the difference between systems analysis and systems design. What is the goal of each phase? What are the ramifications of finding flaws during the analysis phase or the design phase?

  Evaluate ethical issues faced by technology companies

Support your paper with a minimum of five (5) scholarly resources. In addition to these specified resources, other appropriate scholarly resources, including older articles, may be included.

  What is the output of the following oddstuff method

What is the output of the following oddStuff method?

  Argument upon technical research and social analysis

How do you think databases and their programming language are going to evolve in the next 20 years? Provide some trend analysis and base your argument upon technical research and social analysis

  Relational database optimized for online transactions

Outline the main differences between the structure of a relational database optimized for online transactions versus a data warehouse optimized for processing and summarizing large amounts of data.

  Principles of direct manipulation and give examples

principles of direct manipulation and give examples as to how they are used in video game controls

  Compares the four installations strategies showing

Develop a table that compares the four installations strategies showing the pros and cons of each try to make a direct comparison when a pro of one is a con of another.

  Which of the following input technologies has been

1. telewire a mobile manufacturer offers free connections to customers who buy its mobile phones. this cost of

  Find the total power

Decompose s(t) into a linear combination of sinusoidal functions and find the amplitude, frequency, and phase of each component.

  Phases of organizational design strategy implementation

Describe one problem that could arise in each of the three phases of organizational design strategy implementation and describe its impact on the business.

  Input and output devices of a computer

Write a one page paper in APA format on the input and output devices of a computer

  Why does a car wheel need to be balanced please expansion

Why does a car wheel need to be balanced. Please expalian

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