multithreading - How to get thread-ids and their jobs in Filebench? -
i doing simulation experiment filebench. need print thread-ids , filenames operations want perform. there file named threadflow.c has information threads don't understand how access it. presently passing workload model language(wml) file specific application , got following results:
cd filebench-master/ /filebench-master$ filebench -f mywebserver.f filebench version 1.5-alpha3 warning: not open /proc/sys/kernel/shmmax file! means ran filebench not root. filebench not increase shared region limits in case, can lead failures on workloads. 0.000: allocated 173mb of shared memory 0.002: web-server version 3.1 personality loaded 0.002: populating , pre-allocating filesets 0.002: logfiles populated: 1 files, avg. dir. width = 20, avg. dir. depth = 0.0, 0 leafdirs, 0.002mb total size 0.002: removing logfiles tree (if exists) 0.238: pre-allocating directories in logfiles tree 0.238: pre-allocating files in logfiles tree 0.242: bigfileset populated: 1000 files, avg. dir. width = 20, avg. dir. depth = 2.3, 0 leafdirs, 14.760mb total size 0.242: removing bigfileset tree (if exists) 0.434: pre-allocating directories in bigfileset tree 0.435: pre-allocating files in bigfileset tree 0.470: waiting pre-allocation finish (in case of parallel pre-allocation) 0.470: population , pre-allocation of filesets completed 0.470: starting 1 filereader instances 1.479: running... 61.496: run took 60 seconds... 61.914: per-operation breakdown appendlog 319904ops 5331ops/s 41.7mb/s 16.5ms/op [0.00ms - 4604.61ms] closefile10 319808ops 5329ops/s 0.0mb/s 0.0ms/op [0.00ms - 103.39ms] readfile10 319809ops 5329ops/s 78.5mb/s 0.0ms/op [0.00ms - 122.27ms] openfile10 319810ops 5329ops/s 0.0mb/s 0.1ms/op [0.00ms - 151.12ms] closefile9 319812ops 5329ops/s 0.0mb/s 0.0ms/op [0.00ms - 90.00ms] readfile9 319812ops 5329ops/s 78.5mb/s 0.0ms/op [0.00ms - 103.92ms] openfile9 319813ops 5329ops/s 0.0mb/s 0.1ms/op [0.00ms - 181.58ms] closefile8 319816ops 5329ops/s 0.0mb/s 0.0ms/op [0.00ms - 71.41ms] readfile8 319816ops 5329ops/s 78.8mb/s 0.0ms/op [0.00ms - 132.05ms] openfile8 319818ops 5330ops/s 0.0mb/s 0.1ms/op [0.00ms - 147.95ms] closefile7 319824ops 5330ops/s 0.0mb/s 0.0ms/op [0.00ms - 55.76ms] readfile7 319825ops 5330ops/s 78.7mb/s 0.0ms/op [0.00ms - 111.17ms] openfile7 319828ops 5330ops/s 0.0mb/s 0.1ms/op [0.00ms - 145.82ms] closefile6 319829ops 5330ops/s 0.0mb/s 0.0ms/op [0.00ms - 80.75ms] readfile6 319829ops 5330ops/s 78.5mb/s 0.0ms/op [0.00ms - 93.16ms] openfile6 319832ops 5330ops/s 0.0mb/s 0.1ms/op [0.00ms - 171.12ms] closefile5 319834ops 5330ops/s 0.0mb/s 0.0ms/op [0.00ms - 61.12ms] readfile5 319834ops 5330ops/s 78.7mb/s 0.0ms/op [0.00ms - 127.22ms] openfile5 319838ops 5330ops/s 0.0mb/s 0.1ms/op [0.00ms - 98.86ms] closefile4 319840ops 5330ops/s 0.0mb/s 0.0ms/op [0.00ms - 71.31ms] readfile4 319840ops 5330ops/s 78.5mb/s 0.0ms/op [0.00ms - 91.22ms] openfile4 319846ops 5330ops/s 0.0mb/s 0.1ms/op [0.00ms - 173.68ms] closefile3 319847ops 5330ops/s 0.0mb/s 0.0ms/op [0.00ms - 32.70ms] readfile3 319849ops 5330ops/s 79.2mb/s 0.0ms/op [0.00ms - 68.05ms] openfile3 319849ops 5330ops/s 0.0mb/s 0.1ms/op [0.00ms - 180.51ms] closefile2 319850ops 5330ops/s 0.0mb/s 0.0ms/op [0.00ms - 64.04ms] readfile2 319851ops 5330ops/s 78.8mb/s 0.0ms/op [0.00ms - 112.97ms] openfile2 319855ops 5330ops/s 0.0mb/s 0.1ms/op [0.00ms - 137.15ms] closefile1 319858ops 5330ops/s 0.0mb/s 0.0ms/op [0.00ms - 64.29ms] readfile1 319858ops 5330ops/s 78.6mb/s 0.0ms/op [0.00ms - 88.26ms] openfile1 319859ops 5330ops/s 0.0mb/s 0.1ms/op [0.00ms - 217.41ms] 61.914: io summary: 9914893 ops 165224.110 ops/s 53298/5331 rd/wr 828.5mb/s 1.6ms/op 61.914: shutting down processes
Comments
Post a Comment