Hi everyone,
First of all congratulations for PBS: it literally saved us during the massive fire of the OVH data center in Strasbourg.
Since several months we take daily backup of a 1TB LXC container (nextcloud) and everything's working fine, except the duration, which is always around 2:30' regardless the amount of incremental data there is to upload. So I looked at others discussions here and made some tests but I'm not sure about everything. I already understood that CT are entirely re-read at each backup so I'm investigating to migrate this container to a VM. But still, I try to understand if this is the only explanation here.
The usual result:
What is important here is the average of 3.17MiB/s.
Our PBS is in another data center, it's an old Qnap which has just what needs PBS for its minimal requirements (no SSD, not very powerful)... but 3.17MiB/s ? So I did two benchmarks:
From PVE to PBS
From PBS to itself
Conclusions:
Where can I investigate?
Regards,
First of all congratulations for PBS: it literally saved us during the massive fire of the OVH data center in Strasbourg.
Since several months we take daily backup of a 1TB LXC container (nextcloud) and everything's working fine, except the duration, which is always around 2:30' regardless the amount of incremental data there is to upload. So I looked at others discussions here and made some tests but I'm not sure about everything. I already understood that CT are entirely re-read at each backup so I'm investigating to migrate this container to a VM. But still, I try to understand if this is the only explanation here.
The usual result:
Bash:
100: 2021-05-04 02:01:32 INFO: root.pxar: had to backup 28.11 GiB of 965.61 GiB (compressed 9.96 GiB) in 9087.07s
100: 2021-05-04 02:01:32 INFO: root.pxar: average backup speed: 3.17 MiB/s
100: 2021-05-04 02:01:32 INFO: root.pxar: backup was done incrementally, reused 937.50 GiB (97.1%)
What is important here is the average of 3.17MiB/s.
Our PBS is in another data center, it's an old Qnap which has just what needs PBS for its minimal requirements (no SSD, not very powerful)... but 3.17MiB/s ? So I did two benchmarks:
From PVE to PBS
Bash:
➜ ~ proxmox-backup-client benchmark --repository root@pam@[remotePBS]:8007:[repository]
Uploaded 124 chunks in 5 seconds.
Time per request: 42582 microseconds.
TLS speed: 98.50 MB/s
┌───────────────────────────────────┬────────────────────┐
│ Name │ Value │
╞═══════════════════════════════════╪════════════════════╡
│ TLS (maximal backup upload speed) │ 98.50 MB/s (8%) │
├───────────────────────────────────┼────────────────────┤
│ SHA256 checksum computation speed │ 332.37 MB/s (16%) │
├───────────────────────────────────┼────────────────────┤
│ ZStd level 1 compression speed │ 441.44 MB/s (59%) │
├───────────────────────────────────┼────────────────────┤
│ ZStd level 1 decompression speed │ 686.69 MB/s (57%) │
├───────────────────────────────────┼────────────────────┤
│ Chunk verification speed │ 230.50 MB/s (30%) │
├───────────────────────────────────┼────────────────────┤
│ AES256 GCM encryption speed │ 1681.82 MB/s (46%) │
└───────────────────────────────────┴────────────────────┘
From PBS to itself
Bash:
root@pbs:~# proxmox-backup-client benchmark --repository [repository]
Uploaded 192 chunks in 5 seconds.
Time per request: 26597 microseconds.
┌───────────────────────────────────┬───────────────────┐
│ Name │ Value │
╞═══════════════════════════════════╪═══════════════════╡
│ TLS (maximal backup upload speed) │ 157.70 MB/s (13%) │
├───────────────────────────────────┼───────────────────┤
│ SHA256 checksum computation speed │ 108.49 MB/s (5%) │
├───────────────────────────────────┼───────────────────┤
│ ZStd level 1 compression speed │ 178.54 MB/s (24%) │
├───────────────────────────────────┼───────────────────┤
│ ZStd level 1 decompression speed │ 225.02 MB/s (19%) │
├───────────────────────────────────┼───────────────────┤
│ Chunk verification speed │ 72.47 MB/s (10%) │
├───────────────────────────────────┼───────────────────┤
│ AES256 GCM encryption speed │ 240.78 MB/s (7%) │
└───────────────────────────────────┴───────────────────┘
Conclusions:
- There is an important difference between the two benchmarks. PVE seems to think that PBS is faster than it really is. Why?
- Even if we keep only the PBS's self test, its benchmark results are way faster than the real backup result. How is it possible?
Where can I investigate?
Regards,
Last edited: