russell.gallop added a comment. In D86694#2274383 <https://reviews.llvm.org/D86694#2274383>, @cryptoad wrote:
> In D86694#2273815 <https://reviews.llvm.org/D86694#2273815>, @aganea wrote: > >> If 4.4 TB of virtual pages are mapped in each process (this happens on >> startup), then we quickly exaust the 48-bit (256 TB) addressable space with >> 72+ programs running (on a 36-core). Any idea where this 4.4 TB mapping >> comes from? > > The size of the Primary is defined in > https://github.com/llvm/llvm-project/blob/master/compiler-rt/lib/scudo/scudo_platform.h#L75 > Scudo reserves that size but doesn't commit it, then it incrementally commits > when memory is needed within the reserved region. I guess using scudo as a general purpose allocator that could set a limit on the number of cores that can be used at once as @aganea found. Would there be any problem with making this very small (e.g. a couple of GB)? Thanks Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D86694/new/ https://reviews.llvm.org/D86694 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits