Aspire's Library

A Place for Latest Exam wise Questions, Videos, Previous Year Papers,
Study Stuff for MCA Examinations - NIMCET

Previous Year Question (PYQs)



Consider again that T is stored in column major format, what is the main memory hit ratio?





Solution

In column major format, elements of each column are stored continuously.

Each column has 17 elements.

Total elements:

$17 \times 1024 = 17408$

Page size = 1024 words

Total pages:

$\frac{17408}{1024}=17$

Since access is column-wise, memory access is almost sequential.

Only 1 page fault occurs per page.

Total page faults = 17

Total memory references = 17408

Hits:

$17408 - 17 = 17391$

Hit ratio:

$\frac{17391}{17408} \times 100 \approx 99.9%$


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More


Online Test Series,
Information About Examination,
Syllabus, Notification
and More.

Click Here to
View More

Ask Your Question or Put Your Review.

loading...