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

  What is the probability p[g = r]

what is the probability P[G = R]?

  Find the delay and the phase difference

find the delay and the phase difference

  Write down the mathematical model as an lp

Write down the mathematical model as an LP, Solve the problem using MS Excel Solver (submit only hard copies of the model and the solution sheet), Solve the problem with AMPL (submit hardcopies of the model, data and output files). You should use co..

  Define about normalization and redundancy

Explain the key ways in which the business rules support the degree of normalization and the elements that can be denormalized

  Write a program that places the names in an array

The USPres.txt contains the names of the 44 U.S. presidents in the order in which they served. write a program that places the names in an array and displays all presidents for a requested range of numbers.

  Create a view that lists the isbn and title for each book

Create a view that lists the ISBN and title for each book in inventory along with the name and phone number of the person to contact if the book needs to be reordered. Name the view REORDERINFO

  Terracotta is bigmemory maximum using server arrayconfigur

how terracotta is BigMemory Maximum using Server array Configratio

  Integrate a sql statement in a php document

Do a PHP While Loop, and also integrate a SQL statement in a PHP document.

  Transformation of technological advancements of societies

Does or has religion played a critical role in the transformation of technological advancements of societies? What evidence can you provide?

  Company logo executive summary table of content

Group Portion Think of a business you would like to start. (I prefer Business name to be "World pre-owned Producers, Inc." Develop a business plan for your new business. The 4-6 page business plan must include the following: Company Logo Executive Su..

  Convert the following string to uppercase

-Write two assembly language programs one using regular instructions (not string instructions) and one using string instructions. The program should copy the string in problem-1 to another location and then compare the original and copied string t..

  Understanding of encapsulation by creating accessor

MyClone accessors and mutators: You will demonstrate your understanding of encapsulation by creating accessor and mutator methods for all instance variables of the MyClone class.

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