Home | History | Annotate | Download | only in config
      1  7736  Andrew #
      2  7736  Andrew # CDDL HEADER START
      3  7736  Andrew #
      4  7736  Andrew # The contents of this file are subject to the terms of the
      5  7736  Andrew # Common Development and Distribution License (the "License").
      6  7736  Andrew # You may not use this file except in compliance with the License.
      7  7736  Andrew #
      8  7736  Andrew # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
      9  7736  Andrew # or http://www.opensolaris.org/os/licensing.
     10  7736  Andrew # See the License for the specific language governing permissions
     11  7736  Andrew # and limitations under the License.
     12  7736  Andrew #
     13  7736  Andrew # When distributing Covered Code, include this CDDL HEADER in each
     14  7736  Andrew # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
     15  7736  Andrew # If applicable, add the following below this CDDL HEADER, with the
     16  7736  Andrew # fields enclosed by brackets "[]" replaced with your own identifying
     17  7736  Andrew # information: Portions Copyright [yyyy] [name of copyright owner]
     18  7736  Andrew #
     19  7736  Andrew # CDDL HEADER END
     20  7736  Andrew #
     21  7736  Andrew #
     22  7736  Andrew # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     23  7736  Andrew # Use is subject to license terms.
     24  7736  Andrew #
     25  7736  Andrew # Example multi-client fileserver workload. Three clients named "client1",
     26  7736  Andrew # "client2" and "client3" access one file server whose shared directory is
     27  7736  Andrew # mounted on each client under the pathname "/theserver". This will run the
     28  7736  Andrew # fileserver workload on each of the clients, using seperate filesets for
     29  7736  Andrew # each server.
     30  7736  Andrew 
     31  7736  Andrew MULTICLIENT {
     32  7736  Andrew 	targetpath = /theserver;
     33  7736  Andrew 	clients = client1, client2, client3;
     34  7736  Andrew }
     35  7736  Andrew 
     36  7736  Andrew DEFAULTS {
     37  7736  Andrew 	runtime = 60;
     38  7736  Andrew         dir = /tmp;
     39  7736  Andrew         stats = /tmp;
     40  7736  Andrew 	filesystem = nfs;
     41  7736  Andrew 	description = "fileserver nfs";
     42  7736  Andrew }
     43  7736  Andrew 
     44  7736  Andrew CONFIG fileserver {
     45  7736  Andrew 	function = generic;
     46  7736  Andrew 	personality = fileserver;
     47  7736  Andrew 	nfiles = 1000;
     48  7736  Andrew 	meandirwidth = 20;
     49  7736  Andrew 	filesize = 16k;
     50  7736  Andrew 	nthreads = 1;
     51  7736  Andrew 	meaniosize = 2k;
     52  7736  Andrew }
     53