[PATCH] D71786: RFC: [Support] On Windows, add optional support for rpmalloc
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 8 10:21:26 PST 2020
aganea added a comment.
In D71786#1809819 <https://reviews.llvm.org/D71786#1809819>, @riccibruno wrote:
> Is rpcmalloc using large pages by default if possible ? I have been toying with using large pages for some of the bump-pointer allocators in clang, namely the allocator of `ASTContext` and the allocator of `Sema`, and I am getting a ~5% improvement in parsing speed.
Not by default, but you can use `set LLVM_RPMALLOC_PAGESIZE=2M` or `set LLVM_RPMALLOC_PAGESIZE=1G` to enable large pages. However I realize that is broken (crashes), I'll investigate and get back.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D71786/new/
https://reviews.llvm.org/D71786
More information about the llvm-commits
mailing list