llvm-project/llvm/utils
Hal Finkel 942e949f0d [lit] Raise the default soft process limit when possible
It is common to have a default soft process limit, at least on some families of
Linux distributions, of 1024. This is normally more than enough, but if you
have many cores, and you're running tests that create many threads, this can
become a problem. My POWER7 development machine has 48 cores, and when running
the lld regression tests, which often want to create up to 48 threads, I run
into problems. lit, by default, will want to run 48 tests in parallel, and
48*48 < 1024, and so many tests fail like this:

terminate called after throwing an instance of 'std::system_error'

what():  Resource temporarily unavailable
or lit fails like this when launching a test:

OSError: [Errno 11] Resource temporarily unavailable

lit can easily detect this situation and attempt to repair it before launching
tests (by raising the soft process limit to something that will allow ncpus^2
threads to be created), and should do so to prevent spurious test failures.

This is the follow-up to this thread:
http://lists.llvm.org/pipermail/llvm-dev/2015-October/090942.html

llvm-svn: 249161
2015-10-02 17:50:28 +00:00
..
FileCheck Cleanup places that passed SMLoc by const reference to pass it by value instead. NFC 2015-09-20 23:35:59 +00:00
KillTheDoctor More missing includes only visible to MSVC. 2015-03-23 18:23:08 +00:00
Misc
PerfectShuffle
TableGen [WinEH] Make FuncletLayout more robust against catchret 2015-10-01 18:44:59 +00:00
Target/ARM
bugpoint
buildit
count
crosstool
emacs Cleaning up LLVM IR mode for Emacs. 2015-09-10 13:44:28 +00:00
fpcmp
git
git-svn Improve check on git-svnrevert, better error message 2015-05-16 10:23:48 +00:00
jedit Rename all references to old mailing lists to new lists.llvm.org address. 2015-08-05 03:51:17 +00:00
kate Rename all references to old mailing lists to new lists.llvm.org address. 2015-08-05 03:51:17 +00:00
lint
lit [lit] Raise the default soft process limit when possible 2015-10-02 17:50:28 +00:00
llvm-build Filter libraries that are not installed out of CMake exports (currently 2015-08-21 18:10:57 +00:00
llvm-lit Revert r229224: Make the 'llvm-lit' utility defend against a system where Python3 2015-02-14 07:11:25 +00:00
not Add a small "usage:" comment at the top of not.cpp 2014-11-26 22:53:46 +00:00
release Revert r245355 "Release script: correctly symlink clang-tools-extra into the build (PR22765)" 2015-08-24 23:34:28 +00:00
testgen
textmate
unittest Rename all references to old mailing lists to new lists.llvm.org address. 2015-08-05 03:51:17 +00:00
valgrind valgrind/x86_64-pc-linux-gnu.supp: Suppress also /bin/bash. 2014-09-24 04:38:20 +00:00
vim HHVM calling conventions. 2015-09-29 22:09:16 +00:00
yaml-bench YAML: Implement block scalar parsing. 2015-05-13 23:10:51 +00:00
DSAclean.py
DSAextract.py
GenLibDeps.pl
GetRepositoryPath
GetSourceVersion
LLVMBuild.txt
Makefile Fix r236754: Add the missing yaml-bench dir to the makefile for utils. 2015-05-07 18:48:48 +00:00
UpdateCMakeLists.pl
bisect
check-each-file
clang-parse-diagnostics-file
codegen-diff
countloc.sh
create_ladder_graph.py Add ladder graph utility 2015-04-14 18:14:38 +00:00
findmisopt Delete -std-compile-opts. 2014-10-16 20:00:02 +00:00
findoptdiff
findsym.pl
getsrcs.sh
lldbDataFormatters.py utils: Teach lldbDataFormatters about llvm::Optional 2015-02-20 02:55:22 +00:00
llvm-compilers-check
llvm-native-gxx
llvm.grm
llvm.natvis
llvmdo
llvmgrep
makellvm
shuffle_fuzz.py [shuffles] Tweak my shufflevector fuzz test generation script to produce 2015-02-18 01:36:45 +00:00
sort_includes.py Add polly support to sort_includes.py 2015-05-09 09:08:56 +00:00
test_debuginfo.pl
update_llc_test_checks.py [x86] Teach my test updating script about another quirk of the printed 2015-02-15 00:08:01 +00:00
wciia.py