Computer Science Engineering (CSE) Exam  >  Computer Science Engineering (CSE) Questions  >  The average access time of a 2 level memory i... Start Learning for Free
The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)
    Correct answer is '93.33'. Can you explain this answer?
    Most Upvoted Answer
    The average access time of a 2 level memory is 30 ns. Its cache access...
    Explanation:

    Given,
    - Average access time of a 2 level memory = 30 ns
    - Cache access time = 20 ns
    - Memory access time = 150 ns

    We need to find the hit ratio H (in percentage).

    Formula:

    The formula to calculate the average access time for a 2-level memory hierarchy is:

    Avg. Access Time = Hit Ratio x Cache Access Time + (1 - Hit Ratio) x Memory Access Time

    where,
    - Hit Ratio = Probability of finding data in cache

    Solution:

    Let's assume the hit ratio as H.

    So, we can write the equation as:

    30 = H x 20 + (1 - H) x 150

    Simplifying the above equation, we get:

    30 = 130H - 150

    180 = 130H

    H = 180/130

    H = 1.38

    But, the hit ratio cannot be greater than 1. So, we can assume the hit ratio to be 1.

    Therefore, the hit ratio H = 1 or 100%.

    Hence, the answer is 93.33% (approx).

    Conclusion:

    The hit ratio of the 2 level memory hierarchy is 93.33%. This means that there is a 93.33% chance of finding the required data in the cache memory, and only a 6.67% chance of having to access the slower main memory.
    Free Test
    Community Answer
    The average access time of a 2 level memory is 30 ns. Its cache access...
    Cache access time = TC
    Memory access time = Tm
    Average access time = Tavg
    TC = 20 ns; H = Hit ratio
    Tm = 150 ns
    Tavg = TC × H + (1 - H) × (TC + Tm)
    30 = 20 × H + (1 - H) × 170
    30 = 20 × H + 170 - 170 × H
    150 × H = 140
    H = 93.33%
    Explore Courses for Computer Science Engineering (CSE) exam

    Similar Computer Science Engineering (CSE) Doubts

    Top Courses for Computer Science Engineering (CSE)

    The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer?
    Question Description
    The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer? for Computer Science Engineering (CSE) 2025 is part of Computer Science Engineering (CSE) preparation. The Question and answers have been prepared according to the Computer Science Engineering (CSE) exam syllabus. Information about The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer? covers all topics & solutions for Computer Science Engineering (CSE) 2025 Exam. Find important definitions, questions, meanings, examples, exercises and tests below for The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer?.
    Solutions for The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer? in English & in Hindi are available as part of our courses for Computer Science Engineering (CSE). Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.
    Here you can find the meaning of The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer? defined & explained in the simplest way possible. Besides giving the explanation of The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer?, a detailed solution for The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer? has been provided alongside types of The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer? theory, EduRev gives you an ample number of questions to practice The average access time of a 2 level memory is 30 ns. Its cache access time is 20 ns and memory access time is 150 ns. The hit ratio H (in percentage) is (Answer up to two decimal places)Correct answer is '93.33'. Can you explain this answer? tests, examples and also practice Computer Science Engineering (CSE) tests.
    Explore Courses for Computer Science Engineering (CSE) exam

    Top Courses for Computer Science Engineering (CSE)

    Explore Courses
    Signup for Free!
    Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
    10M+ students study on EduRev