svn commit: r51309 - head/share/tools

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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}}
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.