Question

Question 30 7 pts Consider a computer system that uses virtual memory with paging with a TUB. Suppose main memory access time
0 0
Add a comment Improve this question Transcribed image text
Answer #1

The solution of the given problem is below:

formula for Calcelenting the effective acess time is. a Cess Tleft) = hit-ratio * (TLB timet Main Memory timel +(1-hit ratio)

Add a comment
Know the answer?
Add Answer to:
Question 30 7 pts Consider a computer system that uses virtual memory with paging with a...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 7 pts Question 30 Consider a computer system that uses virtual memory with paging with a...

    7 pts Question 30 Consider a computer system that uses virtual memory with paging with a TLB. Suppose main memory access time is 10 ns and the time to look up the TLB 1 ns. Assume no page faults and the TLB has a hit of 95%. What is the effective memory access time (express in ns) 11ns

  • A computer uses virtual memory implemented by paging. The TLB lookup takes 100 ns and the...

    A computer uses virtual memory implemented by paging. The TLB lookup takes 100 ns and the update takes 200 ns. The PT lookup takes 1 µs and the update takes 2 µs. Loading a word from main memory onto the CPU takes 10 µs and loading a page from the disk into main memory takes 10 ms. The TLB hit ratio is 0.4 and the main memory hit ratio is 0.3. Compute the average access time for a referenced word:...

  • 2. A computer uses virtual memory implemented by paging. The TLB lookup takes 150 ns and...

    2. A computer uses virtual memory implemented by paging. The TLB lookup takes 150 ns and the update takes 300 ns. The PT lookup takes 2 us and the update takes 4 us. Loading a word from main memory onto the CPU takes 25 us and loading a page from the disk into main memory takes 20 ms. The TLB hit ratio is 0.3 and the main memory hit ratio is 0.4. Compute the average access time for a referenced...

  • Consider a demand-paging system in which the replacement of a page takes 20 milliseconds (access time...

    Consider a demand-paging system in which the replacement of a page takes 20 milliseconds (access time and data transfer). Addresses are translated through a page table in main memory, with an access time of 1 microsecond per memory access. Thus, each memory reference through the page table takes two accesses. To improve this time, a TLB is added to the system to reduces access time to one memory reference, if the page-table entry is in the associative memory. Assume that...

  • 3. Consider a paging system with the page table in memory. A. If a memory reference...

    3. Consider a paging system with the page table in memory. A. If a memory reference takes 100 nanoseconds, how long does a paged memory reference take? B. If we add TLBs, and 75 percent of all page-table references are found in the TLBs, what is the effective memory reference time? (Assume that finding a page-table entry for the TLBs takes 20 nanoseconds.) C. It takes 750 milliseconds to service a page fault. The page fault rate is .001. What...

  • 21.​ A system has the following characteristics: Memory Access (read/write) : 50ns disk access : 20ms...

    21.​ A system has the following characteristics: Memory Access (read/write) : 50ns disk access : 20ms TLB access : 10ns TLB hit ratio : 90% page fault ratio : 5% You may assume that all page faults require a block to be written. For this system, calculate effective memory access time assuming that 2­level paging is used. Show your work.

  • Question # 3 Consider a demand-paged system where the page table for each process resides in main...

    Question # 3 Consider a demand-paged system where the page table for each process resides in main memory. In addition, there is a fast associative memory (also known as TLB which stands for Translation Look-aside Buffer) to speed up the translation process. Each single memory access takes 1 microsecond while each TLB access takes 0.2 microseconds. Assume that 2% of the page requests lead to page faults, while 98% are hits. On the average, page fault time is 20 milliseconds...

  • Q5. Consider a memory system where all pages fit in memory. The TLB takes 15 nanoseconds...

    Q5. Consider a memory system where all pages fit in memory. The TLB takes 15 nanoseconds to access and memory takes 120 nanoseconds to access. What is the effective access time for 1 level paging if the hit rate is 65%? What if it’s 95%? What is the effective access time if not all processes fit into memory and the swap time is 850,000 nanoseconds for a page fault?

  • Address Translation Question [8 points] Suppose a computing system uses paging with a logical add...

    Address Translation Question [8 points] Suppose a computing system uses paging with a logical address of 24 bits and a physical address of 32 bits. The page size is 4KB. Answer each of the following. If an answer is a power of 2, you can leave it in the form of a power of 2. ... 2. [20 points] Memory address translation and TLB performance [8 points] Suppose a computing system uses paging with a logical address of 24 bits...

  • 3. Consider a paging system with the page table in memory. A. If a memory reference takes 100 nanoseconds, how long does...

    3. Consider a paging system with the page table in memory. A. If a memory reference takes 100 nanoseconds, how long does a paged memory reference take? B. If we add TLBs, and 75 percent of all page-table references are found in the TLBs, what is the effective memory reference time? (Assume that finding a page-table entry for the TLBs takes 20 nanoseconds.) C. It takes 750 milliseconds to service a page fault. The page fault rate is .001. What...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT