Skip to content

improvement of local change detection (inotify) #2451

Closed

Description

@moscicki

Please feel free to close this one if you already track this in some other issue.

From my point of view the next major improvement to scale the client should be to avoid periodic full scan of the local sync folder tree in order to detect local changes. For large trees this is inefficient and had been reported many times (as overload, overheat or battery drain). It really is killing the laptops. And people tend to store 100K files easily these days in their sync folder.

Relying on OS notifications should be the default and should be sufficient in large majority of cases. I imagine that sometimes if there are too many notifications a client could/should decide to rescan the full tree. But that should be rare.

Please also consider that in some cases an (advanced) user may require to keep the ability of periodic full scans of the local sync folder (on per folder-pair basis). This is if someone have their local folders on mounted filesystems which do not always reliably provide the notifications (e.g. in some cases the AFS).
In that case a setting in the folders config file could be sufficient.

Activity

  1. ckamm commented on Nov 6, 2014

    @ckamm
    Contributor

    I agree that this would be a huge improvement and track it in #2297. I'll add your comment about keeping regular discovery runs for some advanced special cases there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions