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
What type of test can show a chemical engineer if a material remains in a system and accumulates or if it moves right through?
UkoKoshka [18]

A chemical engineer can clearly see from this kind of test if a substance stays in a system and builds up or if it just passes through.

<h3>What is a chemical engineer?</h3>
  • Processes for manufacturing chemicals are created and designed by chemical engineers.
  • To solve issues involving the manufacture or usage of chemicals, fuel, medications, food, and many other goods, chemical engineers use the concepts of chemistry, biology, physics, and math.
  • A wide range of sectors, including petrochemicals and energy in general, polymers, sophisticated materials, microelectronics, pharmaceuticals, biotechnology, foods, paper, dyes, and fertilizers, have a significant demand for chemical engineers.
  • Chemical engineering is undoubtedly difficult because it requires a lot of physics and math, as well as a significant number of exams at the degree level.

To learn more about chemical engineer, refer to:

brainly.com/question/23542721

#SPJ4

7 0
2 years ago
you have a permanent magnet whit remanent induction. than you cut a piec of that magnet. if you put that piece back into permane
ELEN [110]
Yes, it will. The induction will be the same as long as it’s put back together.
5 0
3 years ago
Engineering is the use of scientific principles to design and build machines, structures, and other items, including bridges, tu
Thepotemich [5.8K]

Is this a question or a statement?

4 0
3 years ago
The acceleration due to gravity on the surface of the moon is 1.62m/s^2. The moon's radius is Rm+1738km. A) What is the weight i
Anastaziya [24]

Answer:

weight is 12.6 N

force is 4.05 N

Explanation:

given data

acceleration = 1.62 m/s²

radius = 1738 km

mass = 10 kg

distance = 1738 km

to find out

weight and force

solution

we apply here weight formula that is

weight =  mass × acceleration    ...................1

put here value

weight =  10 × 1.26

weight = 12.6 N

and

force = mass × An

force = 10 × 1.62 (1738/ 1738+1738)² = 4.05 N

so force is 4.05 N

4 0
3 years ago
IAs a relatively new hire within a large multinational firm, you are extremely pleased with the many challenging assignments tha
Usimov [2.4K]

Answer:

I would strongly not to lay all her eggs in  one basket and considering the state it is now. seeking for other opportunities while still holding on to the current job is necessary. i  advise that  research on company that has   good standing, integrity and uprightness in terms of service delivery, years of existence and achievement and most importantly how they treat their worker and tender an application if need be.  usually, the way a company handles and treat their workers is quite important for service delivery and optimum production so it is necessary that it should be one of the top priorities of any firm, company or any establishment, because  the worker do put their best, knowledge and their all at times to the company's growth and development so it is right that they deserve it and without them, companies are just dead.

Explanation:

4 0
3 years ago
Other questions:
  • A slight breeze is blowing over the hot tub above and yields a heat transfer coefficient h of 20 W/m2 -K. The air temperature is
    15·1 answer
  • A stone-filled pit used for waste disposal is commonly referred to as a
    15·1 answer
  • Who is the best musician in Nigeria<br>​
    11·2 answers
  • A water agency stated that waterlines cannot have water flowing faster than 8 ft/s. What is the minimum standard pipe diameter t
    12·1 answer
  • If a signal is transmitted at a power of 250 mWatts (mW) and the noise in the channel is 10 uWatts (uW), if the signal BW is 20M
    13·1 answer
  • Steam enters a turbine steadily at 7 MPa and 600°C with a velocity of 60 m/s and leaves at 25 kPa with a quality of 95 percent.
    14·1 answer
  • Robomind academy code if hour
    6·1 answer
  • In the long run, if the firm decides to keep output at its initial level, what will it likely do? Stay on SRATC3 but decrease to
    15·1 answer
  • What is the measurment unit of permeability?​
    7·2 answers
  • The first thing you should do is develop a ____________________ to determine what vehicle you can afford.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!