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

Decrease default lru_max_age value

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None
    • 9223372036854775807

      lru_max_age is set to 65min for ages. This is a looong time and that makes clients keep lots of LDLM locks in cache, and more data in cache. The only reason for that, that I'm aware of, is to help login nodes to avoid them requesting the same locks too often.

      I know a lot of sites tune this value to something much smaller. Compute nodes have a more agressive value usually, and the LRU cache is clear between jobs anyway.

      I think it would be valuable to change the default value to a much reasonable one to avoid most of users to decrease this value. I think going down to 5 min would be a good move.

      If login nodes has to re-enqueue some locks every 5 min I think it is not a problem at all.

       

      What do you think of that?

            wc-triage WC Triage
            degremoa Aurelien Degremont (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: