520 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

726
views
0 answers
0 votes
Gate Fever asked Jan 12, 2019
726 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 ... last level page table will fit into exactly one page. I am getting 4096.
243
views
0 answers
0 votes
Gate Fever asked Nov 9, 2018
243 views
407
views
1 answers
0 votes
Gate Fever asked Nov 9, 2018
407 views
359
views
0 answers
0 votes
Gate Fever asked Nov 9, 2018
359 views