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

Connect readahead to prep_partial_page to improve small (< 1 page) write performance

    XMLWordPrintable

Details

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

    Description

      When writing to a region of a file less than file size (either an already existing file or a shared file with multiple writers), writes of less than one page in size must first read in that page.

      This results in extremely poor performance. For the random I/O case, there's no easy improvements available, but the sequential case can benefit enormously by using readahead to bring in those pages.

      This can be done by using the normal read code w/readahead from the ll_prepare_partial_page function. This works well in the sequential case (3-10x performance improvement) and has no effect on the random case.

      Patch & benchmark #s forthcoming shortly.

      Attachments

        Issue Links

          Activity

            People

              paf Patrick Farrell
              paf Patrick Farrell
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: