T
T
Thiago Alvarez2018-07-21 10:05:51
linux
Thiago Alvarez, 2018-07-21 10:05:51

RAM in Ubuntu. buff/cache?

Hello. Worth Xubuntu.
> top
> ...
KiB Mem : 8058772 total, 2526584 free, 2052188 used, 3480000 buff/cache
KiB Swap: 8388604 total, 8388604 free, 0 used. 6291260 avail Mem
....
It costs 8GB of RAM, of which 2.5GB is free and 2GB means used. And what is buff/cache for 3.4GB there?
this is normal? what is it in general and why does memory go to buff/cache

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sim3x, 2018-07-21
@sim3x

https://www.linuxatemyram.com/
What's going on?
Linux is borrowing unused memory for disk caching. This makes it looks like you are low on memory, but you are not! Everything is fine!
What is happening more?
Linux uses memory not occupied by programs to cache data from disks
Everything is ok!
https://www.google.com.ua/search?q=linux+what+taco...

S
Sanes, 2018-07-21
@Sanes

this is normal?

Fine. The same is true in windows.

P
Psyherolol, 2018-10-27
@Psyherolol

Linux uses this memory by pagecache. If you always need free RAM, then pull it out of the server and put it next to the table (c) Biryukov from Yandex
There is a good lecture from Yandex on how Linux works with memory. on youtube

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question