1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
svet-max [94.6K]
3 years ago
12

2. Consider a 2 GHz processor where two important programs, A and B, take one second each to execute. Each program has a CPI of

1.5. In the next-generation design, the company architects came up with the idea that improves the CPI of A to 1.1 and the CPI of B to 1.4. But the idea is so complex that the processor can only be implemented with a cycle time of 0.6 ns. Does the new processor out-perform the original processor on program A? How about on program B? [20%]
Computers and Technology
1 answer:
allsm [11]3 years ago
5 0

Answer:

program A runs in 1 sec in the original processor and 0.88 sec in the new processor.

So, the new processor out-perform the original processor on program A.

Program B runs in 1 sec in the original processor and 1.12 sec in the new processor.

So, the original processor is better then the new processor for program B.

Explanation:

Finding number of instructions in A and B using time taken by the original processor :

The clock speed of the original processor is 2 GHz.

which means each clock takes, 1/clockspeed

= 1 / 2GH = 0.5ns

Now, the CPI for this processor is 1.5 for both programs A and B. therefore each instruction takes 1.5 clock cycles.

Let's say there are n instructions in each program.

therefore time taken to execute n instructions

= n * CPI * cycletime = n * 1.5 * 0.5ns

from the question, each program takes 1 sec to execute in the original processor.

therefore

n * 1.5 * 0.5ns = 1sec

n = 1.3333 * 10^9

So, number of instructions in each program is 1.3333 * 10^9

the new processor :

The cycle time for the new processor is 0.6 ns.

Time taken by program A = time taken to execute n instructions

=  n * CPI * cycletime

= 1.3333 * 10^9 * 1.1 * 0.6ns

= 0.88 sec

Time taken by program B = time taken to execute n instructions

= n * CPI * cycletime

= 1.3333 * 10^9 * 1.4 * 0.6

= 1.12 sec

Now, program A runs in 1 sec in the original processor and 0.88 sec in the new processor.

So, the new processor out-perform the original processor on program A.

Program B runs in 1 sec in the original processor and 1.12 sec in the new processor.

So, the original processor is better then the new processor for program B.

You might be interested in
Help it’s an exam brainleist
andreyandreev [35.5K]

Explanation:

Automatic transaction machine

False

True

8 0
4 years ago
Network firewall entry and exit points are called
LuckyWell [14K]
___the answer is ports
6 0
4 years ago
Select the correct answer.
tangare [24]

Answer:

A. noise reduction

Explanation:

noise reduction reduces the loud sounds and makes it low, also noted that the low sounds are kept the same meaning its definitely noise reduction.

Extra's:

  • amplify - increases the strength of a sound.
  • compress - makes and affects both low and high sound by making them averagely high
  • normalise - to get the maximum volume.
3 0
2 years ago
What is quantum computing
Aleks [24]
Quantum computing is the use of quantum-mechanical phenomenon such as superposition and entanglement to perform computation.
4 0
3 years ago
Read 2 more answers
Which type of device allows you to give the computer information and ask it to perform tasks?
Anon25 [30]
Your answer is A, input device.
6 0
4 years ago
Other questions:
  • A .jpg file is an example of which of the following file types
    15·2 answers
  • A(n) __________ can include a computer's full operating system, applications, and system settings, including security and config
    7·1 answer
  • PLEASE HELP!!!! I'll mark Brainliest for whoever is first!!!!
    13·2 answers
  • What is an online recommendation engine?
    9·1 answer
  • Complete the PizzaCaloriesPerSlice() function to compute the calories for a single slice of pizza. A PizzaCalories() function re
    6·1 answer
  • Which function in the plane manager allows you to create a new plane where both x and y axes are perpendicular to the line selec
    14·1 answer
  • Using examples, evaluate the open source model of software development. In your discussion highlight some of its advantages and
    12·1 answer
  • If someone wanted to talk to a financial institution representative in person they would need to _____.
    5·1 answer
  • Convert the following numbers to binary numbers: 5 , 6 , 7 , 8 , 9 .​
    13·2 answers
  • Decribe the advantages of using emails compared with physical faxing ?
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!