proxmox-backup/src/bin
Dietmar Maurer 1d44f175c6 proxmox-rrd: use a journal to reduce amount of bytes written
Append pending changes in a simple text based format that allows for
lockless appends as long as we stay below 4 KiB data per write.

Apply the journal every 30 minutes and on daemon startup.

Note that we do not ensure that the journal is synced, this is a
perfomance optimization we can make as the kernel defaults to
writeback in-flight data every 30s (sysctl vm/dirty_expire_centisecs)
anyway, so we lose at max half a minute of data on a crash, here one
should have in mind that we normally expose 1 minute as finest
granularity anyway, so not really much lost.

Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-10-13 13:36:02 +02:00
..
proxmox_backup_debug update to first proxmox crate split 2021-10-11 11:58:49 +02:00
proxmox_backup_manager update to first proxmox crate split 2021-10-11 11:58:49 +02:00
proxmox_tape update to first proxmox crate split 2021-10-11 11:58:49 +02:00
docgen.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
proxmox-backup-api.rs proxmox-rrd: use a journal to reduce amount of bytes written 2021-10-13 13:36:02 +02:00
proxmox-backup-debug.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
proxmox-backup-manager.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
proxmox-backup-proxy.rs proxmox-rrd: use a journal to reduce amount of bytes written 2021-10-13 13:36:02 +02:00
proxmox-daily-update.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
proxmox-tape.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00
sg-tape-cmd.rs update to first proxmox crate split 2021-10-11 11:58:49 +02:00