c343c3f7f6
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> |
||
---|---|---|
.. | ||
acme | ||
api2 | ||
backup | ||
bin | ||
config | ||
server | ||
tape | ||
tools | ||
auth_helpers.rs | ||
auth.rs | ||
client_helpers.rs | ||
lib.rs | ||
rrd_cache.rs | ||
traffic_control_cache.rs |