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

albatross_daemon keeps all unikernels in memory #170

Open
hannesm opened this issue Dec 4, 2023 · 0 comments
Open

albatross_daemon keeps all unikernels in memory #170

hannesm opened this issue Dec 4, 2023 · 0 comments

Comments

@hannesm
Copy link
Collaborator

hannesm commented Dec 4, 2023

since a Unikernel.config contains a image : Cstruct.t - this is kept in memory during operation. There used to be (in ancient times) code to replace this with the empty cstruct once no longer needed, but since Unikernel_get allows to download the image, this is no longer the case.

Now, the albatross_daemon process running a lot of unikernels unnecessarily keeps the unikernel images in memory. We could (a) compress or (b) re-apply the old methodology and have the get command retrieve it from disk before sending it to the client. This would be very welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant