svn commit: r269868 - user/pho/stress2/misc

Peter Holm pho at FreeBSD.org
Tue Aug 12 12:40:58 UTC 2014


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


More information about the svn-src-user mailing list