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

Support mmap/sbrk interception for avoiding data copies between runtime and client #581

Open
lukemartinlogan opened this issue Aug 30, 2023 · 0 comments
Labels
priority-medium This is a medium priority issue

Comments

@lukemartinlogan
Copy link
Collaborator

Currently, we copy data between clients and runtime since the runtime is in a different address space. However, if we intercept mmap/sbrk and put all data in SHM, this will allow applications to avoid the data copy, particularly for GET.

Each process will have to register its private allocator with the runtime. The runtime will have to store a mapping between process ID and allocator.

A well-formed version will have to have a wreaper thread to unregister dead processes automatically.

@lukemartinlogan lukemartinlogan added the priority-medium This is a medium priority issue label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-medium This is a medium priority issue
Projects
Status: Performance
Development

No branches or pull requests

1 participant