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
. A line shaft rotating at 200 r.p.m. is to transmit 20 kW. The allowable shear stress for the material of the shaft is 42 MPa.
lbvjy [14]

Answer:

diameter=53.4 mm to 55 mm

Explanation:

7 0
3 years ago
Consider a system whose temperature is 18°C. Express this temperature in R, K, and °F.
zvonat [6]

Answer:

In Rankine 524.07°R

In kelvin 291 K

In Fahrenheit 64.4°F  

Explanation:

We have given temperature 18°C

We have to convert this into Rankine R

From Celsius to Rankine we know that  T(R)=(T_{C}+273.15)\frac{9}{5}

We have to convert 18°C

So T(R)=(18+273.15)\frac{9}{5}=524.07^{\circ}R

Conversion from Celsius to kelvin

T(K)=(T_{C}+273)

We have to convert 18°C

T(K)=(18+273)=291K

Conversion of Celsius to Fahrenheit

T(F)=T_{C}\times \frac{9}{5}+32=64.4^{\circ}F

7 0
3 years ago
In the figure show, what's the distance from point H to point C?
padilas [110]

Answer:

B.

Explanation:

I think not sure hehe

4 0
3 years ago
8- Concentration polarization occurs on the surface of the.......
Rainbow [258]

Explanation:

Concentration overpotential, ηc,

I hope it helps you

5 0
3 years ago
Define engineer with work field​
Andrew [12]

Answer:

If you're talking about a field engineer then here is the basic description of their job.

Explanation:

They usually inspect and install equipment, direct workers, and report project status. They are in charge of making sure everything works smoothly. Engineers who work in the field oversee projects and are usually traveling.

5 0
3 years ago
Other questions:
  • Which option should the engineers focus on as they develop the train in the following scenario?
    12·1 answer
  • GG(ss) = 1 ss2 + 3 We want to design a feedback control system in a unity feedback structure by adding a controller DD(ss) = ss+
    9·1 answer
  • ) A 20 ft horizontal beam is attached to a wall with a fixed support. If the beam is subjected to the distributed loads indicate
    12·1 answer
  • Chemical engineering got is unofficial start around the time of the __________ __________ ________.
    13·1 answer
  • PLEASE HELP! ASAP!!!!
    6·1 answer
  • The only function of a flywheel is to cool the engine during operation. <br> True or False?
    5·2 answers
  • a circular pile, 19 m long is driven into a homogeneous sand layer. The piles width is 0.5 m. The standard penetration resistanc
    6·1 answer
  • The evaporator:
    5·1 answer
  • 3 mA are flowing through an 18 V circuit, how much resistance (in kΩ) is in that circuit?
    13·1 answer
  • Engineers design products or processes to meet desired needs. Your desired need or goal (hopefully) is to graduate with your Bac
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!