DescriptionReduce DefaultConcurrentLinks from phys/4GB to phys/5GB.
VS 2015 uses about 20% more memory when linking. This caused a
severe page-fault storm on my development machine and subsequent tests
showed that linking could use ~63 GB of RAM (15 parallel links on a
64 GB machine). This suggests that VS 2013 would also be using a lot
of RAM (52.5 GB?) such that very little was left for other
applications or disk cache.
Linker working sets vary wildly but for some they can be very high:
unit_tests.exe hits peak working sets of 7.8 GB/9.5 GB on VS
2013/2015.
This change reduces parallel links by 20% (increase RAM-per-linker by
25%). The value can be overridden by setting GYP_LINK_CONCURRENCY.
BUG=440500
R=thakis@chromium.org
Committed: https://chromium.googlesource.com/external/gyp/+/6ee91ad8659871916f9aa840d42e1513befdf638
Patch Set 1 #
Messages
Total messages: 5 (0 generated)
|