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
For the following data, what is the average number of cycles per instruction?
Komok [63]

Answer:

2.82

Explanation:

The computation of the average number of cycles per instruction is shown below:

=  Arithmetic/logical operations × frequency cycles + Register load operations ×  frequency cycles  + Register store operations  ×  frequency cycles + Unconditional branch instructions ×  frequency cycles + Conditional branch instructions ×  frequency cycles

=  45% × 1 + 18% × 5 + 10% × 2 + 7% × 1 + 20% × 6

= 0.45 + 0.9 + 0.2+  0.07 + 1.2

= 2.82

7 0
4 years ago
PART 2 - Exercise 2 - Programming Assignment
Oliga [24]

Suppose that a linked list is used as a data structure for the hash table, create a program that includes steps his application counts the number of phrases in documents decided on via way of means of the user #include.

<h3>What is Programming?</h3>

It is the manner of making hard and fast commands that inform a pc the way to carry out a task. Programming may be finished the usage of lots of pc programming languages, inclusive of JavaScript, Python, and C++.

  1. This application counts the quantity of phrases in documents decided on via way of means of the user.
  2. #include
  3. #include
  4. #include the usage of namespace std; //Function 1 int count(string word)go back word.size();
  5. }
  6. //Function 2
  7. int vowel(string word)> filename;
  8. //Open the {input|enter">enter file.
  9. inputfile.open(filename.c_str()); cout<<"nWord listing after format";
  10. cout<<"n____nn"; //If the file succesfully opened, process it.if (inputfile).

Read more about program :

brainly.com/question/1538272

#SPJ1

5 0
2 years ago
If the mine winch drum diameter is 6M, how far will the counterweight lift for each single rotation of the drum
Gennadij [26K]

Answer:

Circumference of drum = 18.86 m

Given:

Diameter of drum = 6 m

Radius of drum = 3 m

Find:

Circumference of drum

Computation:

Circumference of drum is called single rotation

Circumference of drum = 2πr

Circumference of drum = 2[22/7][3]

Circumference of drum = 18.857

Circumference of drum = 18.86 m

5 0
4 years ago
Which of the following will Excel recognize as a date?
mario62 [17]

The option that shows how Excel recognize as a date is February 6 1947.

<h3>How does Excel see date?</h3>

The Excel  date is often seen as a regular number that is said to have been formatted to often look like a date.

One can you change the cell format to 'General' so that one can see the type of date serial number. Most times, the integer portion of the date serial number stands for the day, and the decimal portion stands for the time.

Read more about Excel from

brainly.com/question/25879801

6 0
2 years ago
Write the definition of a function named timeOnHighway that receives three parameters, all of type double: mileEndingPoint , mil
dybincka [34]

Answer:double timeOnHighway (double mileEndingPoint, double mileStartingPoint = 0.0, double speed = 55.0)

return (mileEndingPoint - mileStartingPoint) / speed

Explanation:

6 0
4 years ago
Other questions:
  • A prime number is a number that is only evenly divisble by itself and 1.
    12·1 answer
  • Which statement is true about customizing presentation programs?
    6·1 answer
  • Write a complete method from the client perspective that duplicates each element in place in a ListInterface object. For example
    8·1 answer
  • Who is the father of computer?<br>1.Charles Babbage 2.James Waat​
    15·2 answers
  • Which statements about grades are accurate? Check all that apply. Grades help indicate how well a student is understanding a cer
    13·1 answer
  • How could you represent the following binary color in hexadecimal? What is its numerical value? What color is it? How
    13·1 answer
  • What does an arrow after a command indicate
    13·2 answers
  • What is a primary risk to the Workstation Domain, the Local Area Network (LAN) Domain, and the System/Application Domain
    10·1 answer
  • What effect have computers had on your life?​​
    7·1 answer
  • you are tasked with managing multiple servers. you want to manage them all from one server manager interface so you don't have t
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!