Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fio sleep forever on second group with ramp_time #188

Closed
xjtuwjp opened this issue Jun 6, 2016 · 4 comments
Closed

Fio sleep forever on second group with ramp_time #188

xjtuwjp opened this issue Jun 6, 2016 · 4 comments

Comments

@xjtuwjp
Copy link

xjtuwjp commented Jun 6, 2016

When I run fio (82e65ae latest master branch) on following config file, it hung after first job:

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 in in sleep state.
root 9891 1.0 1.5 372196 116164 pts/0 Sl+ 14:26 0:00 fio test.ini
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 ramp_time, fio finish properly. I guess maybe some timer are not initialized properly?

@xjtuwjp xjtuwjp changed the title Fio sleep forever on second group Fio sleep forever on second group with ramp_time Jun 6, 2016
@axboe
Copy link
Owner

axboe commented Jun 6, 2016

Thanks, I can reproduce this, I'll take a look. It looks like a recent regression.

@axboe
Copy link
Owner

axboe commented Jun 6, 2016

Can you try current -git? I committed this, which will hopefully fix it for you:

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

@xjtuwjp
Copy link
Author

xjtuwjp commented Jun 6, 2016

Thanks Jens, seems working, will do more test and report result

@axboe
Copy link
Owner

axboe commented Jun 7, 2016

Thanks, feel free to re-open if you still have an issue.

@axboe axboe closed this as completed Jun 7, 2016
janekmi pushed a commit to janekmi/fio that referenced this issue Feb 16, 2021
rpma: librpma_common_ prefix before all public names
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants