LIVE Course for free

Rated by 1 million+ students
Get app now
JEE MAIN 2023
JEE MAIN 2023 TEST SERIES
NEET 2023 TEST SERIES
NEET 2023
CLASS 12 FOUNDATION COURSE
CLASS 10 FOUNDATION COURSE
CLASS 9 FOUNDATION COURSE
CLASS 8 FOUNDATION COURSE
0 votes
634 views
in Computer by (35.6k points)
closed by

The access time of cache memory is 100 ns and that of the main memory is 1 μsec. 80% of the memory requests are for reading and others are for write. The hit ratio for reading only accesses is 0.9. A write of the procedure is used. The average access time of the system for both read and write requests is


1. 200 ns
2. 360 ns
3. 720 ns
4. 1100 ns

1 Answer

0 votes
by (38.4k points)
selected by
 
Best answer
Correct Answer - Option 2 : 360 ns

Concept:

The read access time is given as:

TM = h × TC + (1 – h) × TP

TM is the average memory access time

TC is the cache access time

TP is the access time for physical memory

h is the hit ratio

Analysis:

Given:

H = 0.9, Tc = 100, Tm = 1000

Now read access time

= HTc + (1 - H)(Tc + Tm)

= 0.9 × 100 + 0.1 × (100 + 1000) nsec

= 200 nsec

Total access time

= (0.8 × 200 + 0.2 × 1000) nsec = 360 nsec

Related questions

Welcome to Sarthaks eConnect: A unique platform where students can interact with teachers/experts/students to get solutions to their queries. Students (upto class 10+2) preparing for All Government Exams, CBSE Board Exam, ICSE Board Exam, State Board Exam, JEE (Mains+Advance) and NEET can ask questions from any subject and get quick answers by subject teachers/ experts/mentors/students.

Categories

...