svn commit: r51309 - head/share/tools

Wolfram Schneider wosch at FreeBSD.org
Fri Dec 15 09:07:18 UTC 2017


Author: wosch
Date: Fri Dec 15 09:07:16 2017
New Revision: 51309
URL: https://svnweb.freebsd.org/changeset/doc/51309

Log:
  by default run with more processes than CPUs, but not much more CPUs (n+1)

Modified:
  head/share/tools/webupdate-regression

Modified: head/share/tools/webupdate-regression
==============================================================================
--- head/share/tools/webupdate-regression	Thu Dec 14 12:03:21 2017	(r51308)
+++ head/share/tools/webupdate-regression	Fri Dec 15 09:07:16 2017	(r51309)
@@ -35,8 +35,8 @@
 
 set -e
 
-# by default run two processes per CPU
-ncpu2=$(( $(/sbin/sysctl -n hw.ncpu) * 2))
+# by default run with more processes than CPUs
+ncpu2=$(( $(/sbin/sysctl -n hw.ncpu) + 1))
 
 : ${NO_OBJ=YES}
 : ${make_opt=-j${ncpu2}}


More information about the svn-doc-all mailing list