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
Sergio039 [100]
3 years ago
8

Given the following stream of accesses to a 4-block fully associative cache with LRU replacement, determine whether the access i

s a hit or a miss. If it is a hit, write "hit". If it is a compulsory miss, write "compulsory", and similarly for conflict and capacity misses. Assume the cache is initially empty and all addresses are block addresses (that is, the offset is omitted). 0x1111 0x1000 0x1234 0x0000 0xab23 0x1234 0x0000 0x1111 0x1000 0x1234
Computers and Technology
1 answer:
erma4kov [3.2K]3 years ago
3 0

The number of memory miss cycles for instructions in terms of the Instruction count (I) is

image

As the frequency of all loads and stores is 36%, we can find the number of memory miss cycles for data references:

image

The total number of memory-stall cycles is 2.00 I+1.44 I=3.44 I. This is more than three cycles of memory stall per instruction. Accordingly, the total CPI including memory stalls is 2+3.44=5.44. Since there is no change in instruction count or clock rate, the ratio of the CPU execution times is

image

The performance with the perfect cache is better byimage.

What happens if the processor is made faster, but the memory system is not? The amount of time spent on memory stalls will take up an increasing fraction of the execution time; Amdahl’s Law, which we examined in Chapter 1, reminds us of this fact. A few simple examples show how serious this problem can be. Suppose we speed-up the computer in the previous example by reducing its CPI from 2 to 1 without changing the clock rate, which might be done with an improved pipeline. The system with cache misses would then have a CPI of 1+3.44=4.44, and the system with the perfect cache would be

image

The amount of execution time spent on memory stalls would have risen from

image

to

image

Similarly, increasing the clock rate without changing the memory system also increases the performance lost due to cache misses.

You might be interested in
in a client server architecture what are the three propoerties of a client and three properties of a server
polet [3.4K]

The three properties of a client and three properties of a server are mentioned to take the initiative in communication, etc.

<h3>What is server architecture?</h3>

Server architecture is the basic design or blueprint from which a server is built and/or deployed.

Client: takes the initiative in communication, doesn't speak to other clients directly, and only has to be online while a procedure is being completed.

The server is always running, waits for communication to begin, and serves several clients at once.

Thus, the three properties of a client and three properties of a server are mentioned to take the initiative in communication, etc.

Learn more about the server architecture here:

brainly.com/question/15220127

#SPJ4

4 0
2 years ago
The TCP congestion control measure techniques fall into two categories: retransmission timer management and ________ management
Paladinen [302]

Answer:

Window management

Explanation:

In TCP congestion control, aside from retransmission timer management, the other category of technique is called WINDOW MANAGEMENT: this is carried out by the sender to end a link between the sender and the receiver to prevent overloading of too much traffic of bytes that can be sent in a given period.

Hence, in this case, the correct answer is WINDOW MANAGEMENT.

7 0
3 years ago
My friend has a battery of 9000mah and loses 10 every day how many days well it take to go to zero
forsale [732]
I think it's 900 but I can't be sure.
8 0
3 years ago
Materials used in front office
mina [271]

Answer:

A Telephone, Printer, Computers, Security Monitor

4 0
3 years ago
Which of these are steps in the testing cycle? Check all of the boxes that apply.
ollegr [7]

Answer:

A,C and D

Explanation: You're welcome

5 0
3 years ago
Read 2 more answers
Other questions:
  • On a pie chart, the different sections or "wedges" show:
    9·1 answer
  • In a(n) ________ either one condition or some other condition must be met in order for an event to take place.
    11·1 answer
  • Create a DisplayBox application that prompts the user for a height and width and then displays a box of that size. The DisplayBo
    8·1 answer
  • Which of the following are types of home internet service? Check all that apply
    7·1 answer
  • I have to writea piece of code to calculate the factorial of somewhat large numbers so the long long type won't suffize, so usin
    7·1 answer
  • Write a SELECT statement that returns these column names and data from the Order_Items table:
    14·1 answer
  • What is the maximum rate at which computers A and B can communicate, via router X? (your answer should be in Mbps)
    12·1 answer
  • Lets computer know what to do when it starts up...
    9·1 answer
  • _____ is confirming the significance of what another person is feeling.
    9·2 answers
  • What is the most important person and why
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!