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
AlexFokin [52]
1 year ago
7

You are given the following design parameters, fill in the table: All memory addresses are 32-bit long; A 64Kbyte (2^16 byte) ca

che is added between the processor and the memory. (64Kbytes do not include the amount of space used to store tags and status bits); There are two associativity choices for the cache: direct-mapped and 2-way set associative. There is a 20 percent increase in cache access time and a 40 percent miss rate reduction when moving from a direct-mapped cache to a 2-way set associative cache: There are two cache block size choices of 16bytes and 32bytes. It takes 20 ns to retrieve 1 Gbytes of data from the main memory and 25 ns to retrieve 32 bytes of data. The cache returns the value to the processor after the entire cache block is filled. However, the cache miss rate is reduced by 25 percent when the cache block size doubles; It takes 10ns to access a 64Kbyte direct-mapped cache; The cache nuss rate for a 64Kbyte direct-mapped cache is 10 percent
Computers and Technology
1 answer:
Zanzabum1 year ago
5 0

Time taken to access the average memory

When direct mapping is utilized, 1. when the block has a 16-byte size.

Given that the memory access time (m) is 20ns and the cache access time (Tc) is 10ns, the cache miss rate is 10%, or 0.1(1-H).

AMAT = HTc + (1-H)(Tc+m) Cache hit rate (H) = 0.9

=HTc + Tc + m -HTc - Hm = Tc + (1-H)m = 10 ns + 0.1 x 20 = 10 ns + 2 = 12 ns

2. direct mapped cache with a 32-byte block size.

Given that the access time to the cache and memory is equal to 10 nanoseconds,

Because of the 25% reduction in the question's cache miss rate, the cache miss rate (1-H) is 0.075. The new miss rate is 75% of 0.1, or 0.075.

Tc + (1-H)m' = 10+0.075 x 25 = 10 + 1.875 = 11.875 ns is what AMAT is.

when there is two-set associativity.

1. when a 16-byte block is in use.

The question indicates that the time it takes to access the new cache goes up by 20% of 10ns.

Access time to the new cache, T'c=12ns

The rate of misses went down by 40%, so the new miss rate is 60% of 0.1. which equals 0.006 (1-H').

AMAT = T'c + (1-H')m.

AMAT is equal to 13.2 ns for 12 ns plus 0.06 x 20.

2. when a cache block is 32 bytes in size.

Access time to memory (m') equals 25 nanoseconds.

By increasing the block size, the miss rate is reduced by 25%.

Therefore, the miss rate is 0.045 = (1-H')/75% of 0.06

AMAT is 12 + 0.45 * 25 = 12 + 1.125, or 13.125 ns.

To learn more about average memory here

brainly.com/question/26256045

#SPJ1

You might be interested in
a mobile base in an urban environment has the power of 15 microW at 175 m. If the propagation follows an inverse cube power law,
Evgen [1.6K]

Answer: Power P at distance 0.7 km is: 0.234 µW

Explanation:

We know that

inverse cube-power law.

Thus Power, P = c / d³

Substituting we have

15 µW = c / (175 m)³

c = (15 µW) x (175 m)³

Then finally Power value at 0.7 km.

Will be

P = c / d³

P = ((15 µW) x (175 m)³) / (700 m)³

= (15 µW) x (175 / 700)³

= (15 µW) x (0.25)³

=(15 µW) x (0.015625)

P = 0.234 µW

8 0
4 years ago
Iven an array temps of double s, containing temperature data, compute the average temperature. Store the average in a variable c
ale4655 [162]

Answer:

import java.util.Arrays;

import java.util.Scanner;

public class num1 {

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter length of the array:");

       int len = in.nextInt();

       double [] temps = new double[len];

       double avgTem;

       int k =0;

       double total = 0;

       for( k=0; k<temps.length; k++){

           System.out.println("Enter values for the array");

           temps[k]=in.nextDouble();

       }

       System.out.println("The Arrays contains the following values");

       System.out.println(Arrays.toString(temps));

       // Computing the average of the values

       for(k=0; k<temps.length; k++){

           total = total+temps[k];

       }

       avgTem = total/(temps.length);

       System.out.println("The average Temperature is: "+avgTem);

   }

}

Explanation:

  • Using Java programming language
  • Import the Scanner class to receive user input
  • Prompt User for the length of the Array, receive and store in a variable len;
  • Declare a new double array of size len double [] temps = new double[len];
  • Using a for loop, continually prompt user to enter values into the array
  • Display the values of the array using Java's Arrays.toString method
  • Use another for loop to add up all the elements in the arraay and store in the variable called total
  • Outside the second for loop calculate the average avgTem = total/(temps.length);
  • Display the average temp.
6 0
3 years ago
Discuss four uses of computer ​
PtichkaEL [24]

1. It helps to the development of our career.

2. Through the internet, we can know the facts which were happening all over the world

3. Computer can be use as a calculator too

4. We can store any kind of information.

<h3>Hope This Helps You ❤️</h3>
6 0
3 years ago
Read 2 more answers
When a routerâs interface is configured with multiple ip addresses with each address belonging to different networks, what is it
padilas [110]
<span>When a routerâs interface is configured with multiple ip addresses with each address belonging to different networks, what is it called?
</span>
router on a stick
6 0
3 years ago
Please helpppp me!! thank youuu :)
Usimov [2.4K]

Answer:

3?

Explanation:

3 0
3 years ago
Other questions:
  • Using the drop-down menu, complete the following questions based on your knowledge of variables. is a value that can be used onl
    7·1 answer
  • A new company will have 40 workstations in one building sharing a single network. All users must be able to share files and prin
    9·1 answer
  • #Write a function called "in_parentheses" that accepts a
    5·1 answer
  • Write an essay of at least 300 words explaining your position on a proposed ban of Wikipedia in your future college. You should
    12·1 answer
  • The 'parseInt' method of the 'Integer' class throws a 'NumberFormatException' when it is passed a String argument that it cannot
    11·1 answer
  • Write a function all_cats that consumes a comma-separated string of animals and prints whether all of the animals have "cat" in
    12·1 answer
  • A series of related instructions that tells the computer what to do and how to do it?
    7·1 answer
  • True or False, A column is a horizontal arrangement for items of information.
    15·1 answer
  • What is command is used to improve the vocabulary and in which tab is it found​
    14·1 answer
  • Weak passwords are a(n) ___________ threat
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!