diff options
author | Björn Gustavsson <[email protected]> | 2011-11-14 15:52:44 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-11-14 16:00:42 +0100 |
commit | 565da4b6b2e33b9fb27d8f07ed073d2d32679892 (patch) | |
tree | c6fd90a224026f1d0fe8682535aa85bb391287ea | |
parent | 0ec27bfa5b1b12d2b3c77c35293dfe592d2b49a8 (diff) | |
download | otp-565da4b6b2e33b9fb27d8f07ed073d2d32679892.tar.gz otp-565da4b6b2e33b9fb27d8f07ed073d2d32679892.tar.bz2 otp-565da4b6b2e33b9fb27d8f07ed073d2d32679892.zip |
erlc: Do not bind schedulers when invoking "erl"
If parallel make is used, several instance of 'erlc' is likely to
be invoked at once. Therefore, the default binding of schedulers
to CPU cores will do no good. (With this change, the build of
Erlang/OTP with six threads finished in about 7 minutes; without in
about 11 minutes.)
-rw-r--r-- | erts/etc/common/erlc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/erts/etc/common/erlc.c b/erts/etc/common/erlc.c index 35c360a99d..23f009ff4d 100644 --- a/erts/etc/common/erlc.c +++ b/erts/etc/common/erlc.c @@ -185,6 +185,7 @@ main(int argc, char** argv) * Push initial arguments. */ + PUSH("+sbtu"); PUSH("-noinput"); PUSH2("-mode", "minimal"); PUSH2("-boot", "start_clean"); |