Restic first backup very slowly

Restic call fsync after each pack-file: the larger the pack size, the less number of syncs.
You can see my results for SMR/CMR drives here.

2 Likes

Feature: min packsize flag by metalsp0rk · Pull Request #3731 · restic/restic · GitHub has been merged. So you can grab a beta build if you want to try out larger pack files: restic beta releases (/)

4 Likes

It doesn’t really improve write performance, it just writes less often.
The writes themselves are slower with SMR because adjacent areas must also be rewritten. Larger chunks of data mean this needs to be done less often, reducing the total time of all writes.

The hard disk itself has not become faster or slower, only restic works more optimized in terms of SMR.

1 Like