about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2019-12-16 16:23:07 -0500
committerMark Rousskov <mark.simulacrum@gmail.com>2019-12-16 18:31:56 -0500
commitf6281e858699b482088e5f5cadcc6a0b7ab9e975 (patch)
tree58cd07dc6e62d131978a977bd8d261e466911353 /src/rustllvm/RustWrapper.cpp
parentf0d4b571936d4072ed90ab7750636f68f1443b3e (diff)
downloadrust-f6281e858699b482088e5f5cadcc6a0b7ab9e975.tar.gz
rust-f6281e858699b482088e5f5cadcc6a0b7ab9e975.zip
Change the default thread count to min(4, vCPUs)
This avoids the problems of high thread counts (i.e., contention in the
kernel on the jobserver pipe due to thundering herd of readers) while
stil giving rustc some parallelism to work with.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions