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

ldlm_reclaim_threshold underestimates per-lock memory cost

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      ldlm_ratio2locknr() estimates the memory cost per lock using only sizeof(struct ldlm_lock), but in reality, each lock is associated with multiple additional structures, making the effective cost about 1.6× higher. As a result, ldlm_reclaim_threshold and ldlm_lock_limit are too lenient, and reclaim is not triggered before reaching OOM.

      Attachments

        Activity

          People

            skoyama Sohei Koyama
            skoyama Sohei Koyama
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: