4 ms·
Interesting, thanks! > I suspect, however, that apple can't really allocate that many (if any at all) 32MB regions of memory at runtime due to fragmentation un
by scottlamb 5y ago
Interesting, thanks!
> I suspect, however, that apple can't really allocate that many (if any at all) 32MB regions of memory at runtime due to fragmentation unless they've substantially changed their contiguous memory allocator since I last looked.
That's unfortunate but at least is something they could fix in upcoming software versions. Some folks have put a lot of effort into huge pages on Linux, and it's still ongoing. [1] Not too surprising that macOS could have some room for improvement...
[1] https://lwn.net/Articles/887753/ https://lwn.net/Articles/887753/