Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2019 08:55:58 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r355845 - user/pho/stress2/misc
Message-ID:  <201912170855.xBH8tw9W098901@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Tue Dec 17 08:55:58 2019
New Revision: 355845
URL: https://svnweb.freebsd.org/changeset/base/355845

Log:
  Increase the vnode cap (kern.maxvnodes) to allow the test to complete in a
  reasonable time.

Modified:
  user/pho/stress2/misc/core5.sh

Modified: user/pho/stress2/misc/core5.sh
==============================================================================
--- user/pho/stress2/misc/core5.sh	Tue Dec 17 08:30:11 2019	(r355844)
+++ user/pho/stress2/misc/core5.sh	Tue Dec 17 08:55:58 2019	(r355845)
@@ -35,11 +35,10 @@
 # Fixed by r279237.
 
 # 20150714 Slowdown seen with core5 waiting in vlruwk.
-# sysctl vfs.vlru_allow_cache_src=1 resolves this.
-# For now change MAXVNODES from 1.000 to 1.500.
+# sysctl vfs.vlru_allow_cache_src=1 used to resolve this.
+# For now change MAXVNODES from 1.000 to 4.000.
 
 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
-
 . ../default.cfg
 
 here=`pwd`
@@ -135,7 +134,7 @@ EOF
 #include <time.h>
 #include <unistd.h>
 
-#define MAXVNODES 1500
+#define MAXVNODES 4000
 #define NBFILES 10000
 #define PARALLEL 4
 #define RTIME (10 * 60)



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