Skip to content

Speed up directory scanning by ordering by inode #91

@ghost

Description

Spent most of today experimenting ways to speed up the directory scanning. Even for cached files, the scanning was taking too long on one of my machines (slow hd, and other io going on, with backup running at idle io priority)

On ext3/ext4 sorting the directory entries by inode number makes a big difference. I've not tested it on other filesystems yet, but I doubt it will make things worse.

See - joolswills@ae77443

I'm still testing this on the machine in question, but on my desktop machine which has a much faster HD, the speed up was significant, making it over 30% quicker. Of course, this means the backup order isn't alphabetical. I'm not sure it is that important, but this could be made optional perhaps, or maybe a sort could be done on the repository at the end or something.

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