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]
2 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]2 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
If you are unsure about holding a piece of wood to be drilled, then you should always use a
alisha [4.7K]
C I took construction class
4 0
2 years ago
1.Which thematic group uses technology to direct the behavior of dynamical systems, ensuring that they behave in a predictable m
dsp73

The thematic group governing the behavior of dynamic system is control system, and the one packaging the miniature components to conduct electricity is electronic system. Thus, option E is correct.

<h3>What are thematic groups?</h3>

The thematic groups comprises of group of people that work over the same idea or the concept. The thematic groups working on different projects and ideas comprised to work with different systems.

The control of dynamic system in order to produce the desirable outcome has been the role of the control system.

The packaging of the electronic miniatures in system that performs the role of direction of electricity is the role of electronic system thematic group. Thus, option E is correct.

Learn more about thematic group, here:

brainly.com/question/32731

#SPJ1

8 0
1 year ago
How high a building could fire hoses effectively spray from the ground? Fire hose pressures are around 1 MPa. (It is also said t
Mrac [35]

Answer:

z_{2} = 91.640\,m

Explanation:

The phenomenon can be modelled after the Bernoulli's Principle, in which the sum of heads related to pressure and kinetic energy on ground level is equal to the head related to gravity.

\frac{P_{1}}{\rho\cdot g} + \frac{v_{1}^{2}}{2\cdot g}= z_{2}+\frac{P_{2}}{\rho\cdot g}

The velocity of water delivered by the fire hose is:

v_{1} = \frac{(300\,\frac{gal}{min} )\cdot(\frac{3.785\times 10^{-3}\,m^{3}}{1\,gal} )\cdot(\frac{1\,min}{60\,s} )}{\frac{\pi}{4}\cdot (0.3\,m)^{2}}

v_{1} = 0.267\,\frac{m}{s}

The maximum height is cleared in the Bernoulli's equation:

z_{2}= \frac{P_{1}-P_{2}}{\rho\cdot g} + \frac{v_{1}^{2}}{2\cdot g}

z_{2}= \frac{1\times 10^{6}\,Pa-101.325\times 10^{3}\,Pa}{(1000\,\frac{kg}{m^{3}} )\cdot(9.807\,\frac{m}{s^{2}} )} + \frac{(0.267\,\frac{m}{s} )^{2}}{2\cdot (9.807\,\frac{m}{s^{2}} )}

z_{2} = 91.640\,m

7 0
3 years ago
To read signs you need good focal vision
kow [346]

Answer:eyesight

Explanation:

7 0
3 years ago
Read 2 more answers
Create a variable pounds to store weight in pounds. Convert this to kilograms and assign the result to a variable kilos. The con
vodka [1.7K]

Answer:

>>pounds=13.2

>>kilos=pounds/2.2

Explanation:

Using Matlab to write the program, consider at any time when the weight in pounds is 13.2 lb, this variable of weight is created in MATLAB by typing >>pounds=13.2. To convert it from lb to Kg, we simply divide it by 2.2 hence the second command to created is kilos. For this, the output of the program will be 6 Kg.

5 0
3 years ago
Other questions:
  • A vehicle experiences hard shifting. Technician A says that the bell housing may be misaligned. Technician B says that incorrect
    5·1 answer
  • Which if of the following is not a part of a program block
    9·1 answer
  • Four of the minterms of the completely specified function f(a, b, c, d) are m0, m1, m4, and m5.
    6·1 answer
  • You are driving on a road where the speed limit is 35 mph. If you want to make a turn, you must start to signal at least _______
    7·1 answer
  • When welding stick (SMAW) what is the distance between top of bare end of electrode and base metal?
    7·1 answer
  • A closed system of mass 10 kg undergoes a process during which there is energy transfer by work from the system of 0.147 kJ per
    9·2 answers
  • Hey any one ride dirtbikes here
    5·2 answers
  • Raw materials used of silicone rubber
    6·2 answers
  • How do you get your drivers lisnes when your 15
    8·1 answer
  • I am trying to make a vacuum cannon but all I can use to get out the air is a speed pump to give air to bicycles. I need to make
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!