#!/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

if (! -d luconfigs) mkdir luconfigs

foreach N (2048)
    foreach slabcols (16 32 128)
        foreach layout (contig rsectors)
    	    foreach fs (cache general)
		set sort = sort
            	if ($fs == cache) set sort = nosort
       	    	if ($layout == contig) set sort = nosort

    	    	luconfig $N $slabcols $fs $sort $layout 8
    	    end
    	end
    end
end

