I upgraded from 1.1.13 to 1.4.0 and the backup times have more than doubled. The
upgrade involved a bunch of changes, such as new drive and going from ext4 to
btrfs but it's looking like it's borg that churns a lot more cpu. I'm wondering
whether there's some simple change that I missed or messed-up in the upgrade.
Example:
Before the upgrade:
***** Starting borg create
cd /mnt/soumak; borg create --show-rc --stats -v --files-cache ctime,size --
numeric-owner --nobsdflags --noacls -Cauto,zstd -e '*/.cache' -e '*/.vscode-
server' --list -e '*/Trash' -e '*/google-chrome/*/IndexedDB' -e
'*/User/workspaceStorage' -e '*/.Genymotion' -e '*/.wine' -e '*/.cache' -e
'*/.platformio/packages' -e '*/.particle/toolchains' '/big/borg-archive::soumak-
2024-09-09T22:08' etc home root
Creating archive at "/big/borg-archive::soumak-2024-09-09T22:08"
------------------------------------------------------------------------------
Archive name: soumak-2024-09-09T22:08
Archive fingerprint:
d0bee3f808b533d8aa586f8b01c92263a4d6188ca493f68875747a7a7719733d
Time (start): Tue, 2024-09-10 00:52:29
Time (end): Tue, 2024-09-10 03:24:02
Duration: 2 hours 31 minutes 32.78 seconds
Number of files: 3111998
Utilization of max. archive size: 1%
------------------------------------------------------------------------------
Original size Compressed size Deduplicated size
This archive: 225.19 GB 120.92 GB 586.19 MB
All archives: 35.40 TB 29.74 TB 2.32 TB
Unique chunks Total chunks
Chunk index: 6559013 123373205
------------------------------------------------------------------------------
terminating with success status, rc 0
FILES: 3111998 total, 6531 added, 1491 modified, 0 chunked
After the upgrade:
***** Starting borg create
cd /mnt/borg/soumak; borg create --show-rc --stats -v --files-cache ctime,size -
-numeric-ids --noflags --noacls --noxattrs -Cauto,zstd -e '*/.cache' -e
'*/.vscode-server' --list -e '*/Trash' -e '*/google-chrome/*/IndexedDB' -e
'*/User/workspaceStorage' -e '*/.Genymotion' -e '*/.wine' -e '*/.cache' -e
'*/.platformio/packages' -e '*/.particle/toolchains' '/big/borg-archive::soumak-
2024-11-15T21:43' etc home root
Borg create exited with status 0
Creating archive at "/big/borg-archive::soumak-2024-11-15T21:43"
------------------------------------------------------------------------------
Repository: /big/borg-archive
Archive name: soumak-2024-11-15T21:43
Archive fingerprint:
f870ee5232db02f46820ce78ebd2192e106553576a95d3b29131cd6a5b8a9e87
Time (start): Sat, 2024-11-16 07:48:59
Time (end): Sat, 2024-11-16 12:58:06
Duration: 5 hours 9 minutes 7.12 seconds
Number of files: 3210442
Utilization of max. archive size: 1%
------------------------------------------------------------------------------
Original size Compressed size Deduplicated size
This archive: 243.01 GB 131.44 GB 317.07 MB
All archives: 34.72 TB 29.37 TB 2.34 TB
Unique chunks Total chunks
Chunk index: 6677985 122233206
------------------------------------------------------------------------------
terminating with success status, rc 0
FILES: 3210442 total, 1883 added, 440 modified, 0 chunked
What I'm observing is that borg sits most of time using 100% cpu, so I don't
think the increased time comes from disk, network, or filesystem, but I could be
wrong... I'm wondering whether I did something wrong and it's MD5-ing data to
detect changes or something like that.
System:
- the box running borg is a quad-core arm with a 8TB drive (was 4TB before
upgrade)
- the borg 'binary' comes from borg.bauerj.eu
- filesystem was ext4 now is btrfs
- the filesystem being backed-up is mounted via sshfs using the same options as
before, and the filesystem parameters have been unchanged
Any suggestions for how to narrow down where the time is going would be
appreciated!
Thanks!
Thorsten - happy borg user for a good number of years now!