JANUARY
2017 – PAPER II
OPERATING
SYSTEMS
37. In
a paging system, it takes 30 ns to search translation Look-a-side Buffer (TLB)
and 90 ns to access the main memory. If the TLB hit ratio is 70%, the effective
memory access time is
(1) 48ns
(2) 147ns
(3) 120ns
(4) 84ns
Ans
:- 2
Explanation:-
This is a paragraph taken from “Operating systems”
book by Silberschatz.
In order to calculate the effective memory access
time, we are going to apply the explanation given in the above mentioned book.
A 70 percent ratio means that we find the desired
page number in the TLB 70 percent of the time. If it takes 30 ns to search the
TLB and 90 ns to access memory, then a mapped-memory access takes 30+90 ns when
the page number is in the TLB. If we fail to find the page number in the
TLB(30), then we must first access memory for the page table and frame
number(90ns) and then access the desired byte in the memory(90ns), for a total
of 210ns. To find the effective memory access time, we weight each case by its
probability,
Effective access time = 0.70 X 120 + 0.30 X 210
= 84 + 63 =
147ns
So,
the correct answer is 147ns. The option is 2.
Good solution .
ReplyDeleteVERY NICE EXPLANATION
ReplyDeleteThank you very much for your solutions
ReplyDeleteGood and nice explanation.
ReplyDelete1
ReplyDeleteGeneral Formula for EAT
Hit ratio = a
Main Memory access time = m
Associative Lookup (TLB access) = e
EAT = (m + e) a + (2m + e) (1 - a)
= 2m - ma + e
Thank you for sharing this.
ReplyDeleteEvery year NTA conducts UGC NET exam twice in a year. In 2021, NTA could conduct the exam just one occasion thanks to COVID-19 pandemic. Therefore, NTA has announced that UGC NET December 2020 exam cycle are going to be conducted within the month of May 2021.
Important tips to crack the UGC NET exam within the first attempt. Today in this article we will discuss about How to crack UGC net exam with 3 months preparation by GURUKUL CAREER GROUP best UGC Net coaching in Chandigarh.
UGC NET Coaching in Chandigarh
perde modelleri
ReplyDeleteSMS ONAY
VODAFONE MOBİL ÖDEME BOZDURMA
nft nasıl alınır
ankara evden eve nakliyat
trafik sigortası
dedektor
Site Kurma
Ask Kitaplari
At Competition Guru, we are proud of our 100% success rate in the UGC NET Commerce exam. Our commitment to providing students with the best possible education and support has resulted in a consistently high pass rate, making us the premier institute for UGC NET Commerce Coaching in Chandigarh.
ReplyDelete