Flexible I/O Tester development
 help / color / mirror / Atom feed
* Parameter Issue with 'ratemin'...
@ 2015-06-03 19:21 FIO-User-KKV
  2015-06-03 21:22 ` Hinson, Roger
  0 siblings, 1 reply; 4+ messages in thread
From: FIO-User-KKV @ 2015-06-03 19:21 UTC (permalink / raw)
  To: fio

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!


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

* RE: Parameter Issue with 'ratemin'...
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Hinson, Roger @ 2015-06-03 21:22 UTC (permalink / raw)
  To: FIO-User-KKV, fio@vger.kernel.org



-----Original Message-----
From: fio-owner@vger.kernel.org [mailto:fio-owner@vger.kernel.org] On Behalf Of FIO-User-KKV
Sent: Wednesday, June 03, 2015 12:21 PM
To: fio@vger.kernel.org
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



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

* Re: Parameter Issue with 'ratemin'...
  2015-06-03 21:22 ` Hinson, Roger
@ 2015-06-04 13:10   ` FIO-User-KKV
  2015-06-05 15:10     ` Jens Axboe
  0 siblings, 1 reply; 4+ messages in thread
From: FIO-User-KKV @ 2015-06-04 13:10 UTC (permalink / raw)
  To: fio

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.....




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

* Re: Parameter Issue with 'ratemin'...
  2015-06-04 13:10   ` FIO-User-KKV
@ 2015-06-05 15:10     ` Jens Axboe
  0 siblings, 0 replies; 4+ messages in thread
From: Jens Axboe @ 2015-06-05 15:10 UTC (permalink / raw)
  To: FIO-User-KKV, fio

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



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

end of thread, other threads:[~2015-06-05 15:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox