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
The emissivity of galvanized steel sheet, a common roofing material, is ε = 0.13 at temperatures around 300 K, while its absorpt
Step2247 [10]

Answer:

759.99W/m²

Explanation:

Question: If the temperature of the sheet is 77C,what is the incident solar radiation on aday with Tinf= Tsurr= 16°C?

Given

Energy Equation of the Gas

αs * Gs * A + h * A * (T inf - Tg) + εσA (Tsurr⁴- Tg⁴) = 0

Where σ= 5.67 *10^-8 W/m²K⁴ (Stefan-Boltzmann constant)

ε = 0.13 (Emisivity)

αs = 0.65 (Absorptivity for solar radiation)

h = 7W/m²K⁴

Tg = 77 + 273.15K = 350.15K

T inf = 16 + 273.15 = 288.15K

T surr= T inf = 288.15

Substitute the above values in the Gas Equation, we have

0.65 * Gs * A + 7 * A * (288.15 - 350.15) + 0.13 * 5.67 * 10^-8 * A * (288.15⁴ - 350.15⁴) = 0

0.65 * Gs * A = - 7 * A * (288.15 - 350.15) - 0.13 * 5.67 * 10^-8 * A * (288.15⁴ - 350.15⁴)

A cancels out, so we are left with

0.65 * Gs = - 7 * (288.15 - 350.15) - 0.13 * 5.67 * 10^-8 * (288.15⁴ - 350.15⁴)

0.65Gs = 434 - 0.7372 * 10^-8(−8,137,940,481.697)

0.65Gs = 434 + 0.7372 * 81.37940481697

0.65Gs = 493.992897231070284

Gs = 493.992897231070284/0.65

Gs = 759.9890726631850

Gs = 759.99W/m² ------- Approximated

3 0
3 years ago
The quantity of bricks required increases with the surface area of the wall, but the thickness of a masonry wall does not affect
Yakvenalex [24]

Answer:

false

Explanation:

5 0
3 years ago
Read 2 more answers
How can input from multiple individuals improve design solutions for problems that occur because of a natural disaster, such as
Alla [95]

Answer:

Map and avoid high-risk zones.

Build hazard-resistant structures and houses.

Protect and develop hazard buffers (forests, reefs, etc.)

Develop culture of prevention and resilience.

Improve early warning and response systems.

Build institutions, and development policies and plans.

Explanation:

5 0
3 years ago
Consider a modification of the air-standard Otto cycle in which the isentropic compression and expansion processes are each repl
Ulleksa [173]

Answer:

The answers to the question are

(1) Process 1 to 2

W = 295.16 kJ/kg

Q = -73.79 kJ/kg

(2) Process 2 to 3

W = 0

Q = 1135.376 kJ/kg

(3) Process 3 to 4

W = -1049.835 kJ/kg

Q = 262.459 kJ/kg

(4) Process 4 to 3

W=0

Q = -569.09 kJ/kg

(b) The thermal efficiency = 49.9 %

(c) The mean effective pressure is 9.44 bar

Explanation:

(a) Volume compression ratio \frac{v_1}{v_2}  = 10

Initial pressure p₁ = 1 bar

Initial temperature, T₁ = 310 K

cp = 1.005 kJ/kg⋅K

Temperature T₃ = 2200 K from the isentropic chart of the Otto cycle

For a polytropic process we have

\frac{p_1}{p_2}  = (\frac{v_2}{v_1} )^n Therefore p₂ = p₁ ÷ (\frac{v_2}{v_1} )^n = (1 bar) ÷ (\frac{1}{10} )^{1.3} = 19.953 bar

Similarly for a polytropic process we have

\frac{T_1}{T_2}  = (\frac{v_2}{v_1} )^{n-1} or T₂ = T₁ ÷ (\frac{v_2}{v_1} )^{n-1} = \frac{310}{0.1^{0.3}} = 618.531 K

The molar mass of air is 28.9628 g/mol.

Therefore R = \frac{8.3145}{28.9628} = 0.287 kJ/kg⋅K

cp = 1.005 kJ/kg⋅K Therefore cv = cp - R =  1.005- 0.287 = 0.718 kJ/kg⋅K

1). For process 1 to 2 which is polytropic process we have

W = \frac{R(T_2-T_1)}{n-1} = \frac{0.287(618.531-310)}{1.3 - 1}= 295.16 kJ/kg

Q =(\frac{n-\gamma}{\gamma - 1} )W = (\frac{1.3-1.4}{1.4-1} ) 295.16 kJ/kg = -73.79 kJ/kg

W = 295.16 kJ/kg

Q = -73.79 kJ/kg

2). For process 2 to 3 which is reversible constant volume heating we have

W = 0 and Q = cv×(T₃ - T₂) = 0.718× (2200-618.531) = 1135.376 kJ/kg

W = 0

Q = 1135.376 kJ/kg

3). For process 3 to 4 which is polytropic process we have

W = \frac{R(T_4-T_3)}{n-1} = Where T₄ is given by  \frac{T_4}{T_3}  = (\frac{v_3}{v_4} )^{n-1} or T₄ = T₃ ×0.1^{0.3}

= 2200 ×0.1^{0.3}  T₄ = 1102.611 K

W =  \frac{0.287(1102.611-2200)}{1.3 - 1}= -1049.835 kJ/kg

and Q = 262.459 kJ/kg

W = -1049.835 kJ/kg

Q = 262.459 kJ/kg

4). For process 4 to 1 which is reversible constant volume cooling we have

W = 0 and Q = cv×(T₁ - T₄) = 0.718×(310 - 1102.611) = -569.09 kJ/kg

W=0

Q = -569.09 kJ/kg

(b) The thermal efficiency is given by

\eta = 1-\frac{T_4-T_1}{T_3-T_2} =1-\frac{1102.611-310}{2200-618.531} = 0.499 or 49.9 % Efficient

(c) The mean effective pressure is given by

p_{m}  = \frac{p_1r[(r^{n-1}-1)(r_p-1)]}{ (n-1)(r-1)}  where r = compression ratio and r_p = \frac{p_3}{p_2}

However p₃ = \frac{p_2T_3}{T_2} =\frac{(19.953)(2200)}{618.531} =70.97 atm

r_p = \frac{p_3}{p_2} = \frac{70.97}{19.953}  = 3.56

Therefore p_m =\frac{1*10*[(10^{0.3}-1)(3.56-1)]}{0.3*9} = 9.44 bar

Please find attached generalized diagrams of the Otto cycle

8 0
3 years ago
For the following conditions determine whether a CMFR or a PFR is more efficient in removing a reactive compound from the waste
andrew11 [14]

Answer:

The PFR is more efficient in the removal of the reactive compound as it has the higher conversion ratio.

Xₚբᵣ = 0.632

X꜀ₘբᵣ = 0.5

Xₚբᵣ > X꜀ₘբᵣ

Explanation:

From the reaction rate coefficient, it is evident the reaction is a first order reaction

Performance equation for a CMFR for a first order reaction is

kτ = (X)/(1 - X)

k = reaction rate constant = 0.05 /day

τ = Time constant or holding time = V/F₀

V = volume of reactor = 280 m³

F₀ = Flowrate into the reactor = 14 m³/day

X = conversion

k(V/F₀) = (X)/(1 - X)

0.05 × (280/14) = X/(1 - X)

1 = X/(1 - X)

X = 1 - X

2X = 1

X = 1/2 = 0.5

For the PFR

Performance equation for a first order reaction is given by

kτ = In [1/(1 - X)]

The parameters are the same as above,

0.05 × (280/14) = In (1/(1-X)

1 = In (1/(1-X))

e = 1/(1 - X)

2.718 = 1/(1 - X)

1 - X = 1/2.718

1 - X = 0.3679

X = 1 - 0.3679

X = 0.632

The PFR is evidently more efficient in the removal of the reactive compound as it has the higher conversion ratio.

3 0
3 years ago
Other questions:
  • What is an ip<br> Number
    12·1 answer
  • Determine the magnitude and the location of the hydrostatic force on the 2m by 4 m vertical rectangular gate shown in Figure P3.
    12·1 answer
  • What is MIDI in soumd and audio engineering ? ​
    12·1 answer
  • Which of these people is an engineer?
    13·1 answer
  • Which of the following activities could be considered unethical?
    7·1 answer
  • An exit sign must be:Colored in a way that doesn’t attract attentionIlluminated by a reliable light sourceAt least 3 inches tall
    14·1 answer
  • Need help with these 3 ez questions pls help me will mark brainiest.
    15·1 answer
  • Which process made making copies of technical drawings easier?
    8·1 answer
  • What is the difference between a series circuit and a parallel circuit?
    11·2 answers
  • A ____ is either in the pressure reducer or in the downstream side of the system to ensure that the control air pressure does no
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!