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