Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects simply to a non-technical, business audience. Over…
A cold buffer is a segment of a computer memory reserved for temporary data storage that has not been accessed or used recently. A cold buffer could also refer to an area of the memory that has not been written recently. The concept of cold buffers is associated with the data structure used for memory management schemes like the least recently used (LRU) policy.
Modern operating systems often use efficient memory management schemes such as segmentation and paging. In paging, the process is divided into pages and memory is divided into frames. The pages are placed in frames as per the demands of the process. Segmentation follows a similar mechanism. Only a subset of the pages that are essential for the execution of a process need to be placed in main memory; the other pages are placed on secondary storage. However, the cost of accessing a page from secondary memory is too costly, which is why a buffer is maintained. The buffer uses an algorithm like the LRU page policy, where the buffer only stores pages that are frequently referenced by the application. This is because the inherent nature of the application dictates that certain parts are accessed more frequently than others.
The buffer stores the least-recently accessed page on the top side, while other pages are pushed down every time a new entry is made in the buffer. The top side of the buffer contains memory addresses that are accessed regularly, and is known as the hot buffer, whereas the bottom side of the buffer contains memory addresses that have not been accessed in a while, and therefore is known as the cold buffer.
Techopedia’s editorial policy is centered on delivering thoroughly researched, accurate, and unbiased content. We uphold strict sourcing standards, and each page undergoes diligent review by our team of top technology experts and seasoned editors. This process ensures the integrity, relevance, and value of our content for our readers.
Margaret is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical business audience. Over the past twenty years, her IT definitions have been published by Que in an encyclopedia of technology terms and cited in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine, and Discovery Magazine. She joined Techopedia in 2011. Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages.
What is Differential Privacy? Differential privacy is a mathematical framework for determining a quantifiable and adjustable level of privacy protection....
Margaret RouseTechnology Expert
What is cPanel Used For? cPanel is a crucial tool to help you access hosting features via a simple, non-technical...
Ilijia MiljkovacTechnology Writer
What is Operational Technology? Operational Technology, or OT, refers to the hardware and software systems that are used to control...
Marshall GunnellIT & Cybersecurity Expert
Trending NewsLatest GuidesReviewsTerm of the Day