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

Decrease default lru_max_age value

    XMLWordPrintable

Details

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

    Description

      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?

      Attachments

        1. lru-resize-dld.lyx
          64 kB
          Andreas Dilger
        2. lru-resize-hld.lyx
          23 kB
          Andreas Dilger

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: