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

Improve performance of the LazyPageManager #39

Open
3 tasks
mrexodia opened this issue Jan 15, 2023 · 0 comments
Open
3 tasks

Improve performance of the LazyPageManager #39

mrexodia opened this issue Jan 15, 2023 · 0 comments
Labels
feature New feature or request

Comments

@mrexodia
Copy link
Owner

mrexodia commented Jan 15, 2023

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.

#36

  • Lazily load the data from the minidump structure to improve startup times even further
  • Switch to a region-based structure (like the MemoryManager)
  • Load the full region in handle_lazy_page to reduce the amount of page faults
@mrexodia mrexodia added the feature New feature or request label Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant