aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Holm <pho@FreeBSD.org>2023-04-08 07:19:23 +0000
committerPeter Holm <pho@FreeBSD.org>2023-04-08 07:19:23 +0000
commita02c2856906f0889e21c8ad8004fe2a6fb4479c5 (patch)
tree8d105c79e8959d5901b6a90f7ccc2313bafd7a30
parent182b21d4627655ff95f9ecd8a8e1066184391f16 (diff)
downloadsrc-a02c2856906f0889e21c8ad8004fe2a6fb4479c5.tar.gz
src-a02c2856906f0889e21c8ad8004fe2a6fb4479c5.zip
stress2: Tune MAXVNODES to avoid excessive run time
-rwxr-xr-xtools/test/stress2/misc/core5.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test/stress2/misc/core5.sh b/tools/test/stress2/misc/core5.sh
index 856b01608f2e..c7928a7cf1dc 100755
--- a/tools/test/stress2/misc/core5.sh
+++ b/tools/test/stress2/misc/core5.sh
@@ -34,7 +34,7 @@
# 20150714 Slowdown seen with core5 waiting in vlruwk.
# sysctl vfs.vlru_allow_cache_src=1 used to resolve this.
-# For now change MAXVNODES from 1.000 to 4.000.
+# For now change MAXVNODES from 1.000 to 5.000.
[ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1
. ../default.cfg
@@ -131,7 +131,7 @@ EOF
#include <time.h>
#include <unistd.h>
-#define MAXVNODES 4000
+#define MAXVNODES 5000
#define NBFILES 10000
#define PARALLEL 4
#define RTIME (10 * 60)