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

try to use slab allocation for cl_page

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Lustre 2.14.0
    • Labels:
      None
    • Rank (Obsolete):
      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

              • Assignee:
                wshilong Wang Shilong
                Reporter:
                wshilong Wang Shilong
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: