Dear community, could someone please explain such RAM beahviour?
From GUI I can see:
While from CLI:
What is the trusted source for free mem? And what is not clear to me, is why the used memory is the same, but "free" indicates 3,5Gi whoile should be about 28GB? Basicalli with is the difference between free and available?
Proxmox is not installed using ZFS, btw.
Thank you
Lucas
EDIT: Oh OK! this is the right way:
Free memory is the amount of memory that is currently not used for anything. For this reason, especially on servers, I like to consider free memory as wasted memory. Once your applications/processes have launched, and considerable uptime has passed, this number should almost always be small.
Available memory is the amount of memory that is available for allocation to new or existing processes. Available memory is then an estimation of how much memory is available for use without swapping.
The difference between free vs. available memory in Linux is that free memory is not in use and sits there doing nothing. In contrast, available memory is used memory that includes but is not limited to caches and buffers that can be freed without the performance penalty of using swap space.
Still need to understand the use of the cached mem that is the one who tooks the free mem space
From GUI I can see:
While from CLI:
Code:
# free -h
total used free shared buff/cache available
Mem: 125Gi 97Gi 3.5Gi 51Mi 25Gi 28Gi
Swap: 39Gi 7.5Gi 32Gi
What is the trusted source for free mem? And what is not clear to me, is why the used memory is the same, but "free" indicates 3,5Gi whoile should be about 28GB? Basicalli with is the difference between free and available?
Proxmox is not installed using ZFS, btw.
Thank you
Lucas
EDIT: Oh OK! this is the right way:
Free memory is the amount of memory that is currently not used for anything. For this reason, especially on servers, I like to consider free memory as wasted memory. Once your applications/processes have launched, and considerable uptime has passed, this number should almost always be small.
Available memory is the amount of memory that is available for allocation to new or existing processes. Available memory is then an estimation of how much memory is available for use without swapping.
The difference between free vs. available memory in Linux is that free memory is not in use and sits there doing nothing. In contrast, available memory is used memory that includes but is not limited to caches and buffers that can be freed without the performance penalty of using swap space.
Still need to understand the use of the cached mem that is the one who tooks the free mem space
Last edited: