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

Batch callbacks in osc_page_gang_lookup

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Severity:
      3
    • Rank (Obsolete):
      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

              • Assignee:
                dongyang Dongyang Li
                Reporter:
                paf Patrick Farrell (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated: