Geek Culture
Published in

Geek Culture

Linux Memory: Buffer vs Cache

Do you really understand the differences between buffer and cache?

Assuming you already know the definitions of “Buffer” and “Cache”:

  • Buffers are temporary storage for raw disk blocks, that is, cache data write to disks, usually not very large (about 20MB). In this way, the kernel can centralize scattered writes and optimize disk writes…

--

--

--

A new tech publication by Start it up (https://medium.com/swlh).

Recommended from Medium

Python Tutorial #1: Getting Started

How to Create Dynamic Libraries in C

Computing Factor Content of Trade using the Proportionality Assumption with Python

A Promised Proof

Auto-Staking & Auto-Compounding Protocol With The Highest & Best Paying Rates

DeFiYield.Info November Updates

Chapter 4 — Scrum is About Some (but Also About All)

C++17 structured bindings for more safe, functional code

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Tony

Tony

Senior Cloud Engineer

More from Medium

Linux — Disk I/O Performance

Linux Troubleshoot 100% CPU Usage

Linux — File System Deep Dive

Linux — High Disk I/O Troubleshoot