Did you set up the swap just now? In that case give the kernel time to swap out pages not used. This will not happen right away.
Hm, are you running ZFS on those servers?
No, a restart will not have an effect in this case. As I stated before, swap might behave unexpectedly in combination with ZFS, see https://forum.proxmox.com/threads/swappiness-value-is-being-ignored-100-ram-being-used.95598/My physical memory is not enough, I have to use swap to be able to, now how to open swap is a problem, is it necessary to restart it?
As stated in the docs, a rule of thumb is about 2GiB min + 1GiB for each 1TiB of storage. So if the ARC is for the 1.3TiB of storage, than 10GiB should be fine.I have 128 gigabytes of RAM. How much should I limit?
echo "$[10 * 1024*1024*1024]" >/sys/module/zfs/parameters/zfs_arc_max
Is 10G okay? Like This?
Yes, note however that this will not apply if you reboot, but for a first test it is fine. To make it persistent after reboot, you have to set it via option to the zfs kernel module, as described in the docs.echo "$[10 * 1024*1024*1024]" >/sys/module/zfs/parameters/zfs_arc_max
Well, here actually you have about 502 MiB swapped out, so the kernel is using it, just not aggressively. What is your swappiness in this case?Thank you very much. Memory usage is down. I also have a server that is not using ZFS and swap is still not enabled
View attachment 46624
https://forum.proxmox.com/javascript:;
We use essential cookies to make this site work, and optional cookies to enhance your experience.