Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Dec 2017 09:07:16 +0000 (UTC)
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org
Subject:   svn commit: r51309 - head/share/tools
Message-ID:  <201712150907.vBF97GB1085701@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712150907.vBF97GB1085701>