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

Implement LazyPageManager #36

Merged
merged 1 commit into from
Jan 15, 2023
Merged

Implement LazyPageManager #36

merged 1 commit into from
Jan 15, 2023

Conversation

mrexodia
Copy link
Owner

@mrexodia mrexodia commented Jan 13, 2023

Closes #35

This is a very naïve implementation. It stores a map of page_address -> LazyPage in the PageManager. Initially none of the pages are committed, so once execution starts it raises a memory exception. Once this happens the page is committed and emulation resumed.

There is no optimization done on the data structure yet, so a 10GB RW page would create ~10 million dictionary entries. The speedup is still very significant though.

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.

Dumpulator takes a long time to load when handling large dumps
1 participant