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

Explore memory management algorithms #21

Open
Mikerah opened this issue Dec 31, 2021 · 0 comments
Open

Explore memory management algorithms #21

Mikerah opened this issue Dec 31, 2021 · 0 comments

Comments

@Mikerah
Copy link
Contributor

Mikerah commented Dec 31, 2021

In SCALE-MAMBA, the buddy allocator algorithm is used to manage memory in it's MPC VM. The buddy allocation algorithm is simple to implement but has internal fragmentation, which we want to minimize as much as possible. In MP-SPDZ, there is no runtime management. Although the buddy allocator is better than a simple dynamic one, we should consider what a slab allocator would look like in our context. Since we are targeting applications for which every important metric is critical i.e. space and time efficiency, we should carefully consider the different off-the-shelf memory allocation algorithms we can use.

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

No branches or pull requests

1 participant