Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Aug 2014 12:40:57 +0000 (UTC)
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r269868 - user/pho/stress2/misc
Message-ID:  <53ea0b59.6733.1c2389e4@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pho
Date: Tue Aug 12 12:40:57 2014
New Revision: 269868
URL: http://svnweb.freebsd.org/changeset/base/269868

Log:
  Tune scenario to create more load.
  
  Sponsored by:	 EMC / Isilon storage division

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

Modified: user/pho/stress2/misc/crossmp2.sh
==============================================================================
--- user/pho/stress2/misc/crossmp2.sh	Tue Aug 12 12:36:06 2014	(r269867)
+++ user/pho/stress2/misc/crossmp2.sh	Tue Aug 12 12:40:57 2014	(r269868)
@@ -54,15 +54,16 @@ if [ $# -eq 0 ]; then
 	done
 else
 	if [ $1 = find ]; then
-		for i in `jot 64`; do
+		for i in `jot 128`; do
 			find ${mntpoint}* -maxdepth 1 -type f > /dev/null 2>&1
 		done
 	else
 
 		# The test: Parallel mount and unmounts
-		for i in `jot 64`; do
+		for i in `jot 128`; do
 			m=$1
 			mount -t nfs -o tcp -o nfsv3 -o retrycnt=3 -o intr -o soft -o rw 127.0.0.1:/tmp ${mntpoint}$m
+			sleep .5
 			opt=`[ $(( m % 2 )) -eq 0 ] && echo -f`
 			n=0
 			while mount | grep -qw ${mntpoint}$m; do



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53ea0b59.6733.1c2389e4>