Välimuistilohko
Välimuistilohko, known in English as a cache line, is the smallest unit of data that can be transferred between the main memory and the processor cache in a computer system. When the processor needs to access data, it doesn't fetch individual bytes or words. Instead, it fetches an entire cache line, which typically consists of 32, 64, or 128 bytes. This is done because of the principle of spatial locality, which states that if a particular memory location is accessed, it's likely that nearby memory locations will also be accessed soon.
The use of cache lines significantly improves performance by reducing the number of memory accesses. By bringing
The size of a cache line is a design parameter that balances the benefits of spatial locality