All of lore.kernel.org
 help / color / mirror / Atom feed
* All clients impatient
@ 2012-11-13 23:23 Scott Emery
  2012-11-14 17:42 ` Jens Axboe
  0 siblings, 1 reply; 11+ messages in thread
From: Scott Emery @ 2012-11-13 23:23 UTC (permalink / raw)
  To: fio


	I'm trying to use the client/server feature in fio 2.0.10
vanilla and I'm finding that "All clients" prints too soon. 

---
semery@xxx2-zzz2 multi2]$ cat run.all.2

export FIO="../fio-2.0.10/fio"
export SERVERS="xxx2-yyy1-ext xxx2-yyy2-ext xxx2-yyy3-ext xxx2-yyy4-ext"
#export SERVERS="xxx2-yyy1-ext"
export BASE=/pdmf/semery/bench
export SCRIPT="write_tape_2"

# parameters used in test file

export ARGS=""

for i in $SERVERS
do
# prep for run
        export HOST=$i
        export DIR=${BASE}/${HOST}
        sed "s_DIR_${DIR}"_ < $SCRIPT > $SCRIPT.$HOST
        mkdir -p $DIR
        ARGS+="--client=$HOST $SCRIPT.$HOST "
done

echo $FIO $ARGS

$FIO $ARGS > $SCRIPT.out &
[semery@xxx2-zzz2 multi2]$ rm /pdmf/semery/bench/xxx2*/*
[semery@xxx2-zzz2 multi2]$ ./run.all.2
../fio-2.0.10/fio --client=xxx2-yyy1-ext write_tape_2.xxx2-yyy1-ext --client=xxx
2-yyy2-ext write_tape_2.xxx2-yyy2-ext --client=xxx2-yyy3-ext write_tape_2.xxx2-y
yy3-ext --client=xxx2-yyy4-ext write_tape_2.xxx2-yyy4-ext
[semery@xxx2-zzz2 multi2]$ egrep 'groupid|bw=' write_tape_2.out
wt2: (groupid=1, jobs=1): err= 0: pid=1456: Tue Nov 13 15:06:11 2012
  read : io=10240MB, bw=277592KB/s, iops=135 , runt= 37774msec
wt2: (groupid=1, jobs=1): err= 0: pid=1457: Tue Nov 13 15:06:11 2012
  read : io=10240MB, bw=278144KB/s, iops=135 , runt= 37699msec
wt2: (groupid=1, jobs=1): err= 0: pid=19876: Tue Nov 13 15:06:12 2012
  read : io=10240MB, bw=276954KB/s, iops=135 , runt= 37861msec
All clients: (groupid=1, jobs=3): err= 0: pid=0: Tue Nov 13 15:06:12 2012
  read : io=32212MB, bw=850803KB/s, iops=405 , runt= 37861msec
wt2: (groupid=1, jobs=1): err= 0: pid=19877: Tue Nov 13 15:06:12 2012
  read : io=10240MB, bw=279003KB/s, iops=136 , runt= 37583msec
wt2: (groupid=1, jobs=1): err= 0: pid=6569: Tue Nov 13 15:06:18 2012
  read : io=10240MB, bw=276443KB/s, iops=134 , runt= 37931msec
wt2: (groupid=1, jobs=1): err= 0: pid=6570: Tue Nov 13 15:06:18 2012
  read : io=10240MB, bw=276530KB/s, iops=135 , runt= 37919msec
wt2: (groupid=1, jobs=1): err= 0: pid=19145: Tue Nov 13 15:06:18 2012
  read : io=10240MB, bw=276501KB/s, iops=135 , runt= 37923msec
wt2: (groupid=1, jobs=1): err= 0: pid=19146: Tue Nov 13 15:06:18 2012
  read : io=10240MB, bw=276669KB/s, iops=135 , runt= 37900msec
[semery@xxx2-zzz2 multi2]$ cat write_tape_2.xxx2-yyy1-ext

[global]
bs=2m
ioengine=libaio
fallocate=posix
rate=270m
iodepth=64
size=10g
direct=1
directory=/pdmf/semery/bench/xxx2-yyy1-ext

[wt2]
rw=read
numjobs=2
stonewall

---

	For a while it was totting things up after four clients,
which kind of made sense... now it's stuck on three.  Back when
it made more sense I thought that maybe handle_ts only dealt with
the information from a single thread for each client rather than
the aggregate of multiple thread jobs.  That part seems to hold
true even when it doesn't have the info for all the clients.

	Is this reporting the aggregate as expected?
	Is there a parameter change that I need to make to get
the output I expect?

Scott Emery
emery@sgi.com

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2012-11-14 21:32 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-13 23:23 All clients impatient Scott Emery
2012-11-14 17:42 ` Jens Axboe
2012-11-14 17:54   ` Jens Axboe
2012-11-14 18:10     ` Jens Axboe
2012-11-14 19:09       ` emery
2012-11-14 19:29         ` emery
2012-11-14 19:58           ` Jens Axboe
2012-11-14 20:57             ` Jens Axboe
2012-11-14 21:30               ` emery
2012-11-14 21:31                 ` Jens Axboe
2012-11-14 21:26             ` emery

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.