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
25 In differential aeration corrosion, rich oxygenated parts are
sleet_krkn [62]

Answer:what are you trying to say

Explanation:

6 0
3 years ago
How does the two-stroke Otto cycle differ from the four-stroke Otto cycle?
Digiron [165]

Answer:

Two stroke cycle                                               Four stroke cycle

1.Have on power stroke in one revolution.   1.have one power  

                                                                   stroke in two  revolution                                                                            

2.Complete the cycle in 2 stroke                 2.Complete the cycle in 4 stroke    

3.It have ports                                                3.It have vales

                                                                         

4.Greater requirement of cooling              4.Lesser requirement of cooling  

5.Less thermal efficiency                            5.High thermal efficiency

6.Less volumetric efficiency                       6.High volumetric efficiency    

7.Size of flywheel is less.                           7.Size of flywheel is more.

3 0
3 years ago
Briefly explain how each of the following influences the tensile modulus of a semicrystalline polymer and why:(a) molecular weig
marin [14]

Answer:

(a) Increases

(b) Increases

(c) Increases

(d) Increases

(e) Decreases

Explanation:

The tensile modulus of a semi-crystalline polymer depends on the given factors as:

(a) Molecular Weight:

It increases with the increase in the molecular weight of the polymer.

(b) Degree of crystallinity:

Tensile strength of the semi-crystalline polymer increases with the increase in the degree of crystallinity of the polymer.

(c) Deformation by drawing:

The deformation by drawing in the polymer results in the finely oriented chain structure of the polymer with the greater inter chain secondary bonding structure resulting in the increase in the tensile strength of the polymer.

(d) Annealing of an undeformed material:

This also results in an increase in the tensile strength of the material.

(e) Annealing of  a drawn material:

A semi crystalline material which is drawn when annealed results in the decreased tensile strength of the material.

5 0
3 years ago
3. Which of these instruments is used to measure wind speed? A. anemometer C. wind sock B. thermometer D. wind vane It is an ins
siniylev [52]

Answer:

wind vane if it can be used to show wind speed and the other is a

Explanation:

please mark 5 star if im right and brainly when ya can

5 0
3 years ago
What type of engineer makes sure equipment is safe and operational
zvonat [6]

Answer:

mechanical engineer is the best answer

8 0
3 years ago
Other questions:
  • "12 cents per kilowatt-hour (kwh), a 114 MPGe (combined) Nissan Leaf costs 90 cents per 25 miles,"
    10·1 answer
  • A cartridge electrical heater is shaped as a cylinder of length L=200mm and outer diameter D=20 mm. Under normal operating condi
    5·1 answer
  • Which of the following is a possible unit of ultimate tensile strength?
    10·1 answer
  • In a wire, when elongation is 4 cm energy stored is E. if it is stretched by 4 cm, then what amount of elastic potential energy
    15·2 answers
  • A cylindrical 1045 steel bar is subjected to repeated compression-tension stress cycling along its axis. If the load amplitude i
    10·1 answer
  • Describe in your own words the three strengthening mechanisms
    7·1 answer
  • How is an orthographic drawing similar to or different from an isometric drawing?
    14·2 answers
  • Lynx eat snowshoe hares, and snowshoes hears eat plants. Which term can be applied to the lynx in this food chain example? Prima
    10·1 answer
  • Which type of Artificial Intelligence (AI) can repeatedly perform tasks of limited scope?
    12·1 answer
  • From the list of problems below, check all that are known to be NP-complete. You do not need to justify your answer. (Set cover)
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!