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

Read Directory page on open.

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      DoM provide a way to readahead for the pages on MDT, it save a time and rpc for MDT.
      Directory want to have similar option. It's very useful for small directories and increase a readdir speed for tree walk.

      100k directories with 100 files on each.

      1. find /mnt/kjlmo2/tests_dir -type d | wc -l
        102731

      unpatched.
      [root@c-lmo1005 ~]# time /bin/ls -1R /mnt/kjlmo2/tests_dir >& /dev/null
      real 1m48.603s

      patched
      [root@c-lmo1004 ~]# time /bin/ls -1R /mnt/kjlmo2/tests_dir >& /dev/null
      real 1m9.564s

      Attachments

        Issue Links

          Activity

            People

              shadow Alexey Lyashkov
              shadow Alexey Lyashkov
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: