Skip to content

Conversation

CompuIves
Copy link
Member

No description provided.

CompuIves added 19 commits July 23, 2022 17:35
Signed-off-by: Ives van Hoorne <[email protected]>

update test

Co-authored-by: Luminita Voicu <[email protected]>

move test to valid headers
This allows us to run VMs while streaming memory changes to disk

support mmap shared

update log

add configuration for memory backing file

Progress

tweaks
Firecracker used to map over the mmap when it was a restore. For
CodeSandbox this is not needed, as we use UFFD and we don't have the
limitation that the map was used for.

In fact, this is problematic for the UFFD handler, because it implicitly
unregisters the UFFD handler from the reclaimed range.
Firecracker is taking significant time on saving the snapshot file. For
comparison: writing the memory snapshot by us (1GiB) takes 1s, and
writing the snapshot file by Firecracker (150KiB) takes 8.5s. We presume
this is because of the syncing of the metadata, which is why we disable
it for now. The filesystem should still handle persisting, and given the
fact that the snapshot/memory files are temporary anyway, we can afford
to not sync/flush.
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.

1 participant