Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-16818 common: Evict NE memory bucket when empty - MD_ON_SSD_p2 #15519

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Nov 19, 2024

  1. DAOS-16818 common: Evict NE memory bucket when empty - MD_ON_SSD_p2

    Pre-enabler changes to umem_cache_map routine to enable allocator to
    mark a non-evictable page as evictable and visa-versa. The allocator
    will make use of the above changes as follows:
    - When all memory blocks in a non-evictable page is marked unused,
      allocator can mark the entire page as unused and will notify the
      umem_cache to mark the page as evictable. No further allocations
      from this memory block will happen from now ownwards.
    - Allocator will request the umem_cache to map the page again as
      non-evictable when there is a need to extend non-evictable region
      or as evictable page when a new evictable page has to be reserved.
    
    Signed-off-by: Sherin T George <[email protected]>
    sherintg committed Nov 19, 2024
    Configuration menu
    Copy the full SHA
    0eaa071 View commit details
    Browse the repository at this point in the history

Commits on Nov 20, 2024

  1. DAOS-16818 common: Evict NE memory bucket when empty - MD_ON_SSD_p2

    Addressed review comments on mem.c
    
    Signed-off-by: Sherin T George <[email protected]>
    sherintg committed Nov 20, 2024
    Configuration menu
    Copy the full SHA
    9bea2ca View commit details
    Browse the repository at this point in the history

Commits on Nov 25, 2024

  1. DAOS-16818 common: Evict NE memory bucket when empty - MD_ON_SSD_p2

    Enhanced the DAV_V2 allocator to support evicting empty
    non-evictable memory buckets from umem cache post a DAOS GC or
    aggregation. This inturn enables more evictable memory buckets to
    be cached.
    
    Signed-off-by: Sherin T George <[email protected]>
    sherintg committed Nov 25, 2024
    Configuration menu
    Copy the full SHA
    936bb0c View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2024

  1. DAOS-16818 common: Evict NE memory bucket when empty - MD_ON_SSD_p2

    Address review comment on checking the env variable during pool
    open/create and fixed valgrind related failure.
    
    Signed-off-by: Sherin T George <[email protected]>
    sherintg committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    1f2b405 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2024

  1. DAOS-16818 common: Evict NE memory bucket when empty - MD_ON_SSD_p2

    Inorder to ensure that gc happens in an incremental fashion, garbage
    reclaim is triggerred not only when number of empty buckets is greater
    than threshold but also when free space in general has increased by a
    threshhold.
    
    Signed-off-by: Sherin T George <[email protected]>
    sherintg committed Dec 2, 2024
    Configuration menu
    Copy the full SHA
    ed91dba View commit details
    Browse the repository at this point in the history