* * * Copyright 2010 Sun Microsystems, Inc. All rights reserved. * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. * * The contents of this file are subject to the terms of the Common * Development and Distribution License("CDDL") (the "License"). * You may not use this file except in compliance with the License. * * You can obtain a copy of the License at http://www.sun.com/cddl/cddl.html * or ../vdbench/license.txt. See the License for the * specific language governing permissions and limitations under the License. * * When distributing the software, include this License Header Notice * in each file and include the License file at ../vdbench/licensev1.0.txt. * * If applicable, add the following below the License Header, with the * fields enclosed by brackets [] replaced by your own identifying information: * "Portions Copyrighted [year] [name of copyright owner]" * * * Author: Henk Vandenbergh. * * Sequentially read and write randomly selected files. * * 'format=yes' first creates (depth*width*files) 1000 128k files. * Test then will have eight threads each randomly select a file and sequentially * read it. At EOF a new file is selected. * An other eight threads will do the same, but only for writes. * * Note: the amount of files and the total combined file size in this test * guarantees that most if not all of the i/o activity is done from cache. * Increase the amount of files and/or the file size to make sure that some * real disk i/o activity is done. * fsd=fsd1,anchor=/dir1,depth=1,width=1,files=1000,size=128k fwd=default,xfersize=4k,fileio=sequential,fileselect=random,threads=8 fwd=fwd1,fsd=fsd1,operation=read fwd=fwd2,fsd=fsd1,operation=write rd=rd1,fwd=fwd*,fwdrate=max,format=yes,elapsed=120,interval=1