All of lore.kernel.org
 help / color / mirror / Atom feed
* fio hang (sleep forever) after first job with ramp_time?
@ 2016-06-06 12:44 Jinpu Wang
  2016-06-07  3:07 ` Jens Axboe
  0 siblings, 1 reply; 3+ messages in thread
From: Jinpu Wang @ 2016-06-06 12:44 UTC (permalink / raw)
  To: fio

Hi all,

We run into fio hang (sleep forever) all the time with latest fio (fio --version
fio-2.11-12-g82e6)

Kernel 4.4.5 on Debian Jessie
Configuration:
cat test.ini
[global]
ioengine=libaio
direct=1
time_based=1

# runtime options
runtime=5
ramp_time=5
filename=/dev/ram0
[job1]
blocksize=32k

[job2]
blocksize=128k
stonewall

Fio process is sleep in:
cat /proc/9891/stack
[<ffffffff810ba469>] hrtimer_nanosleep+0xc9/0x1b0
[<ffffffff810ba5a7>] SyS_nanosleep+0x57/0x70
[<ffffffff81810757>] entry_SYSCALL_64_fastpath+0x12/0x6a
[<ffffffffffffffff>] 0xffffffffffffffff


If I remove the ramp_time, problem is gone.
I've also created a issue in github:
https://github.com/axboe/fio/issues/188

-- 
Mit freundlichen Grüßen,
Best Regards,

Jack Wang

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

* Re: fio hang (sleep forever) after first job with ramp_time?
  2016-06-06 12:44 fio hang (sleep forever) after first job with ramp_time? Jinpu Wang
@ 2016-06-07  3:07 ` Jens Axboe
  2016-06-07  7:54   ` Jinpu Wang
  0 siblings, 1 reply; 3+ messages in thread
From: Jens Axboe @ 2016-06-07  3:07 UTC (permalink / raw)
  To: Jinpu Wang, fio

On 06/06/2016 06:44 AM, Jinpu Wang wrote:
> Hi all,
>
> We run into fio hang (sleep forever) all the time with latest fio (fio --version
> fio-2.11-12-g82e6)
>
> Kernel 4.4.5 on Debian Jessie
> Configuration:
> cat test.ini
> [global]
> ioengine=libaio
> direct=1
> time_based=1
>
> # runtime options
> runtime=5
> ramp_time=5
> filename=/dev/ram0
> [job1]
> blocksize=32k
>
> [job2]
> blocksize=128k
> stonewall
>
> Fio process is sleep in:
> cat /proc/9891/stack
> [<ffffffff810ba469>] hrtimer_nanosleep+0xc9/0x1b0
> [<ffffffff810ba5a7>] SyS_nanosleep+0x57/0x70
> [<ffffffff81810757>] entry_SYSCALL_64_fastpath+0x12/0x6a
> [<ffffffffffffffff>] 0xffffffffffffffff

For the edification of people on the list, this fix was committed:

http://git.kernel.dk/cgit/fio/commit/?id=356014ff351c6eb69339652650af5f6af72e5c22

-- 
Jens Axboe



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

* Re: fio hang (sleep forever) after first job with ramp_time?
  2016-06-07  3:07 ` Jens Axboe
@ 2016-06-07  7:54   ` Jinpu Wang
  0 siblings, 0 replies; 3+ messages in thread
From: Jinpu Wang @ 2016-06-07  7:54 UTC (permalink / raw)
  To: Jens Axboe; +Cc: fio

On Tue, Jun 7, 2016 at 5:07 AM, Jens Axboe <axboe@kernel.dk> wrote:
> On 06/06/2016 06:44 AM, Jinpu Wang wrote:
>>
>> Hi all,
>>
>> We run into fio hang (sleep forever) all the time with latest fio (fio
>> --version
>> fio-2.11-12-g82e6)
>>
>> Kernel 4.4.5 on Debian Jessie
>> Configuration:
>> cat test.ini
>> [global]
>> ioengine=libaio
>> direct=1
>> time_based=1
>>
>> # runtime options
>> runtime=5
>> ramp_time=5
>> filename=/dev/ram0
>> [job1]
>> blocksize=32k
>>
>> [job2]
>> blocksize=128k
>> stonewall
>>
>> Fio process is sleep in:
>> cat /proc/9891/stack
>> [<ffffffff810ba469>] hrtimer_nanosleep+0xc9/0x1b0
>> [<ffffffff810ba5a7>] SyS_nanosleep+0x57/0x70
>> [<ffffffff81810757>] entry_SYSCALL_64_fastpath+0x12/0x6a
>> [<ffffffffffffffff>] 0xffffffffffffffff
>
>
> For the edification of people on the list, this fix was committed:
>
> http://git.kernel.dk/cgit/fio/commit/?id=356014ff351c6eb69339652650af5f6af72e5c22
>
> --
> Jens Axboe
>
Thanks Jens,

It did fix the bug!


-- 
Mit freundlichen Grüßen,
Best Regards,

Jack Wang

Linux Kernel Developer Storage
ProfitBricks GmbH  The IaaS-Company.


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

end of thread, other threads:[~2016-06-07  7:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-06 12:44 fio hang (sleep forever) after first job with ramp_time? Jinpu Wang
2016-06-07  3:07 ` Jens Axboe
2016-06-07  7:54   ` Jinpu Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.