The Gateway to Computer Science Excellence
0 votes
81 views
Why can't we have n-levels of cache ?
in CO and Architecture by Junior (555 points) | 81 views
0
Generally cache is used to "reduce the access time"

if you n-level cache, then if cache$_1$ miss, cache$_2$ miss, cache$_3$ miss, ......

then unnecessarily you increase the average access time. ( note you have to think it is sequential access. )
0
Practically speaking computer architecture people will add more levels of cache only if you prove it can bring a performance benefit. If you can do it then we can have 5 or more levels of cache too. As of now 3 is the standard. In future if memory speed changes we can have more but very unlikely.
0
sir, on one of the gate question comment, i read that,

" We are using Simultaneous approach in practical. " --- how this can be true ?

then we should have, complex hardware structure, right ?

let if i can pay more cost for hardware then it can be implemented for n-level cache ?
+1
Simultaneous is practical for lower levels of cache. It is not about just money, but practical speed issues. If one tries to implement simultaneous access for L1, effective access speed will be lower.

Same for n level, not just money but you have to prove that there will be performance advantage. If possible adding more memory to higher level is beneficial than adding a new level.
0
thank you sir!
0
Sir, how do we measure performances for different caches? e.g 3 level and 5 level cache?

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,645 questions
56,615 answers
195,894 comments
102,331 users