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

refactor OBD_ALLOC_LARGE to always do kmalloc first

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.8.0
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Since vmalloc allocations are notoriously unscalable and slow, we should do what other filesystems are doing (and what we converted upstream kernel client to do) and for large allocations we should always try kmalloc first (with NOWARN flag) and then if that fails, retry with vmalloc.

      Attachments

        Issue Links

          Activity

            [LU-6587] refactor OBD_ALLOC_LARGE to always do kmalloc first
            jgmitter Joseph Gmitter (Inactive) made changes -
            Fix Version/s New: Lustre 2.8.0 [ 11113 ]
            Fix Version/s Original: Lustre 2.9.0 [ 11891 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Reopened [ 4 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.9.0 [ 11891 ]
            Fix Version/s Original: Lustre 2.8.0 [ 11113 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-7666 [ LU-7666 ]
            adilger Andreas Dilger made changes -
            Resolution Original: Fixed [ 1 ]
            Status Original: Resolved [ 5 ] New: Reopened [ 4 ]
            pjones Peter Jones made changes -
            Fix Version/s New: Lustre 2.8.0 [ 11113 ]
            Resolution New: Fixed [ 1 ]
            Status Original: Open [ 1 ] New: Resolved [ 5 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to LDEV-123 [ LDEV-123 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to LDEV-124 [ LDEV-124 ]
            yujian Jian Yu made changes -
            Link New: This issue is related to LDEV-123 [ LDEV-123 ]
            pjones Peter Jones made changes -
            Link Original: This issue is related to LDEV-18 [ LDEV-18 ]
            pjones Peter Jones made changes -
            Link New: This issue is related to LDEV-19 [ LDEV-19 ]

            People

              ys Yang Sheng
              green Oleg Drokin
              Votes:
              0 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: