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
Feliz [49]
3 years ago
12

If a referenced memory word is in the cache, 20 ns are required to access it. If it is in main memory but not in the cache, 60 n

s are needed to load it into the cache (this includes the time to originally check the cache), and then the reference is started again. If the word is not in main memory, 12 ms are required to fetch the word from disk, followed by 60 ns to copy it to the cache, and then the reference is started again. The cache hit ratio is 0.9 and the main memory hit ratio is 0.6.
What is the average time in ns required to access a referenced word on this system?
Computers and Technology
1 answer:
Marina86 [1]3 years ago
4 0

Answer:

480,026ns

Explanation:

the time it would take to access word = 20ns

time coipied in cache = 60 ns

20ns +60ns = 80ns

this is the time to acess from main memory

it takes 12ms to move memory word to main memory

1ms is 1000000

so 12ms = 12000000ns

1200000+20+60

= 12000080 nanoseconds

hit ratio = 0.9(cache)

hit ratio = 0.6 (main memory)

miss rate = 0.1

probability of word being in main memory

= 0.1 * 0.6

= 0.06

the hit ratio of disk = 1

prob = 0.1 * 0.4 * 1 = 0.04

.1 = miss rate of cache

.4 = miss rate of main memory

1 = hit ratio of hard disk

In cache with prob 0.9, total ns = 20

in main memory prob = 0.60, total ns = 80

in hard disk prob = 0.04, total ns = 12000080ns

average time = [pr(cache)*access time] + [pr(main memory)*access time] + [pr(hard disk)*access time]

= (0.9*20)+(0.06*80)+(0.04*12000080)

= 18+4.8+480,003.2

= 480,026 ns

You might be interested in
When you use the .net data provider objects to retrieve data from a database, you can store the data in an object called a?
Ainat [17]
Data set is the object that you can store data.
6 0
3 years ago
What do we call stores in a physical world?
djyliett [7]

Answer:

brick and mortar stores i believe

6 0
3 years ago
An employee sets up an automation that transfers files in a specific folder on their PC to a remote drive for archiving, provide
Yuri [45]

Answer:

Rule based automation

Explanation:

8 0
3 years ago
What do you understand by the term polysome?​
jasenka [17]

Answer:

A polyribosome (or polysome or ergasome) is a group of ribosomes bound to an mRNA molecule like “beads” on a “thread”. It consists of a complex of an mRNA molecule and two or more ribosomes that act to translate mRNA instructions into polypeptides.

6 0
3 years ago
Susan is troubleshooting a problem with a computer's network cabling. At which layer of the Open Systems Interconnection (OSI) R
Alisiya [41]

Answer:

Physical layer

Explanation:

The physical layer is responsible for the physical cable or wireless connection.

6 0
3 years ago
Other questions:
  • How many packets does your computer send/receive in a single mouse click when you visit a website?
    6·1 answer
  • Which type of natural hazard is sometimes caused by human activity?
    6·1 answer
  • Print the two strings in alphabetical order. assume the strings are lowercase. end with newline. sample output: capes rabbits
    5·2 answers
  • One guideline for writing content for the web is to use ____ space to visually separate sections of content.
    15·1 answer
  • This is an attack that depends on the fact that duplicate values, also called collisions, appear much faster than you would expe
    11·1 answer
  • Write a technical term for following statements
    15·1 answer
  • A 90-minute film is based on a fictional couple. They are very happy throughout the entire film. The film shows how they met, wh
    5·2 answers
  • What is the unit of measure ment to easure cpu speed
    11·1 answer
  • What is added to brining liquid to add flavour​
    6·1 answer
  • Write a loop that continually asks the user what pets the user has until the user enters rock in which case the loop ends. It sh
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!