#!/bin/csh -f
#
# set up a config dir for each interesting combination
#
# Part of
#              The STARFISH Parallel file-system simulator
#        (Simulation Tool for Advanced Research in File Systems)
# 
#                               David Kotz
#                           Dartmouth College
#                              Version 3.0
#                              October 1996
#                          dfk@cs.dartmouth.edu

# a "quick" covariation study

if (! -d configs) mkdir configs

foreach rsize (8192 8)
    foreach layout (contig rsectors)
        foreach fs (cache general)
            foreach sort (nosort sort)
    	        foreach Ndisk (1 2 4 8 16 32)
  	    	       	if ($fs == cache && $sort == sort) continue
  	    	       	if ($fs == general && $sort == nosort) continue

    	        	config-one $rsize 1280 $fs $sort $layout $Ndisk
    	    	end
    	    end
        end
    end
end
