Moving logs to RAM: what is better log2ram or folder2ram?

logui

Member
Feb 22, 2024
59
6
8
I am trying to reduce the log writes to consumer SSDs, any previous experience or recommendation on which tool to use for that (log2ram or folder2ram) that works fine with Proxmox + Ceph, and what folders have you moved to ram? Thanks
 
Logs is a negligible problem, the major "problem" in this respect is the PVE-internal database in /var/lib/pve-cluster and also all RRD graphs. Those write much, much more.

An used enterprise SSD for PVE itself costs on ebay roundabout 30 euros. Just buy one and save your time and effort on trying to optimize the writes on pve.
 
  • Like
Reactions: Johannes S
Logs is a negligible problem, the major "problem" in this respect is the PVE-internal database in /var/lib/pve-cluster and also all RRD graphs. Those write much, much more.

An used enterprise SSD for PVE itself costs on ebay roundabout 30 euros. Just buy one and save your time and effort on trying to optimize the writes on pve.
Thank you, I found that most of the writing to the disk is coming from the Ceph Monitors (ceph-mon) vs journald, now, I am trying to find a way to send them to memory or disable them or move them to RAM:

  • ceph-mon -f --cluster ceph --id N3 --setuser ceph --setgroup ceph [rocksdb:low]
  • ceph-mon -f --cluster ceph --id N3 --setuser ceph --setgroup ceph [ms_dispatch]
I see around 270-300KB/s written to the boot disk, mostly from ceph-mon, any idea how to address the Ceph logging? Thank you
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!