Open
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