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

always keep buffer_head reference on root node of iam_container

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • Lustre 2.2.0, Lustre 2.1.4
    • Lustre 2.0.0
    • None
    • 4789

      IAM in ldiskfs-osd will always consume some slots in bh_lru (see: fs/buffer.c), if we keep buffer_head reference on root node, we can save one slot in bh_lru and could be somehow helpful for overall performance, I did some tests, LRU hits increased 5%-10% while creating files if we always keep this reference.

      I'm not expert of this, so please post your comment here if it's totally wrong to do this.

            liang Liang Zhen (Inactive)
            liang Liang Zhen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: