Hi Philip:
Thanks for you replying.
Can you explain the case of "may step on itself" more detail ?
在 2015/1/30 16:48, Philip Keogh 写道:
> On Wed, Jan 28, 2015 at 5:36 PM, majun (F) <[email protected]> wrote:
>> Hi All:
>> I met a problem while testing the ramdisk peformance using fio.
>> The platform is arm64 , fio version is 2.1.10.
>>
>> The ramdisk is enabled on my platform , so there are dev/ram0 ...to
>> dev/ram15 totall 16 ramdisk devices.
>> I tried to test these ramdisks performance uisng the script file
>> list as below.
>>
>> #!/bin/bash
>> ...
>> fio --time_based ...
>> --runtime=$runtime ... &
>> done
>> sleep $runtime
>> done
>> ...
>> But the test result is not ok.
>> The error log is:
>> ...
>>
>
> Have you tried sleeping for slightly longer then the runtime passed to fio?
>
> As a result of implementation details and the simple fact that sleep
> isn't exact, nor is fio's runtime, a script not allowing a sufficient
> buffer between backgrounded fio operations but intending to run
> operations sequentially may step on itself.
> --
> To unsubscribe from this list: send the line "unsubscribe fio" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
>
--
To unsubscribe from this list: send the line "unsubscribe fio" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html