Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-14212

DNE3: directory migration progress monitor

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None

    Description

      There should be some way to monitor the progress of a long-running recursive directory migration on the MDS.

      Recursive directory migration should be replaced in userspace with multiple single-directory migrations (LU-14795) so that would be possible to have "lfs migrate -m" report progress in userspace after each directory is migrated, similar to file migration statistics in LU-13482 (the read/write bandwidth and total data migrated are not useful for directory migration):

      directory:
      - { seconds: <seconds>, files: <count>, fps: <files_per_sec> }
      - { tot_sec: <seconds>, tot_files: <count>, avg_fps: <files_per_sec> }
      

      seconds is the time taken to migrate the previous directory, files: is the number of files (all entries) in that directroy, fps=files/seconds for that directory. tot_sec: is the total elapsed time for the current migration, tot_files the total number of files (all entries) migrated so far, and avg_fps = tot_files/tot_sec for all entries migrated so far. The stats line(s) would only be shown every stats_interval seconds.

      Attachments

        Issue Links

          Activity

            [LU-14212] DNE3: directory migration progress monitor
            adilger Andreas Dilger made changes -
            Link Original: This issue is related to EX-4481 [ EX-4481 ]
            adilger Andreas Dilger made changes -
            Epic Link New: EX-4481 [ 67870 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-14211 [ LU-14211 ]
            adilger Andreas Dilger made changes -
            Description Original: There should be some way to monitor the progress of a long-running recursive directory migration on the MDS.

            If recursive directory migration is replaced in userspace with multiple single-directory migrations (LU-14795) then it would be possible to have "{{lfs migrate -m}}" report progress itself after each directory is migrated, similar to file migration in LU-13482 (the read/write bandwidth and total data migrated are not useful for directory migration:
            {noformat}
            directory:
            - { total: <seconds>, files: <count>, fps: <files_per_sec> }
            {noformat}
            New: There should be some way to monitor the progress of a long-running recursive directory migration on the MDS.

            Recursive directory migration should be replaced in userspace with multiple single-directory migrations (LU-14795) so that would be possible to have "{{lfs migrate -m}}" report progress in userspace after each directory is migrated, similar to file migration statistics in LU-13482 (the read/write bandwidth and total data migrated are not useful for directory migration):
            {noformat}
            directory:
            - { seconds: <seconds>, files: <count>, fps: <files_per_sec> }
            - { tot_sec: <seconds>, tot_files: <count>, avg_fps: <files_per_sec> }
            {noformat}
            {{seconds}} is the time taken to migrate the previous directory, {{files:}} is the number of files (all entries) in that directroy, {{fps=files/seconds}} for that directory. {{tot_sec:}} is the total elapsed time for the current migration, {{tot_files}} the total number of files (all entries) migrated so far, and {{avg_fps = tot_files/tot_sec}} for all entries migrated so far. The stats line(s) would only be shown every {{stats_interval}} seconds.
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-14795 [ LU-14795 ]
            adilger Andreas Dilger made changes -
            Description Original: There should be some way to monitor the progress of a long-running recursive directory migration on the MDS.

            If recursive directory migration is replaced in userspace with multiple single-directory migrations (LU-14795) then it would be possible to have "{{lfs migrate -m}}" report progress itself as each directory is migrated, similar to file migration in LU-13482.
            New: There should be some way to monitor the progress of a long-running recursive directory migration on the MDS.

            If recursive directory migration is replaced in userspace with multiple single-directory migrations (LU-14795) then it would be possible to have "{{lfs migrate -m}}" report progress itself after each directory is migrated, similar to file migration in LU-13482 (the read/write bandwidth and total data migrated are not useful for directory migration:
            {noformat}
            directory:
            - { total: <seconds>, files: <count>, fps: <files_per_sec> }
            {noformat}
            adilger Andreas Dilger made changes -
            Description Original: There should be some way to monitor the progress of a long-running recursive directory migration on the MDS. New: There should be some way to monitor the progress of a long-running recursive directory migration on the MDS.

            If recursive directory migration is replaced in userspace with multiple single-directory migrations (LU-14795) then it would be possible to have "{{lfs migrate -m}}" report progress itself as each directory is migrated, similar to file migration in LU-13482.
            adilger Andreas Dilger made changes -
            Link New: This issue is related to EX-4481 [ EX-4481 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to EX-4267 [ EX-4267 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-13482 [ LU-13482 ]

            People

              wc-triage WC Triage
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: