From: Jens Axboe <axboe@kernel.dk>
To: Frank Leers <fleers@gmail.com>
Cc: fio@vger.kernel.org
Subject: Re: fio client/server with different job files
Date: Sun, 26 Aug 2012 15:20:06 -0700 [thread overview]
Message-ID: <503AA116.6040301@kernel.dk> (raw)
In-Reply-To: <5035D1AE.8080309@kernel.dk>
On 2012-08-22 23:46, Jens Axboe wrote:
> On 2012-08-23 02:32, Frank Leers wrote:
>> Hello,
>>
>> Is it possible to lanch fio against multiple servers, each having a
>> unique job file?
>>
>> example
>>
>> (assume fio --server started already on these two nodes)
>> # fio --client=node2 jobfile_for_node2 --client=node3 jobfile_for_node3.cfg
>>
>> Alternately, is there a directive that can be placed into a common job
>> file which would cause a specific server only to run jobs with that
>> directive?
>>
>> example
>>
>>
>> # fio --client=node2 --client=node3 jobfile.cfg
>>
>>
>> jobfile contains:
>>
>> [for_node2_only]
>> filename=/dev/shareddiskA
>> readwrite=read
>> runtime=60
>> ioengine=libaio
>> direct=1
>> iodepth=32
>> fsync_on_close=0
>> time_based
>> ioscheduler=noop
>> blocksize=4M
>> client=node2
>>
>>
>> [for_node3_only]
>> filename=/dev/shareddiskB
>> readwrite=read
>> runtime=60
>> ioengine=libaio
>> direct=1
>> iodepth=32
>> fsync_on_close=0
>> time_based
>> ioscheduler=noop
>> blocksize=4M
>> client=node3
>
> It's not currently possible. It's one of the shortcuts I took when
> developing and testing the client/server mode. In reality it's just due
> to the parser sending all files to all servers, it'd be pretty easy to
> fix up so that you could do:
>
> # fio --client=node2 jobfile_for_node2 --client=node3 jobfile_for_node3.cfg
>
> and have it work exactly as you expect.
>
> I've got some travel time coming up shortly, I'll get this fixed up. You
> are not the first to (rightfully) wonder why it behaves as it currently
> does :-)
Done mid-air (and still 10k up, fwiw), did not take too long. Please try
a current git snapshot, it should have support for doing the above
format of sending different ini files to different clients. I can't
really test it with no other machines to connect to, so feedback would
be appreciated.
--
Jens Axboe
prev parent reply other threads:[~2012-08-26 22:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-23 0:32 fio client/server with different job files Frank Leers
2012-08-23 6:46 ` Jens Axboe
2012-08-26 22:20 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=503AA116.6040301@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=fleers@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox