480 views
0 votes
0 votes

I AM GETTING 28%

WITH TLB= 140ns

WITHOUT TLB= 500ns

i havent considered memory access time, just address translation time is cosidered!

am i right??

1 Answer

0 votes
0 votes
36 percent is correct.

The time taken without TLB will be $2 \times T_m$, as once we'll have to look for the correct address in the memory and one more access for actually accessing that value.

The time taken with TLB will be $T_{\text{tlb} + T_m}$ as we'll get the address from the TLB and then we can access the memory to find the relevant data.

Going by that, the respective times are 1000 ns and 640 ns.

The speedup will be given by: $\frac{\text{Old Value - New Value}}{\text{Old Value}} \times 100$ which will be $\frac{1000-640}{1000} \times 100$ which is 36 %.

Related questions

0 votes
0 votes
0 answers
1
Gate Fever asked Jan 12, 2019
700 views
consider a system with 48 bit virtual address and page size is 16KB.Operating system uses multilevel paging.page table entry size is 4B.What is the number of entries in t...
0 votes
0 votes
0 answers
2
Gate Fever asked Nov 9, 2018
223 views
0 votes
0 votes
1 answer
3
Gate Fever asked Nov 9, 2018
393 views
0 votes
0 votes
0 answers
4
Gate Fever asked Nov 9, 2018
320 views