Posts

Showing posts with the label Cache

Cache Memory by Grovestudies

Image
 GroveStudies Production: Cache memory Cache memory, also called cache, supplementary memory system that temporarily stores frequently used instructions and data for quicker processing by the central processing unit (CPU) of a computer. Levels of memory: Level 1 or Register – It is a type of memory in which data is stored and accepted that are immediately stored in CPU. Most commonly used register is accumulator, Program counter, address register etc. Level 2 or Cache memory – It is the fastest memory which has faster access time where data is temporarily stored for faster access. Level 3 or Main Memory – It is memory on which computer works currently. It is small in size and once power is off data no longer stays in this memory. Level 4 or Secondary Memory – It is external memory which is not as fast as main memory but data stays permanently in this memory. The performance of cache memory is frequently measured in terms of a quantity called Hit ratio. Hit ratio = hit / (hit + miss) =

Computer Memory by Grovestudies

Image
 GroveStudies Production: Computer Memory The computer memory holds the data and instructions needed to process raw data and produce output. The computer memory is divided into large number of small parts known as cells. Each cell has a unique address which varies from 0 to memory size minus one. Computer memory is of two types: Volatile (RAM) and Non-volatile (ROM). The secondary memory (hard disk) is referred as storage not memory. But, if we categorize memory on behalf of space or location, it is of four types: Register memory Cache memory Primary memory Secondary memory Register Memory Register memory is the smallest and fastest memory in a computer.A register temporarily holds frequently used data, instructions, and memory address that are to be used by CPU. They hold instructions that are currently processed by the CPU. All data is required to pass through registers before it can be processed. So, they are used by CPU to process the data entered by the users. Registers hold a sma