Skip to content
This repository was archived by the owner on May 23, 2024. It is now read-only.
This repository was archived by the owner on May 23, 2024. It is now read-only.

Why is the default FLUSH_THRESHOLD set to 51200. Can it be added as a runtime parameter. #881

@rahulreddy7

Description

@rahulreddy7

I am running some tests to understand the interleaving size granularity between the kinds in the transparent mode. I see the flush_threshold value in src/memkind_memtier.c is acting as a buffer which upon exceeded, is checking the ratio for interleaving. Can this be added as a configurable parameter.

`
#define THREAD_BUCKETS (256U)
#define FLUSH_THRESHOLD (51200)

static MEMKIND_ATOMIC long long t_alloc_size[MEMKIND_MAX_KIND][THREAD_BUCKETS];
static MEMKIND_ATOMIC size_t g_alloc_size[MEMKIND_MAX_KIND];
`

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions