I've not yet tried out Proxmox. Can you define where the Proxmox logs go? If so one could mount tmpfs ramdisks at startup and point the logs there with an aggressive log rotation cron to keep the usage low. If this is just syslog one could mount /var/log as tmpfs accepting that logs go away if one reboots or send syslog elsewhere over the network to cheap storage.
Not a proxmox user but that's certainly where I'd go, if I was: write to memory via an fs abstraction, get data off into another place via network if you need it.
There's also the noatime flag, for unavoidable writes to local disk: avoid the update to dir stat() state if you can.
5 comments
[ 456 ms ] story [ 2763 ms ] threadThere's also the noatime flag, for unavoidable writes to local disk: avoid the update to dir stat() state if you can.
a LOT.
I turned off a bunch of stuff (I don't run replication):
But stuff like /var/lib/pve-firewall and /var/lib/rrdcached was still written to every second.I played around with mount options like commit=n
It kind of helped to use log2ram:
https://github.com/azlux/log2ram
but it sure didn't eliminate the problem.
I think with a little effort from the proxmox guys, they could gather a lot of low-hanging fruit.