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

try to use slab allocation for cl_page

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • Lustre 2.14.0
    • None
    • None
    • 9223372036854775807

    Description

      Currently we use kmalloc for cl_page allocation, this is because
      cl_page size could be different with different objects(normal clio, obdecho objects)

      for most of cases we have 400+ bytes cl_page, kmalloc use 512 bytes slab behind, so instead of doing this behind, We just try to use private slab pool directly(512 bytes).

      This make much sesne especially for Direct IO since it try to allocate/free cl_page very frequently.

      Attachments

        Issue Links

          Activity

            People

              wshilong Wang Shilong (Inactive)
              wshilong Wang Shilong (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: