Cache and Buffer Memory - Similar But Not Same

7:48 PM

(0) Comments

Buffer and cache is a form of memory, but has a different function. Cache memory is a form of which is used to speed a process access to the data. This is the type of memory storage or temporary patch and can be updated with a refresh quickly.

Why cache can speed up data access? Because the data is never accessed are stored in a particular directory and will be refreshed at any time. So when we will return the data does not need to take the place of storage of the original, but to place the patch. Use of the cache can be seen on the web browser, processor L2 cache and in the Live CD.

Another case with the buffer. Appropriate name, the memory function to sustain this performance between the hardware and inter-application / program that has a speed of different priorities or have a different execution order. This can be seen at the time of recording data in a disc (burning), which involves the processor, RAM, hardware device (CD-RW or DVD-RW) and burning software. Thanks to the existence of the buffer memory, an application or hardware does not need to wait or delayed performance.

Because of the importance of buffers in an application, when designing and writing the program code, the buffer allocation into consideration the critical. Because of weaknesses such as this are often used for the crime with a buffer overflow techniques, techniques that overwhelm the program with the command chain to the buffer is not able to command and a crash.

TechnoLover

0 Responses to "Cache and Buffer Memory - Similar But Not Same"

Post a Comment