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

limit lu_site hash table size on clients

Details

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

    Description

      lu_site_init() will allocate a hash table during the setup of both client and osd,
      which use the same default formula: we assume the lu_site cache can take up to 20% of total memory.

      It makes sense for osd but on client, we are allocating a ~128M hash table on a 32G box per mount. To make it worse we are mounting multiple lustre fs on a box so it can take ~128M * mounts of memory.

      We have lu_cache_percent as a module param but we should limit the hash table size by default on clients.

      Attachments

        Activity

          People

            wc-triage WC Triage
            lidongyang Li Dongyang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: