[PATCH] D94267: [PDB] Defer relocating .debug$S until commit time and parallelize it
Alexandre Ganea via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 11 15:39:58 PST 2021
aganea added a comment.
FWIW, it looks like we're spending more than half of the CPU time in the NT kernel (running on Windows 10 version 2004).
F15003734: lld_symbols_1.PNG <https://reviews.llvm.org/F15003734>
This is mostly caused by contention when page faulting on either mmap'ed files or zero-pages. KeYieldProcessorEx is spinning while waiting for a lock for bringing pages into the 'working set'.
F15003834: lld_symbols_3.PNG <https://reviews.llvm.org/F15003834>
F15003845: lld_symbols_3.PNG <https://reviews.llvm.org/F15003845>
I won't have time this week, but I expect `VirtualLock` or `PrefetchVirtualMemory` APIs inserted very early, at proper places could probably save a few more seconds.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94267/new/
https://reviews.llvm.org/D94267
More information about the llvm-commits
mailing list