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

feat(mount): Add client limit glibc malloc arenas #274

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

rolysr
Copy link
Collaborator

@rolysr rolysr commented Jan 7, 2025

This change adds the limitglibcmallocarenas option to the client. This options allows to reduce the virtual memory used by the client, at the cost of possible performance drop for multi-threading (due to contention).

The option is meant to be used in environments with limited RAM.

@rolysr rolysr force-pushed the glib-malloc-arenas-opt-client branch 4 times, most recently from c99c21b to 8dea53a Compare January 7, 2025 21:46
tests/setup_machine.sh Outdated Show resolved Hide resolved
@rolysr rolysr force-pushed the glib-malloc-arenas-opt-client branch 4 times, most recently from e61d0a0 to ba9c7dd Compare January 11, 2025 23:15
Copy link
Contributor

@ralcolea ralcolea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please, see my suggestions.

src/mount/sauna_client.h Outdated Show resolved Hide resolved
This change adds the `limitglibcmallocarenas` option to the client.
This options allows to reduce the virtual memory used by the client,
at the cost of possible performance drop for multi-threading
(due to contention).

The option is meant to be used in environments with limited RAM.

Signed-off-by: Rolando Sánchez Ramos <rolysr@leil.io>
@rolysr rolysr force-pushed the glib-malloc-arenas-opt-client branch from ba9c7dd to 672acde Compare January 22, 2025 03:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants