Files
borg/docs/usage
Thomas Waldmann 92d4cdd737 pick chunker scan kernel defaults per platform, fixes #10160
Until now every chunker ran its simplest implementation unless a
BORG_*_KERNEL env var named another one, because which kernel is fastest
is not predictable from the instruction set. It is predictable per
platform though, now that #10160 has benchmarks from a range of CPUs, so
choose accordingly instead of leaving speed on the table by default:

- fastcdc / buzhash64: neon on aarch64, scalar (the plain sequential
  loop, which the compiler folds into a single instruction there) on
  x86-64, blockwise elsewhere.
- toeplitz-aes / rabin-aes / goldilocks-aes: wider is simply faster
  here, so vaes, else aes-ni on x86-64, aes-arm64 on aarch64, and evp
  where there is no AES hardware path.

Both fall back where a build or a CPU does not have the preferred
kernel. An env var still means exactly what it says: a kernel that
cannot run here is an error, never a silent fallback.

On an Apple M3 this makes the default chunkers 1.6x (goldilocks-aes) to
2.1x (buzhash64) faster.
2026-08-22 20:48:58 +02:00
..
2025-12-23 18:00:09 +01:00
2017-06-07 00:38:48 +02:00
2025-09-23 14:56:23 +02:00
2026-07-21 15:28:38 +02:00
2025-09-23 14:56:23 +02:00
2025-12-23 18:00:09 +01:00
2026-06-16 14:17:43 +02:00
2026-07-21 15:28:38 +02:00
2025-09-23 14:56:35 +02:00
2017-06-07 00:38:48 +02:00
2024-09-18 14:05:12 +02:00
2026-06-16 14:17:43 +02:00
2026-06-16 14:17:43 +02:00
2026-06-16 14:17:43 +02:00
2026-08-12 15:59:52 +02:00
2017-06-07 00:38:48 +02:00
2026-06-20 18:36:59 +02:00
2026-07-21 15:28:38 +02:00
2025-09-23 14:56:23 +02:00
2024-09-08 18:06:24 +02:00
2025-12-23 18:00:09 +01:00
2025-12-23 18:00:09 +01:00
2025-04-21 21:08:42 +02:00
2026-06-16 14:17:43 +02:00
2026-03-15 14:37:50 +01:00
2026-06-16 15:21:57 +02:00
2026-06-16 14:17:43 +02:00
2024-10-02 23:52:39 +02:00
2026-03-15 14:37:50 +01:00
2025-12-23 18:00:09 +01:00
2024-11-16 20:14:16 +01:00
2025-12-23 18:00:09 +01:00
2024-02-09 17:37:38 +01:00
2026-08-01 23:44:02 -07:00
2026-07-26 15:48:31 +02:00