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
kvasek [131]
4 years ago
7

You are asked to optimize a cache design for the given references. Th ere are three direct-mapped cache designs possible, all wi

th a total of 8 words of data: C1 has 1-word blocks, C2 has 2-word blocks, and C3 has 4-word blocks. In terms of miss rate, which cache design is the best? If the miss stall time is 25 cycles, and C1 has an access time of 2 cycles, C2 takes 3 cycles, and C3 takes 5 cycles, which is the best cache design?
Computers and Technology
1 answer:
Alja [10]4 years ago
8 0

Answer:

Explanation:

From the given data, Direct-Mapped cache with 8words of data means 2^3 of data.

There are three caches C1, C2 and C3.

C1 has 1 word blocks

C2 has 2 word blocks

C3 has 4 word blocks

also, Miss stall = 25 cycles.

We have,

Miss rate = 3% for current block size

Thus, for cache C1, miss rate = 3%

cache C2, miss rate = 2%

cache C3, miss rate = 1.2%

So, the cache C3 design is the best. In terms of miss rate. The cache performance increases with decrease in miss penalty.

That means if miss penalty is less, then the performance of cache increases. And for cache C3, the miss penalty is less.

From given data

C1 acess time is 2 Cycles.

C2 acess time is 3 Cycles.

C3 acess time is 5 Cycles.

Then

C1 stall time is 25*11+ 2*12 = 299.

C2 stall time is 25*9+ 3*12 = 261.

C3 stall time is 25*10+ 5*12 = 310.

In this case, C2 is the best cache design.

And

C1 stall time is 25*11+ 2*12 = 299.

C2 stall time is 25*8+ 3*12 = 236.

C3 stall time is 25*8+ 5*12 = 260.

In this case also, C2 is the best cache design.

You might be interested in
What is the name of the time delay in a CPU caused by differences between the speed o CPU, the system bus, and memory circuits?
Digiron [165]

Answer:

Option b is the correct answer for the above question.

Explanation:

The wait state is a state in which any process is waiting in a queue for his option. It happens when the other process is going on. It is because the CPU has not the capability to solve the problem of more processor. The above question asked about the name of the delay which is caused by the CPU for any processor then the answer is wait state because when a process is ready for the process but it is waiting for his turn then the state of the process is known as a wait state. so the Option b is the correct because it states about the wait state which is the correct answer which is described above but the other is not because--

  • Option 'a' states about the wait cycle which is not the correct option.
  • Option c states about the dead cycle which is also not the correct answer.
  • Option d states about the memory write which is also not the correct answer.

4 0
3 years ago
What does the % find?
-BARSIC- [3]
It finds a AMOUNT or percentage of a number.

You find this by multiplying or dividing.
3 0
3 years ago
Read 2 more answers
Task 7: The following is a quiz program that asks the us-
Leni [432]

Answer:

peread

Explanation:

7 0
3 years ago
How is integrating approach in done in teaching
katrin2010 [14]

Answer: Integrative learning is an approach where the learner brings together prior knowledge and experiences to support new knowledge and experiences.

Explanation:

Research.

4 0
3 years ago
What were the first microblogs known as
Greeley [361]
The first micro blogs was once known a tumblogs
6 0
3 years ago
Read 2 more answers
Other questions:
  • When considering server consolidation, plan on running ___________ vCPUs per core.a. 1 to 2b. 3 to 4c. 4 to 6d. 6 to 8
    7·1 answer
  • Can someone help me? Thanks.
    10·1 answer
  • Which option is NOT in the Link to portion of the Insert Hyperlink dialog box?
    5·2 answers
  • Write a program that will compare two names. The program prompts the user to enter two names for a comparison. If the names are
    8·1 answer
  • A student is curious about how a Web site appears on his computer screen. On a piece of paper,
    8·1 answer
  • A label control may be added to a form by double-clicking on the Label control icon in the ________ window.
    15·1 answer
  • What is a monitor?<br>i can ask everyone ​
    15·1 answer
  • Information such as audio or video files are broken down into
    7·1 answer
  • What is a term commonly used to describe the Python dictionary feature in other programming languages
    9·1 answer
  • Luke is working on a layout for a catalog. He adds cross lines on the four corners of the layout to mark out a small extra margi
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!