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
Argue the importance to society of incorporating green building into an engineer's designs, with at least two examples.
stellarik [79]

Answer:

Green Design is your answer

Explanation:

4 0
3 years ago
Read 2 more answers
As cylinder pressure and heat increase due to an increased load condition, the fuel injection management system must ___________
Temka [501]

possible Answers:

Compensate ⭐⭐⭐⭐⭐

Adjust            ⭐⭐⭐⭐⭐

regulate         ⭐⭐⭐⭐

tune               ⭐⭐⭐

calibrate        ⭐⭐⭐

balance         ⭐⭐

correct           ⭐

6 0
2 years ago
How long does it take to complete Fort nite: Save The World?
maria [59]
<h3><u>Answer:</u></h3>

Over 8 straight days of playing

<h3><u>Explanation:</u></h3>

200+ hours, if you're a game master

4 0
3 years ago
Read 2 more answers
Consider the string length equal to 7. This string is distorted by a function f (x) = 2 sin(2x) - 10sin(10x). What is the wave f
fenix001 [56]

Answer:

hello your question has a missing part below is the missing part

Consider the string length equal to \pi

answer : 2cos(2t) sin(2x) - 10cos(10t)sin(10x)

Explanation:

Given string length = \pi

distorted function f(x) = 2sin(2x) - 10sin(10x)

Determine the wave formed in the string

attached below is a detailed solution of the problem

8 0
3 years ago
Give an example of one technology that is well matched to the needs of the environment, and one technology that is not.
omeli [17]

Answer:

the internet is a need everywhere to do work and games systems is a technology that is just a want.

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • A disk brake has two pads which cover 45 degrees of the disk. The outside radius is 6.0 inch and the inside radius is 4.0 inch.
    5·1 answer
  • Calculate the load, PP, that would cause AA to be displaced 0.01 inches to the right. The wires ABAB and ACAC are A36 steel and
    10·1 answer
  • What the Best describes the purpose of the occupational safety and health administración OSHA
    12·1 answer
  • You start your car and begin to pull out of a parking space. After leaving the space, You notice that the brake light on your in
    12·1 answer
  • An inventor tries to sell you his new heat engine that takes in 40 J of heat at 87°C on each cycle, expels 30 J at 27°C, and doe
    14·1 answer
  • Why was information revolution different or unique <br>​
    6·1 answer
  • A ballistic pendulum consists of a 3.60 kg wooden block on the end of a long string. From the pivot point to the center‐of‐mass
    6·1 answer
  • Sam promises to pay Sandy $2,000 in four years and another $3,000 four years later for a loan of $2,000 from Sandy today. What i
    8·1 answer
  • Mobility refers to the ability to?
    12·1 answer
  • 1. advantages of 2 pulley system
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!