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

lu-822 have a bad hash function for a switching files

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Critical
    • None
    • None
    • None
    • 3
    • 17426

    Description

      after running sanity.sh i see very bad distribution for a fid's between OI files.

      [root@rhel6-64 tmp]# debugfs -R 'ls -l' lustre-mdt1 | grep oi.16 | grep -v 8192
      debugfs 1.42.7.wc1 (12-Apr-2013)
      22 100644 (1) 0 0 876544 9-Feb-2015 21:11 oi.16.0
      39 100644 (1) 0 0 491520 9-Feb-2015 21:11 oi.16.17
      70 100644 (1) 0 0 28672 9-Feb-2015 21:11 oi.16.48
      71 100644 (1) 0 0 2424832 9-Feb-2015 21:11 oi.16.49
      72 100644 (1) 0 0 483328 9-Feb-2015 21:11 oi.16.50
      73 100644 (1) 0 0 389120 9-Feb-2015 21:11 oi.16.51

      all other files 8k byte size - so likely unused.

      I don't see any reason to have 64 OI files if 5 only used.

      Please fix a hash function to have better distribution.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              shadow Alexey Lyashkov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: