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

Use pagevec for marking pages dirty

    XMLWordPrintable

Details

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

    Description

      When doing i/o from multiple writers to a single file, the
      per-file page cache lock (mapping->tree_lock) becomes a
      bottleneck.

      Most current uses are single page at a time. This converts
      one prominent use, marking page as dirty, to use a pagevec.

      This improves shared file write performance notably when
      many threads are writing to one file.

      [NB: Detailed numbers coming. Looks like no change in
      uncontended case, rising to ~25% for 8 writers.]

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: