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

use per_cpu request pool osc_rq_pools

Details

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

    Description

      With many OSCs, the osc will pre-alloc memory at start.
      That will occupy the memory of application, especially when the
      client need to interact with hundreds of OSTs.

      We can solve it by using a golbal per_cpu pool 'osc_rq_pools' rather than
      local pool for per osc to change this situation. The upper limit
      size of requests in pools is about 1 percent of the total memory.

      Also, administrator can use a module parameter to limit the momory
      usage by:
      options osc osc_reqpool_mem_max=num
      The unit of num is MB, and the upper limit will be:
      MIN(num, 1% total memory)

      Attachments

        Activity

          People

            ys Yang Sheng
            wangshilong Wang Shilong (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: