From: Jens Axboe <axboe@kernel.dk>
To: FIO-User-KKV <viali.lee@gmail.com>, fio@vger.kernel.org
Subject: Re: Parameter Issue with 'ratemin'...
Date: Fri, 05 Jun 2015 09:10:50 -0600 [thread overview]
Message-ID: <5571BBFA.9050500@kernel.dk> (raw)
In-Reply-To: <loom.20150604T150859-664@post.gmane.org>
On 06/04/2015 07:10 AM, FIO-User-KKV wrote:
> Hinson, Roger <Roger_Hinson@...> writes:
>
>>
>>
>> -----Original Message-----
>> From: fio-owner@...
>> [mailto:fio-owner@...] On Behalf Of FIO-User-KKV
>> Sent: Wednesday, June 03, 2015 12:21 PM
>> To: fio@...
>> Subject: Parameter Issue with 'ratemin'...
>>
>> Hi, I am using Fio 2.2.8.
>> I have an issue when setting the parameter 'ratemin'.
>> It only accepts '0'!
>> no matter what non-zero values I set,
>>
>> e.g.,
>> sudo fio -name "SOURCE" -numjobs 1 -bs 1M -rw write -direct 1 -
> runtime
>> 50 -filename=/dev/vdb -prio 0 -ratemin=1K
>>
>> I will end up quickly with "fio: minimum rate exceeds rate"!
>> Could anyone know what's wrong there?
>>
>> Thanks!
>>
>> --
>> Hey,
>>
>> The value of ratemin needs to be an int. If you want 1000, you need
> to enter as 1000, not 1K.
>>
>> Roger
>>
>>
> Hi, thanks for the quick reply.
> I also tried 1000, or 1, or 100 whatever...
> It didn't work...
> I always got "fio: minimum rate exceeds rate".
> only 0 works.....
ratemin is meant to be used with rate. Say you set rate at 5mb/s, and
you set a ratemin at 2mb/s. This means that fio will attempt to run at
5mb/s, and it will fatally fail if it can't maintain 2mb/s. Setting
ratemin without rate has no real meaning, which is why it errors out.
--
Jens Axboe
prev parent reply other threads:[~2015-06-05 15:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-03 19:21 Parameter Issue with 'ratemin' FIO-User-KKV
2015-06-03 21:22 ` Hinson, Roger
2015-06-04 13:10 ` FIO-User-KKV
2015-06-05 15:10 ` 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=5571BBFA.9050500@kernel.dk \
--to=axboe@kernel.dk \
--cc=fio@vger.kernel.org \
--cc=viali.lee@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