Hello,
I'm posting here something I noticed on Proxmox 8.0.4 about Swap and Swapiness on Debian 12. Here is the configuration of my Proxmox VE node :
From the graphs on the proxmox VE web interface, I'm only at about 50% of RAM used. Here is the screenshot :
I never reach beyond 60% of RAM at all.
However, as you can see on the same above screenshot, the swap fills up over time without overloading of the server. The RAM used remains stable and never exceeds the 7.5 GB used. But I currently have 780 KB of data in the SWAP! I already performed a swapoff -a && swapon -a, but the behavior is still the same. The swap is used from time to time. I don't understand why...
By checking with htop command on the Proxmox node, I noticed I have a lot of cached memory :
Is swap is based also on cached / buffered memory ? It's really weird. Here is my Swapiness config :
Is someone able to explain me what I missed about this subject ?
Thank you very much for your help.
I'm posting here something I noticed on Proxmox 8.0.4 about Swap and Swapiness on Debian 12. Here is the configuration of my Proxmox VE node :
- 4 x Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz (1 Socket) (4 cores)
- 16 GB of RAM
- 6TB available (Raid 10 on 6*2TB Hard Disk)
- BTRFS Storage to perform snapshots (6TB)
- 100: SMB share (Samba) on a GNU/Trisquel system (4GB of RAM + 2 vCPUs)
- 101: Rocket Chat on Debian 11 (4GB of RAM + 4 vCPUs)
- 102: A GNU/Trisquel system for some tests (2 GB of RAM + 2 vCPUs)
From the graphs on the proxmox VE web interface, I'm only at about 50% of RAM used. Here is the screenshot :
I never reach beyond 60% of RAM at all.
However, as you can see on the same above screenshot, the swap fills up over time without overloading of the server. The RAM used remains stable and never exceeds the 7.5 GB used. But I currently have 780 KB of data in the SWAP! I already performed a swapoff -a && swapon -a, but the behavior is still the same. The swap is used from time to time. I don't understand why...
By checking with htop command on the Proxmox node, I noticed I have a lot of cached memory :
Is swap is based also on cached / buffered memory ? It's really weird. Here is my Swapiness config :
Is someone able to explain me what I missed about this subject ?
Thank you very much for your help.