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

Layers: Speed up qemu by not bisecting #586

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Conversation

ikelos
Copy link
Member

@ikelos ikelos commented Nov 8, 2021

So we previously were bisecting the address space to determine whether the data was compressed. Instead we now mask the low 12 bits, because QEMU pages are a fix size of 0x1000 bytes. This provides a significant speed-up, but testing to ensure that the results are identical to the old implementation would be useful...

Fixes #585

@ikelos
Copy link
Member Author

ikelos commented Nov 8, 2021

If this speed things up, we can also remove the "slow layer" warning.

@ikelos
Copy link
Member Author

ikelos commented Dec 8, 2021

No response back on issue #585, so hopefully this actually fixes the problem, but I guess we need to try breaking to find out...

@ikelos ikelos merged commit 32ec4af into develop Dec 8, 2021
@ikelos ikelos deleted the issues/qemu-speed-up branch February 23, 2022 23:23
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.

QEMU layers are extremely slow
1 participant