Go to file
Kuba Mracek 30881272e1 [lit] Limit parallelism of sanitizer tests on Darwin [llvm part, take 2]
Running lit tests and unit tests of ASan and TSan on macOS has very bad performance when running with a high number of threads. This is caused by xnu (the macOS kernel), which currently doesn't handle mapping and unmapping of sanitizer shadow regions (reserved VM which are several terabytes large) very well. The situation is so bad that increasing the number of threads actually makes the total testing time larger. The macOS buildbots are affected by this. Note that we can't easily limit the number of sanitizer testing threads without affecting the rest of the tests.

This patch adds a special "group" into lit, and limits the number of concurrently running tests in this group. This helps solve the contention problem, while still allowing other tests to run in full, that means running lit with -j8 will still with 8 threads, and parallelism is only limited in sanitizer tests.

Differential Revision: https://reviews.llvm.org/D28420

llvm-svn: 292548
2017-01-20 00:24:32 +00:00
clang Finish implementation of C++ DR1310 (http://wg21.link/cwg1310). 2017-01-20 00:20:39 +00:00
clang-tools-extra [clang-tidy] Do not trigger move fix for non-copy assignment operators in performance-unnecessary-value-param check 2017-01-19 15:51:10 +00:00
compiler-rt Whenever reasonable, merge ASAN quarantine batches to save memory. 2017-01-19 22:15:54 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Add logb builtin 2017-01-18 03:14:10 +00:00
libcxx Fix demangle helper after r286788 2017-01-20 00:00:31 +00:00
libcxxabi Revert r286788 2017-01-18 18:12:39 +00:00
libunwind Don't dump llvm-config --cmakedir output if command fails. 2017-01-14 03:46:05 +00:00
lld Also define 'end' if it is present in a .so. 2017-01-19 19:51:02 +00:00
lldb Provide a substitute to load command of gdb. 2017-01-19 17:32:50 +00:00
llgo [llgo] Remove support for LLVM attributes 2016-12-06 19:22:04 +00:00
llvm [lit] Limit parallelism of sanitizer tests on Darwin [llvm part, take 2] 2017-01-20 00:24:32 +00:00
openmp Use C++11 static_assert() for build asserts. 2017-01-18 07:49:30 +00:00
parallel-libs [Axccel] Remove -Wno-missing-braces in build 2016-12-19 21:34:07 +00:00
polly BlockGenerator: Do not redundantly reload from PHI-allocas in non-affine stmts 2017-01-19 14:12:45 +00:00