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
An insurance company utilizes SAP HANA for its day-to-day ERP operations. Since they can’t migrate this database due to customer
hichkok12 [17]

Answer: An Internet-routable IP address (static) of the customer gateway's external interface for the on-premises network

Explanation:

Based on the information given, an Internet-routable IP address (static) of the customer gateway's external interface for the on-premises network need to be configured outside of the VPC for them to have a successful site-to-site VPN connection.

The Internet-routable IP address will be used in the identificatiob of each computer through the use of the Internet Protocol for the communication over a network.

3 0
3 years ago
When you save a Notepad file for the first time, you must also A. print a copy for your records. B. give it a name. C. check the
Kruka [31]
Answer: Give it a name
3 0
4 years ago
Convert ⅖ pie radian to degree​
aniked [119]

Answer:

Convert to a decimal.

22.9183118°

Explanation:

7 0
4 years ago
What is the main reason to create flash cards?
ryzh [129]

the main reason it to create flash card is the first one

5 0
3 years ago
Read 2 more answers
Which three major objects are built into the JavaScript language?
Marizza181 [45]

Answer:

jddjjddjdjdjjsjsjejejejjejejejjdjdjeje

3 0
3 years ago
Read 2 more answers
Other questions:
  • Which member of the restaurant and food/beverage service career is mostly likely to plan menus and direct worker
    6·2 answers
  • To the following is not a network connection LAM MAN SAN WAN
    9·1 answer
  • Name similarities between innovation and invention
    6·1 answer
  • When a business is using methods that help it use its time and resources the best they can, what are they exercising?
    11·2 answers
  • If i don't update my computer what threat does my computer face?
    6·1 answer
  • What is the central idea of the second section:
    14·1 answer
  • A type of multiprocessor chip that provides two or more separate and independent CPUs.
    8·1 answer
  • PLEASE HELP!! WILL MARK BRAINLIEST!!
    15·1 answer
  • 3. Cellular phone technology works on a system of geographically separated zones
    12·1 answer
  • A client is looking to maximize value from its Cloud investments by baselining, profiling, and prioritizing its human capital ne
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!