What influence do differences have on fundamental equation

Assignment Help Basic Computer Science
Reference no: EM13326809

Consider the fundamental practitioner equation of computer performance:

TimeCPU = (dfrac|s e c o n d s|c omp l e t e p r o g r a m e x e c u t i o n= (dfrac|i n s t r u c t i o n s|
p r o g r am) ×(dfrac|a v e r a g e c y c l e s|i n s t r u c t i o n) × (dfrac|a v e r a g e s e c o n d s|c y c l e)


3.1 Assume you need to decide between two machines that are otherwise identical except for the actual CPU - that is, the machines have the same RAM, internal bus, I/O systems, and the like - only the CPUs change but that the throughput of the various other components balance with either CPU. One CPU is a CISC machine, and the other is a RISC machine. The average executable program of the CISC machine has 1/4 the instructions used for the same program on the RISC machine (that is, the same program source code when compiled by equivalent compilers on each of the two platforms is used to produce the executable program for each platform). What must be the relationship between the average number of cycles per instruction and the average time per cycle for the two machines to take the same TimeCPU?

Assume that the time for the optimizing compiler to run on the two platforms is five times longer on the RISC machine than on the CISC machine.

Assume that the RISC program takes 50 seconds to compile. Assume that the program will be run once. How much time must the program take for execution on the RISC platform before the total time for compilation plus execution is less on the RISC platform than the CISC platform?

As the number of runs of the executable programs grows ("goes to infinity"), prove that the difference in compilation time on the two platforms becomes irrelevant for the total time for the program.

As discussed in lecture, RISC machines use different resources (e.g., registers) compared with a CISC machine for actual execution of programs, and in particular, for programs that use modules (e.g., subroutines). What influence do these differences have on the fundamental equation of computer performance? (Hint: consider the availability of resources for such issues as starvation.) You must provide quantitative examples (either using actual values or symbols) for full credit. In other words, how realistic is this equation for real platforms?

Reference no: EM13326809

Questions Cloud

How many generations will take to eliminate the gene : A mouse breeder has a strain of black mice that normally breed true and produce only black mice. Occasionally, however, a brown mouse or two has appeared in litters of some of the mice.
How space efficient is your hamming code : Construct a specific error in more than this number of bits and explicitly show that the Hamming algorithm fails to detect the error. How space (number of bits required) efficient is your Hamming code?
Find a valid literature source that proves statement wrong : TFIID (In reference to TBP-associated factors, RNA pol II)is a complex of multiple proteins. It is considered a basal factor and is pretty much always going to be binding to initiate transcription in eukaryotes.
Find how high above the water was she : On a hot summer day a young girl swings on a rope above the local swimming hole. how high above the water was she when she let go of the rope
What influence do differences have on fundamental equation : As the number of runs of the executable programs grows ("goes to infinity"), prove that the difference in compilation time on the two platforms becomes irrelevant for the total time for the program.
What was its initial direction of motion : A soccer ball is kicked with an initial speed of 9.8 m/s. After 0.200 s it is at its highest point. What was its initial direction of motion
Explain what happens to consumer producer and total surplus : Explain what happens to consumer, producer, and total surplus when a firm is able to use price discrimination effectively?
How long does the cork remain in the air : A hot air balloon decends toward the ground with a velocity of (1.6 m/s)y hat. A champagne bottle is opened to celebrate takeoff, How long does the cork remain in the air
What horizontal distance does it cover during its flight : A seed shoots out from the pod with the speed of 2.8 m/s but with a direction of motion 30° below the horizontal. What horizontal distance does it cover during its flight

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Consider a hypothetic experiment

One of the most widely used applications of spectroscopy is for the quantitative determination of the concentration of biological molecules in solution. The absorbance of a solution.

  Formula gives the distance between two points (

formula gives the distance between two points (x1, y1) and (x2, y2) in the Cartesian plane:

  What are the problems with the horizontal and vertical

What are the problems with the ‘‘horizontal'' and ‘‘vertical'' solutions to the handling of multiple relationships as described in the chapter?

  Calculate performance of cache and the average cpi

Assume the instruction cache miss rate is 0.5% and the data cache miss rate is 1%. Calculate the performance of the cache (CPU execution time) and the average CPI.

  Recursive multiplication

Recursive Multiplication Write a main program that uses a recursive function. This function accepts two arguments into the parameters x and y.

  Create a florida state information system

Create and use a Microsoft Access Database from which the program will retrieve the city information. Include 1 table with 5 fields per row, and 10 rows of data (cities).

  Given a scanner of double values

public double[] stats(Scanner scanner) Given a Scanner of double values, return an array of capacity three that has the maximum value in the Scanner as the value in result[0]

  Develop a fact-finding plan including interviews

Design a questionnaire that will go to a sample of Kahuna Cleaning Supply customers to find out if they were satisfied with the sales and ordering process.

  Use strong mathematical induction to prove

Use (Weak) Mathematical Induction to prove that for n ? 0, an = 4 · 3^n

  Use of visitor pattern to supply additional functionality

Rather than use the Visitor pattern to supply additional functionality. Give the details and compare the advantages and disadvantages of this approach when compared to the Visitor pattern.

  How many different seven-digit phone numbers can be formed

How many different seven-digit phone numbers (ignoring area code) can be formed? Can city of 2 million people be served by single area code? Describe.

  Explain advantages of having componentized system

Explain some of the advantages of having componentized system. For instance, What occurs if the microwave breaks?

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