I know that the cache is used to store data so that future requests for that data can be served faster. Normally we have three level cache: L1, L2 and L3 in the current computer architecture. We can see the cache hardware.
Also, I've heard about the buffer, which is used to arrange the IO stream. But I don't know which hardware is used by the buffer. Is it simply the memory?
For example, in Linux system,
free -m can show me the usage of cache/buff:
If I'm right, the
buff/cache shows the size of cache + the size of buffer. So the size of cache comes from the L1, L2 and L3 cache, right? But what about the size of buffer? Which hardware is used by the buffer?