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

Read Directory page on open.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • Lustre 2.17.0
    • None
    • 3
    • 9223372036854775807

      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

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

              Created:
              Updated:
              Resolved: