proxmox-backup/src
Dominik Csapak c343c3f7f6 tape: improve throughput by not unnecessarily syncing/committing
When writing data on tape, the idea was to sync/committing to tape and
the catalog to disk every 128GiB of data. For that the counter
'bytes_written' was introduced and checked after every chunk/snapshot
archive.

Sadly we forgot to reset the counter after doing so, which meant that
after 128GiB was written onto the tape, we synced/committed after every
archive on the tape for the remaining length of the tape.

Since syncing to tape and writing to disk takes a bit of time, the drive
had to slow down every time and reduced the available throughput. (In
our tests here from ~300MB/s to ~255MB/s).

By resetting the value to zero after syncing, we avoid that and increase
throughput performance when backups are bigger than 128GiB on tape.

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2024-05-08 09:04:42 +02:00
..
acme cli: acme: add possibility to set eab via the cli 2023-12-06 12:45:40 +01:00
api2 api: delay datastore lookup after permission check 2024-04-29 11:20:09 +02:00
backup verify/protect: improve error on disappearing snapshots 2023-02-08 15:19:32 +01:00
bin manager: add subcommand for managing AD realms 2024-04-24 21:06:14 +02:00
config cleanup more unnecesary allocations 2024-01-19 10:51:17 +01:00
server realm sync: add sync job for AD realms 2024-04-24 21:06:14 +02:00
tape tape: improve throughput by not unnecessarily syncing/committing 2024-05-08 09:04:42 +02:00
tools api: use if-let pattern for error-only handling 2024-03-25 17:17:12 +01:00
auth_helpers.rs use new auth api crate 2023-03-02 17:01:35 +01:00
auth.rs auth: request a write lock when exposing the LockedTfaConfig 2024-04-24 21:28:11 +02:00
client_helpers.rs provide separate helpers for pub/priv auth keyring access 2023-03-29 14:37:45 +02:00
lib.rs use new auth api crate 2023-03-02 17:01:35 +01:00
rrd_cache.rs rrd_cache: use proxmox-rrd from proxmox workspace 2024-02-01 13:56:03 +01:00
traffic_control_cache.rs api: use if-let pattern for error-only handling 2024-03-25 17:17:12 +01:00