| /onnv/onnv-gate/usr/src/cmd/filebench/common/ |
| flowop_library.c | 57 #include "flowop.h" 65 * flowop has has a name such as "read", and a set of function pointers 66 * to call for initialization, execution and destruction of the flowop. 68 * implemented flowop. Most flowops use a generic initialization function 69 * and all currently use a generic destruction function. All flowop 75 * flowop, from which all other flowops are derived. These "instance 0" 78 * a flowop definition is encountered in an f language script, the 79 * "type" of flowop, such as "read" is used to search for the 80 * "instance 0" flowop named "read", then a new flowop is allocate [all...] |
| flowop.c | 33 #include "flowop.h" 43 static int flowop_composite(threadflow_t *threadflow, flowop_t *flowop); 44 static int flowop_composite_init(flowop_t *flowop); 45 static void flowop_composite_destruct(flowop_t *flowop); 48 * A collection of flowop support functions. The actual code that 52 * flowops, cyclically invoking the flowops on each threadflow's flowop 53 * list, collecting statistics about flowop execution, and other 64 * in the thread or outer composite flowop which invokes them. 80 * list for the thread or composite flowop they are part of. The tf_thrd_fops 84 * at the composite flowop's fo_comp_fops pointer. So, there is one big lis 110 flowop_t *flowop = list; local 127 flowop_t *flowop = filebench_shm->shm_flowoplist; local 275 flowop_t *flowop = *ops_list_ptr; local 330 flowop_t *flowop; local 370 flowop_t *flowop; local 724 flowop_t *flowop = *flowoplist; local 765 flowop_t *flowop; local 845 flowop_t *flowop; local 868 flowop_t *flowop; local 910 flowop_t *flowop; local 1192 flowop_t *flowop; local [all...] |
| flowop.h | 53 typedef struct flowop { struct 56 struct flowop *fo_next; /* Next in global list */ 57 struct flowop *fo_exec_next; /* Next in thread's or compfo's list */ 58 struct flowop *fo_resultnext; /* List of flowops in result */ 59 struct flowop *fo_comp_fops; /* List of flowops in composite fo */ 77 struct flowop *fo_targets; /* List of targets matching name */ 78 struct flowop *fo_targetnext; /* List of targets matching name */ 92 pthread_mutex_t fo_lock; /* Mutex around flowop */ 93 void *fo_private; /* Flowop private scratch pad area */ 94 char *fo_buf; /* Per-flowop buffer * [all...] |
| stats.c | 44 #include "flowop.h" 442 * them from the local statistics maintained by each flowop. 444 * each flowop into its associated FLOW_MASTER flowop. 456 flowop_t *flowop; local 480 flowop = filebench_shm->shm_flowoplist; 481 while (flowop) { 484 if (flowop->fo_instance <= FLOW_DEFINITION) { 485 flowop = flowop->fo_next 611 flowop_t *flowop; local 687 flowop_t *flowop; local 801 flowop_t *flowop; local 880 flowop_t *flowop; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/filebench/workloads/ |
| webserver.f | 41 flowop openfile name=openfile1,filesetname=bigfileset,fd=1 42 flowop readwholefile name=readfile1,fd=1,iosize=$iosize 43 flowop closefile name=closefile1,fd=1 44 flowop openfile name=openfile2,filesetname=bigfileset,fd=1 45 flowop readwholefile name=readfile2,fd=1,iosize=$iosize 46 flowop closefile name=closefile2,fd=1 47 flowop openfile name=openfile3,filesetname=bigfileset,fd=1 48 flowop readwholefile name=readfile3,fd=1,iosize=$iosize 49 flowop closefile name=closefile3,fd=1 50 flowop openfile name=openfile4,filesetname=bigfileset,fd= [all...] |
| varmail.f | 41 flowop deletefile name=deletefile1,filesetname=bigfileset 42 flowop createfile name=createfile2,filesetname=bigfileset,fd=1 43 flowop appendfilerand name=appendfilerand2,iosize=$meaniosize,fd=1 44 flowop fsync name=fsyncfile2,fd=1 45 flowop closefile name=closefile2,fd=1 46 flowop openfile name=openfile3,filesetname=bigfileset,fd=1 47 flowop readwholefile name=readfile3,fd=1,iosize=$readiosize 48 flowop appendfilerand name=appendfilerand3,iosize=$meaniosize,fd=1 49 flowop fsync name=fsyncfile3,fd=1 50 flowop closefile name=closefile3,fd= [all...] |
| webproxy.f | 39 flowop deletefile name=deletefile1,filesetname=bigfileset 40 flowop createfile name=createfile1,filesetname=bigfileset,fd=1 41 flowop appendfilerand name=appendfilerand1,iosize=$meaniosize,fd=1 42 flowop closefile name=closefile1,fd=1 43 flowop openfile name=openfile2,filesetname=bigfileset,fd=1 44 flowop readwholefile name=readfile2,fd=1,iosize=$readiosize 45 flowop closefile name=closefile2,fd=1 46 flowop openfile name=openfile3,filesetname=bigfileset,fd=1 47 flowop readwholefile name=readfile3,fd=1,iosize=$readiosize 48 flowop closefile name=closefile3,fd= [all...] |
| fileserver.f | 40 flowop createfile name=createfile1,filesetname=bigfileset,fd=1 41 flowop writewholefile name=wrtfile1,srcfd=1,fd=1,iosize=$fixediosize 42 flowop closefile name=closefile1,fd=1 43 flowop openfile name=openfile1,filesetname=bigfileset,fd=1 44 flowop appendfilerand name=appendfilerand1,iosize=$meaniosize,fd=1 45 flowop closefile name=closefile2,fd=1 46 flowop openfile name=openfile2,filesetname=bigfileset,fd=1 47 flowop readwholefile name=readfile1,fd=1,iosize=$fixediosize 48 flowop closefile name=closefile3,fd=1 49 flowop deletefile name=deletefile1,filesetname=bigfilese [all...] |
| compflow_demo.f | 38 define flowop name=readwrite, $fileset 40 flowop openfile name=openfile4,filesetname=$fileset,fd=1 41 flowop openfile name=openfile5,filesetname=$fileset,fd=2 42 flowop readwholefile name=readfile1,fd=1 43 flowop writewholefile name=writefile1,fd=2,srcfd=1 44 flowop closefile name=closefile4,fd=1 45 flowop closefile name=closefile5,fd=2 48 define flowop name=dowork, $filesetnm, $rwiters 50 flowop createfile name=createfile1,filesetname=$filesetnm,fd=1 51 flowop appendfilerand name=appendfilerand1,iosize=$meaniosize,fd= [all...] |
| networkfs.f | 74 define flowop name=rmw, $filesetrmw 76 flowop openfile name=openfile1,filesetname=$filesetrmw,indexed=$fileidx,fd=1 77 flowop readwholefile name=readfile1,iosize=$rdiosize,fd=1 78 flowop createfile name=newfile2,filesetname=$filesetrmw,indexed=$fileidx,fd=2 79 flowop writewholefile name=writefile2,fd=2,iosize=$wrtiosize,srcfd=1 80 flowop closefile name=closefile1,fd=1 81 flowop closefile name=closefile2,fd=2 82 flowop deletefile name=deletefile1,fd=1 85 define flowop name=launch, $filesetlch 87 flowop openfile name=openfile3,filesetname=$filesetlch,indexed=$fileidx,fd= [all...] |
| tpcso.f | 81 flowop aiowrite name=dbaiowrite-aux.df,filename=aux.df, 83 flowop aiowrite name=dbaiowrite-control_001,filename=control_001, 85 flowop aiowrite name=dbaiowrite-cust_0_0,filename=cust_0_0, 87 flowop aiowrite name=dbaiowrite-cust_0_1,filename=cust_0_1, 89 flowop aiowrite name=dbaiowrite-cust_0_2,filename=cust_0_2, 91 flowop aiowrite name=dbaiowrite-cust_0_3,filename=cust_0_3, 93 flowop aiowrite name=dbaiowrite-dist_0_0,filename=dist_0_0, 95 flowop aiowrite name=dbaiowrite-hist_0_0,filename=hist_0_0, 97 flowop aiowrite name=dbaiowrite-icust1_0_0,filename=icust1_0_0, 99 flowop aiowrite name=dbaiowrite-icust2_0_0,filename=icust2_0_0 [all...] |
| bringover.f | 41 flowop openfile name=openfile1,filesetname=srcfiles,fd=1 42 flowop readwholefile name=readfile1,fd=1,iosize=$iosize 43 flowop createfile name=createfile2,filesetname=destfiles,fd=2 44 flowop writewholefile name=writefile2,fd=2,srcfd=1,iosize=$iosize 45 flowop closefile name=closefile1,fd=1 46 flowop closefile name=closefile2,fd=2
|
| copyfiles.f | 41 flowop openfile name=openfile1,filesetname=bigfileset,fd=1 42 flowop readwholefile name=readfile1,fd=1,iosize=$iosize 43 flowop createfile name=createfile2,filesetname=destfiles,fd=2 44 flowop writewholefile name=writefile2,fd=2,srcfd=1,iosize=$iosize 45 flowop closefile name=closefile1,fd=1 46 flowop closefile name=closefile2,fd=2
|
| multistreamread.f | 42 flowop read name=seqread1,filename=largefile1,iosize=$iosize,directio=$directio 43 flowop bwlimit name=limit 47 flowop read name=seqread2,filename=largefile2,iosize=$iosize,directio=$directio 48 flowop bwlimit name=limit 52 flowop read name=seqread3,filename=largefile3,iosize=$iosize,directio=$directio 53 flowop bwlimit name=limit 57 flowop read name=seqread4,filename=largefile4,iosize=$iosize,directio=$directio 58 flowop bwlimit name=limit
|
| multistreamreaddirect.f | 41 flowop read name=seqread1,filename=largefile1,iosize=$iosize,directio 42 flowop bwlimit name=limit 46 flowop read name=seqread2,filename=largefile2,iosize=$iosize,directio 47 flowop bwlimit name=limit 51 flowop read name=seqread3,filename=largefile3,iosize=$iosize,directio 52 flowop bwlimit name=limit 56 flowop read name=seqread4,filename=largefile4,iosize=$iosize,directio 57 flowop bwlimit name=limit
|
| multistreamwrite.f | 42 flowop write name=seqwrite1,filename=largefile1,iosize=$iosize,directio=$directio 43 flowop bwlimit name=limit 47 flowop write name=seqwrite2,filename=largefile2,iosize=$iosize,directio=$directio 48 flowop bwlimit name=limit 52 flowop write name=seqwrite3,filename=largefile3,iosize=$iosize,directio=$directio 53 flowop bwlimit name=limit 57 flowop write name=seqwrite4,filename=largefile4,iosize=$iosize,directio=$directio 58 flowop bwlimit name=limit
|
| multistreamwritedirect.f | 41 flowop write name=seqwrite1,filename=largefile1,iosize=$iosize,directio 42 flowop bwlimit name=limit 46 flowop write name=seqwrite2,filename=largefile2,iosize=$iosize,directio 47 flowop bwlimit name=limit 51 flowop write name=seqwrite3,filename=largefile3,iosize=$iosize,directio 52 flowop bwlimit name=limit 56 flowop write name=seqwrite4,filename=largefile4,iosize=$iosize,directio 57 flowop bwlimit name=limit
|
| createfiles.f | 40 flowop createfile name=createfile1,filesetname=bigfileset,fd=1 41 flowop writewholefile name=writefile1,fd=1,iosize=$iosize 42 flowop closefile name=closefile1,fd=1 43 flowop opslimit name=limit
|
| filemicro_seqwriterand.f | 42 flowop openfile name=open-file,filename=bigfile,fd=1 43 flowop appendfilerand name=appendrand-file,dsync=$sync,iosize=$iosize,fd=1,iters=$count 44 flowop closefile name=close,fd=1 45 flowop finishoncount name=finish,value=1
|
| oltp.f | 59 flowop aiowrite name=lg-write,filesetname=logfile, 61 flowop aiowait name=lg-aiowait 62 flowop semblock name=lg-block,value=3200,highwater=1000 71 flowop aiowrite name=dbwrite-a,filesetname=datafiles, 73 flowop hog name=dbwr-hog,value=10000 74 flowop semblock name=dbwr-block,value=1000,highwater=2000 75 flowop aiowait name=dbwr-aiowait 84 flowop read name=shadowread,filesetname=datafiles, 86 flowop hog name=shadowhog,value=$usermode 87 flowop sempost name=shadow-post-lg,value=1,target=lg-block,blockin [all...] |
| mongo.f | 44 flowop openfile name=openfile1,filesetname=postset,fd=1 45 flowop appendfilerand name=appendfilerand1,iosize=$meaniosize,fd=1 46 flowop closefile name=closefile1,fd=1 47 flowop openfile name=openfile2,filesetname=postset,fd=1 48 flowop readwholefile name=readfile1,fd=1,iosize=$readiosize 49 flowop closefile name=closefile2,fd=1 50 flowop deletefile name=deletefile1,filesetname=postsetdel
|
| ratelimcopyfiles.f | 26 # RateLimCopyFiles.f uses the iopslimit flowop with the target attribute 27 # set to the writewholefile flowop to limit the rate to one writewholefile 62 flowop openfile name=openfile1,filesetname=bigfileset,fd=1 63 flowop readwholefile name=readfile1,fd=1,iosize=$iosize 64 flowop createfile name=createfile2,filesetname=destfiles,fd=2 65 flowop writewholefile name=writefile2,filesetname=destfiles,fd=2,srcfd=1,iosize=$iosize 66 flowop closefile name=closefile1,fd=1 67 flowop closefile name=closefile2,fd=2 68 flowop iopslimit name=iopslim1, target=writefile2
|
| videoserver.f | 59 flowop deletefile name=vidremover,filesetname=$passvidsname 60 flowop createfile name=wrtopen,filesetname=$passvidsname,fd=1 61 flowop writewholefile name=newvid,iosize=$writeiosize,fd=1,srcfd=1 62 flowop closefile name=wrtclose, fd=1 63 flowop delay name=replaceinterval, value=$repintval 71 flowop read name=vidreader,filesetname=$actvidsname,iosize=$readiosize 72 flowop bwlimit name=serverlimit, target=vidreader
|
| filemicro_createrand.f | 45 flowop appendfilerand name=append-file,filename=largefile,dsync=$sync,iosize=$iosize,iters=$iters 46 flowop fsync name=sync 47 flowop finishonbytes name=finish,value=$bytes
|
| /onnv/onnv-gate/usr/src/cmd/filebench/scripts/ |
| filebench_compare.pl | 48 # Print aggregate flowop stats 77 ($flowop, $ops, $bandwidth, $latency, $cpu, $wait, $seconds) = split(/[ \t]+/, $_); 93 if ($flowop =~ /shadowread/) { 94 $flowop = "shadow-read"; 98 if ($flowop =~ /db.*write/) { 99 $flowop = "db-write"; 103 if ($flowop =~ /db.*write/) { 104 $flowop = "db-write"; 110 $flowops{$flowop} = $flowop; [all...] |