Why are the sizes of caches different why is L1 smaller than

Why are the sizes of caches different? why is L1 smaller than L2, and L2 smaller than L3 ,etc ?

Solution

The sizes of caches are different because of the concept of fast access and cost, it is explained along the following lines:

1.It is coslty to implement a fast search in a large cache and also fast memory is costly.

2.For implementing processor logic we can\'t use the registers present because it would become complex hence L1 cache is used for faster access and the trade off here is size.

3.L1 Cache is the fastest Cache, L1 cache its the smallest but its the fastest and the first one to be accessed.
L2 Cache is slower than L1, L2 cache is the 2nd cache that the core search\'s for its data, and bigger than L1, and so on.

4.The main reason is that the CPU searchs L1 first and if a miss happens it goes to the L2 which is the bigger one and if it don\'t find the data that is looking for there,then it goes to the bigger Cache which is L3.

Why are the sizes of caches different? why is L1 smaller than L2, and L2 smaller than L3 ,etc ?SolutionThe sizes of caches are different because of the concept

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site