Skip to content

Dramatically decrease Scanning time on windows by using "NTFS USN Journal" #8507

Closed

Description

@yehia2amer

Include required information

Syncthing is now taking a vast amount of time to Scan files in a windows machine (depending on the data and machine power).
Using something like Everything SDK could dramatically reduce this time in the initial scan or when monitoring file system changes.

Activity

  1. added
    enhancement
    needs-triage
    on Aug 22, 2022
  2. AudriusButkevicius commented on Aug 22, 2022

    @AudriusButkevicius
    Member

    We use inotify to detect filesystem changes and only scan what has changed.

  3. yehia2amer commented on Nov 30, 2022

    @yehia2amer
    Author

    This issue is about windows, inotify is linux only API !

  4. rasa commented on Nov 30, 2022

    @rasa
    Member

    This issue is about windows, inotify is linux only API !

    @yehia2amer I think @AudriusButkevicius is using inotify in the generic sense. Syncthing uses the https://github.com/syncthing/notify library, which has a Windows implementation in https://github.com/syncthing/notify/blob/main/watcher_readdcw.go

  5. yehia2amer commented on Dec 18, 2022

    @yehia2amer
    Author

    Thanks a lot @rasa for your detailed reply. I think this covers the second aspect in my question regarding monitoring the file changes.

    What about the first aspect which is dramatically reducing the time in scanning?

  6. added
    frozen-due-to-age
    on Aug 22, 2023
  7. locked and limited conversation to collaborators on Aug 22, 2023
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

    enhancementfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions