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

Batch callbacks in osc_page_gang_lookup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.15.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Lock cancellation can be very time consuming when there are many pages under a lock.

      One easy area for improvement is the osc_page_gang_lookup callback functions - These work on individual pages from an array, but they can be trivially modified to work on the entire array at once, reducing overhead.

      I've got a simple patch for this, which improves performance of lock cancellation by about 10%, and truncate [when pages are in cache] (which also uses the call back) by about 5%.

      Attachments

        Issue Links

          Activity

            People

              dongyang Dongyang Li
              paf Patrick Farrell
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: