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
deff fn [24]
3 years ago
14

For the system in problem 4, suppose a main memory access requires 30ns, the page fault rate is .01%, it costs 12ms to access a

page not in memory (this time includes the time necessary to transfer the page into memory, update the page table, and access the data). Also suppose a TLB hit requires 7ns, the cache miss rate is 3%, the TLB hit rate is 95%, a cache hit requires 15 ns. On a TLB or cache miss, the time required for access includes a TLB and/or cache update, but the access is not restarted. On a page fault, the page is fetched from disk, all updates are performed but the access is restarted . All references are sequential (no overlap, nothing done in parallel)
a.) Calculate the time for a TLB hit and a cache hit.

b.) Calculate the EAT (effective access time) for a TLB hit.
Engineering
1 answer:
raketka [301]3 years ago
8 0

Answer:

a. 7.75

b. 24.4

Explanation:

The Operating system uses virtual memory and page tables maps these virtual address to physical address. TLB works as a cache for such mapping.

program >>> TLB >>> cache >>> Ram

A program search for a page in TLB, if it doesn't find that page it's a TLB miss and then further looks for the page in cache.

If the page is not in cache then it's a cache miss and further looks for the page in RAM.

If the page is not in RAM, then it's a page fault and program look for the data in secondary storage.

So, typical flow would be

Page Requested >> TLB miss >> cache miss >>main memory>> page fault >> looks in secondary memory.

Here,

Main memory access time= 30 ns

Page fault rate=.01%

page fault service time= 12ns

TLB access time=7 ns

TLB hit rate= .95%

TLB miss rate =1-.95=.05%

cache access time = 15 ns

cache miss rate= .3%

cache hit rate = 1-.3=.97%

So,

a) TLB hit time= TLB access time = 7 ns

cache hit time = TLB hit rate * TLB access time + TLB miss rate * ( TLB access time + cache hit time)

= .95 * 7 + .05 * (7+15)

= 7.75 ns

b) EAT for TLB hit= 7ns

Total EAT = TLB hit rate *( TLB access time + Cache hit rate * cache access time + cache miss rate * (cache + main memory access time))+ TLB miss rate ( TLB access time + main memory access time + cache hit rate * cache access time + cache miss rate ( cache + main memory access time))

= .95 *( 7 + (.97*15) + .03(15+30))+ .05*(7+30+(.97*15) + .03 ( 15 + 30))=24.4 ns

You might be interested in
8. What are two ways SpaceX plans to change personal travel?
GalinKa [24]

Answer:

as all the people should go near stratosphere

8 0
2 years ago
10–25. The 45° strain rosette is mounted on the surface of a shell. The following readings are obtained for each gage: ε a = −20
vazorg [7]

Answer:

The answer is 380.32×10^-6

Refer below for the explanation.

Explanation:

Refer to the picture for brief explanation.

7 0
3 years ago
5. Which of the following is false about onStep?
katovenus [111]

The false statement about onStep is: B. The default number of steps per second is 30.

<h3>What is an onStep?</h3>

An onStep can be defined as a computerized telescope goto controller that is designed and developed to <u>animate shapes</u> while using it on a variety of mounting systems such as forks.

<h3>The characteristics of an onStep.</h3>

In Engineering, some of the characteristics that are associated with an onStep include the following:

  • The onStep function can be called without user input.
  • It can be used to animate shapes without user input.
  • It only runs a certain number of times.

In conclusion, the default number of steps per second for onStep isn't 30.

Read more on onStep here: brainly.com/question/25619349

7 0
2 years ago
The complex power of a load is 10-10j VA. What component should be added in parallel with the load so that the new load has a un
Korolek [52]
Need points bdjdjdhdhd
7 0
3 years ago
Getting the bottom of your feet burned when walking on hot sand is due to what form of energy transmission? group of answer choi
Scilla [17]

Getting the bottom of your feet burned when walking on hot sand is due to a form of energy transmission known as conduction.

<h3>The types of energy transmission.</h3>

In Science, there are three (3) main types of energy transmission and these include the following:

  • Convection
  • Radiation
  • Conduction

In this scenario, we can infer and logically conclude that burning the bottom of your feet when walking on hot sand is primarily due to a form of energy transmission known as conduction because it involves the transfer of thermal energy (heat) due to the movement of particles.

Read more on heat conduction here: brainly.com/question/12072129

#SPJ12

6 0
2 years ago
Other questions:
  • Twenty-five wooden beams were ordered or a construction project. The sample mean and he sample standard deviation were measured
    6·1 answer
  • Let suppose, you are going to develop a web-application for school management system. Then what architectural pattern will you u
    9·1 answer
  • Researchers compared protein intake among three groups of postmenopausal women: (1) women eating a standard American diet (STD),
    14·1 answer
  • The components of an electronic system dissipating 180 W are located in a 1-m-long horizontal duct whose cross section is 16 cm
    10·1 answer
  • All circuits need three basic parts: an energy source, wires, and the object that is going to change the electrical energy into
    5·2 answers
  • An engineer measures a sample of 1200 shafts out of a certain shipment. He finds the shafts have an average diameter of 2.45 inc
    15·1 answer
  • What are the different branches of engineering involved in manufacturing a general-purpose elevator?
    6·1 answer
  • Multiple Choice
    8·2 answers
  • Component(s) that only allow(s) electrons to flow in one direction. Mark all that apply
    15·1 answer
  • Select the correct answer.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!