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

  What are some internal and external factors

Cite at least two successful and two unsuccessful examples of the use of IS/IT for gaining or enhancing competitive advantages.

  Explaining use of information technologies to act ethically

When it comes to use of information technologies, it is frequently difficult to find out how to act ethically. Consider some of your own use of information technologies.

  Determine relation of m and n-existence of a hash function

Determine the most general relation of m and n that guarantees the existence of a hash function in H that causes no collision when hashing [n] into [m].

  What are the differences between file viruses

1. What are the differences between file viruses, boot viruses, macro viruses, and network viruses?

  Describe how single-user system scheme works

Give a real-life example of a single-user system scheme, fixed partitions, dynamic partitions, and relocatable dynamic partitions. Describe how process works.

  What u think about the article database fight funding cuts

What u think about the article Database fight funding cuts

  Explain roles and influences of computers

Topic is "The Global Economy" . You will be writing the term paper replying to the following questions? Explain the roles and influences of computers and communications technology in increase of trans-border economic activity.

  How many clock cycles are needed

Indicate data dependency in the code below. Assuming there is no forwarding in the pipeline, howmany clock cycles are needed to finish the program? If full forwarding is used, how many clock cycles are needed?

  Construct a 3-bit counter using three d flip-flop

Construct a 3-bit counter using three D flip-flops and a selection of logic gates. The inputs should consist of a signal that resets the counter to 0, called reset

  Explaining data-tlb hit and data-cache hit

Upon a load instruction, event "data-TLB hit" followed by "data-cache hit" is the most probable to occur among four possibilities of Cartesian product.

  Design a system (i) using a rom; and (ii) using a pal.

For the following set of functions, design a system (i) using a ROM; and (ii) using a PAL.

  Write a program that checks a text file for several

Write a program that checks a text file for several formatting and punctuation matters. The program asks for the names of both an input file and an output file.

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