Solution:
Given that :-
TLB lookup = 150 ns
TLB update = 300 ns
PT lookup = 2
PT update = 4
Reading/ loading a word from main memory = 25
Loading a page from disk to memory = 20 ms
TLB hit ratio = 0.3
Main memory hit ratio = 0.4
Average access Time = TLB hit ratio* TLB Look up +TLB miss ratio[ TLB update + PT Look up ]
Average access time = Time to find physical address + Main memory hit ratio * read time from memory + Memory miss ratio * disk read time.
Average access time = Time to get physical address + PT update time.
Why are you using Main memory hit ratio is 0.4 ?
I am wondering if it should be 0.7 *0.4
2. A computer uses virtual memory implemented by paging. The TLB lookup takes 150 ns and...
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:...
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
Question 30 7 pts Consider a computer system that uses virtual memory with paging with a TUB. 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)
(c) Assume that . accessing and searching the TLB takes 5 ns, . transferring the data from the TLB into a register takes 10 ns, . updating a record in the TLB takes 15 ns, .accessing and searching the PT takes 50 ns, .transferring the data from the PT into a register takes 70 ns, . the TLB hit ratio is 0.6. How many nanoseconds are needed on average to perform all the TLB and PT operations needed to compute...
Considering that the TLB takes 5 ns access time and main memory takes 200ns, compute the Effective Access Time (EAT) for the following case: Number of hits to the TLB is 95%.
3.1 Considering that the TLB takes 5 ns access time and main memory takes 200ns, compute the Effective Access Time (EAT) for the following case: Number of hits to the TLB is 95%. 3.3 If there is a miss in the TLB, how many I/O operations could be generated?
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?
Operating Systems Questions (Please help if you can) 1. A computer has cache, main memory, and a disk used for virtual memory. If a referenced word is in the cache, 20ns are required to access it. If it is in main memory but not in the cache, 60ns are required to load it into the cache (this includes the time to originally check the cache), and then, the reference is started again. If the word is not in main memory,...
a computer system has a 1KB page size and keeps the page table for each process in main memory. Because the page table entries are usually cached on chip the average overhead for doing a full page table lookup is 40 ns. To reduce this overhead the computer has a 32 entry TLB. A TLB looup reqiures 1 ns . what TLB hit rate is reqiured to ensure an average virtual address translation time of 2 ns?