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

Reduce default max_dirty_mb for MDC

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Medium Medium
    • None
    • Lustre 2.17.0
    • 3
    • 9223372036854775807

      The default max_dirty_mb value for both OSC and MDC devices is 2000 MiB, but for most MDTs without DoM it does not make sense to allow so much cached data, because there is relatively little space available, the maximum file size is usually 1 MiB, and this consumes all of the grant for the target and causes false ENOSPC errors.

      It would be better to reduce the default value for MDCs to a smaller value, maybe 64 or 128 MiB. Possibly this can be based on the average free space on the MDT, or the DOM size limit and max_rpcs_in_flight?.

            wc-triage WC Triage
            adilger Andreas Dilger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: