#!/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 2.0
#                              January 1995
#                          dfk@cs.dartmouth.edu

if (! -d luconfigs) mkdir luconfigs

foreach N (1024)
    foreach slabcols (64)  # (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

