-
Notifications
You must be signed in to change notification settings - Fork 391
Open
Labels
A-nativeArea: calling native functions via FFIArea: calling native functions via FFIC-bugCategory: This is a bug.Category: This is a bug.I-slowImpact: Makes Miri even slower than it already isImpact: Makes Miri even slower than it already is
Description
As of #4343, the benchmark results for huge_allocs
are significantly worse (~20x) if the isolated allocator is enabled i.e. in native-lib mode. This could be alleviated by using mmap
internally instead, which did not have this issue, but will possibly require overallocating if the requested alignment is greater than the system pagesize.
Todos / open questions:
- Why is calling
alloc::alloc()
so much slower when asking for page-aligned memory? - If it's fixable, bug the relevant people / open a PR to fix this
- If it's not fixable, consider switching over to
mmap
ing its memory instead
Metadata
Metadata
Assignees
Labels
A-nativeArea: calling native functions via FFIArea: calling native functions via FFIC-bugCategory: This is a bug.Category: This is a bug.I-slowImpact: Makes Miri even slower than it already isImpact: Makes Miri even slower than it already is