Re: fio: when not using a job file, timeouts are not applied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 18, 2011 at 4:11 PM, Chris Worley <worleys@xxxxxxxxx> wrote:
> On Mon, Jul 18, 2011 at 3:46 PM, Daniel Farina <daniel@xxxxxxxxxx> wrote:
>> On Mon, Jul 18, 2011 at 12:35 PM, Chris Worley <worleys@xxxxxxxxx> wrote:
>>> Can we see your fio command?  I never use job files, and always use
>>> timeouts successfully.
>>
>> Absolutely:
>>
>> # Doesn't terminate for "quite a while" (I wasn't willing to wait)
>> time sudo fio --readonly --minimal --norandommap --timeout=5
>> -name=/dev/sda1 --rw=randread --size=1GB --direct=1
>
> Is that a single dash prior to "name"?

Yes, although that could be due to some sort of oopsie on my part.  It
doesn't seem to matter (seen here with a small amount of data, hence
timeout does not come into play):

$ time sudo fio --readonly --minimal --norandommap --timeout=5
-name=/dev/sda1 --rw=randread --size=256k --direct=1
--filename=/dev/sda1
fio 1.55
2;/dev/sda1;0;0;256;529;495;0;0;0.000000;0.000000;366;14021;799.359375;1701.445859;367;14023;799.984375;1701.600223;0;0;0.000000%;0.000000;0.000000;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2.024291%;0.000000%;76;0;30;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;35.94%;57.81%;1.56%;1.56%;1.56%;0.00%;1.56%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%


real	0m0.749s
user	0m0.030s
sys	0m0.100s

$ time sudo fio --readonly --minimal --norandommap --timeout=5
--name=/dev/sda1 --rw=randread --size=256k --direct=1
--filename=/dev/sda1
fio 1.55
2;/dev/sda1;0;0;256;655;400;0;0;0.000000;0.000000;407;568;435.375000;21.859218;408;570;435.984375;21.941837;0;0;0.000000%;0.000000;0.000000;0;0;0;0;0;0.000000;0.000000;0;0;0.000000;0.000000;0;0;0.000000;0.000000;0;0;0.000000%;0.000000;0.000000;2.506266%;0.000000%;78;0;30;100.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.0%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;98.44%;1.56%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%;0.00%
real	0m0.679s
user	0m0.010s
sys	0m0.150s


-- 
fdr
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux SCSI]     [Linux IDE]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux