Skip to content

speed #5

@ThomasWaldmann

Description

@ThomasWaldmann

... depends on a lot of things and might be hard to compare.

just a few insights (from borg development):

  • borg 1.x does some information gathering based primarily on the filename, assuming that same filename means same file.
  • borg 2.0 will play a bit more on the safe side considering race conditions due to changing file systems, so it opens the file to get a file descriptor (fd) and then does the information gathering using the fd. the fd will always refer to the same fs object.
  • borg >= 1.2 checks if a file has changed while it was backed up.
  • these are a few reasons why more recent borg versions got a bit slower than older ones, especially on NFS, because open() and stat() are slow there.

So, sometimes speed == quick & dirty and slower == better / safer.

The less you do, the faster you get. The question is then if you still do enough / all that is needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions