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

ldlm_reclaim_threshold underestimates per-lock memory cost

XMLWordPrintable

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

      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.

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

              Created:
              Updated: