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
What would you like to visit friends?
serious [3.7K]
If i would visit one of my friends it’s c
8 0
3 years ago
Air enters the compressor of a simple gas turbine at 100 kPa, 300 K, with a volumetric flow rate of 5 m3/s. The compressor press
Zepler [3.9K]

Answer:

a) 3581.15067 kw

b) 95.4%

Explanation:

<u>Given data:</u>

compressor efficiency = 85%

compressor pressure ratio = 10

Air enters at:    flow rate of 5m^3/s , pressure = 100kPa, temperature = 300 K

At turbine inlet : pressure = 950 kPa, temperature = 1400k

Turbine efficiency = 88% , exit pressure of turbine = 100 kPa

A) Develop a full accounting of the exergy increase of the air passing through the gas turbine combustor in kW

attached below is a detailed solution to the given question

6 0
3 years ago
When does the vc-turbo engine use lower compression ratios?.
Veronika [31]

Answer:

Explanation:

The VC-T engine (for "variable compression, turbocharged") can adjust its compression ratio between 8:1 and 14:1 on the fly, offering high-compression efficiency under light loads and the low compression needed for turbocharged power under hard acceleration.

7 0
2 years ago
An interior beam supports the floor of a classroom in a school building. The beam spans 26 ft. and the tributary width is 16 ft.
saul85 [17]

Answer:

a. L_o  = 40 psf

b. L ≈ 30.80 psf

c. The uniformly distributed total load for the beam = 812.8 ft./lb

d. The alternate concentrated load is more critical to bending , shear and deflection

Explanation:

The given parameters of the beam the beam are;

The span of the beam = 26 ft.

The width of the tributary, b = 16 ft.

The dead load, D = 20 psf.

a. The basic floor live load is given as follows;

The uniform floor live load, = 40 psf

The floor area, A = The span × The width = 26 ft. × 16 ft. = 416 ft.²

Therefore, the uniform live load, L_o  = 40 psf

b. The reduced floor live load, L in psf. is given as follows;

L = L_o \times \left ( 0.25 + \dfrac{15}{\sqrt{k_{LL} \cdot A_T} } \right)

For the school, K_{LL} = 2

Therefore, we have;

L = 40 \times \left ( 0.25 + \dfrac{15}{\sqrt{2 \times 416} } \right) = 30.80126 \ psf

The reduced floor live load, L ≈ 30.80 psf

c. The uniformly distributed total load for the beam, W_d = b × W_{D + L} =

∴  W_d =  = 16 × (20 + 30.80) ≈ 812.8 ft./lb

The uniformly distributed total load for the beam, W_d = 812.8 ft./lb

d. For the uniformly distributed load, we have;

V_{max} = 812.8 × 26/2 = 10566.4 lbs

M_{max} =  812.8 × 26²/8 = 68,681.6 ft-lbs

v_{max} = 5×812.8×26⁴/348/EI = 4,836,329.333/EI

For the alternate concentrated load, we have;

P_L = 1000 lb

W_{D} = 20 × 16 = 320 lb/ft.

V_{max} = 1,000 + 320 × 26/2 = 5,160 lbs

M_{max} =  1,000 × 26/4 + 320 × 26²/8 = 33,540 ft-lbs

v_{max} = 1,000 × 26³/(48·EI) + 5×320×26⁴/348/EI = 2,467,205.74713/EI

Therefore, the loading more critical to bending , shear and deflection, is the alternate concentrated load

7 0
2 years ago
The ____ neurons allow the body to move and are greatly influenced by electri
LuckyWell [14K]
The Neurons allow the body to move
A
7 0
3 years ago
Read 2 more answers
Other questions:
  • Only put coolant into your radiator when the engine is _____.
    11·1 answer
  • Suppose you are designing a sliding window protocol for a 1 Mbps point-to-point link to the moon, which has a one-way latency of
    10·1 answer
  • The velocity of a point mass that moves along the s-axis is given by s' = 40 - 3t^2 m/s, where t is in seconds. Find displacemen
    7·1 answer
  • What are the four causes of electrical faults?
    5·1 answer
  • What was the first roblox player A.bob B.roblox C.builderman
    5·2 answers
  • The wall of drying oven is constructed by sandwiching insulation material of thermal conductivity k = 0.05 W/m°K between thin me
    8·1 answer
  • The temperature controller for a clothes dryer consists of a bimetallic switch mounted on an electrical heater attached to a wal
    12·1 answer
  • How to plot 0.45 gradation chart for sieve analysis ?
    12·1 answer
  • All of these are true about a magnesium part EXCEPT that it:
    8·1 answer
  • A pipe fitter would fabricate which one of the following systems?
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!