-
-
Notifications
You must be signed in to change notification settings - Fork 229
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
Lots of time spent in memory subsystem #153
Comments
Are you using the linear memory optimization? It should be enabled on most platforms by default, unless you're disabling it by passing the '-m' flag. If I'm running on Linux x86-64 then I have a near certain chance of getting fast memory. Profiling will look like this: But if I pass the |
Sorry, should have specified the exact command. Yes, I'm using |
Have you read these sections of the readme?
The reason why The best bet for you would probably be to find some way to get the linear memory optimization working for you. For example, we could find some other formula for mapping guest addresses onto host addresses.
|
You're also invited to join our Discord https://discord.gg/Hb4QHYj2 |
Not sure if this is expected, and if anyone is interested in optimizing this.
I have a real world workload that spends a lot of time in the memory subsystem. macOS Instruments profile:
Unfortunately I can't share the workload itself but I can do more profiling or try patching some stuff. I've already figured out that caching some of the machine-related checks (
if (m->foobar ...)
) speeds up things by 10%The text was updated successfully, but these errors were encountered: