-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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 takes long time to start processes #963
Comments
Try and add |
tried '# time fio /tmp/rand.fio fio runtime is only 60s. '# cat /tmp/rand.fio [job 1] |
You can try and do a:
while it's starting up, and then do:
and see what is going on in the system. If it's just the one busy fio thread, which it looks like, I'd fire up top and find the busy pid, then do:
and then run the same perf report on that. How big are the sdXXX devices? |
For that last one, click the memset and mutex lock/unlock to get an expanded call trace, that'll give us a better idea of where it's happening. |
OK, that makes sense, it's around the iostats setup. I'll try and take a look at this. |
(Pinging @axboe on this one) |
(@axboe ping) |
Any update on this ? With 32 ns per drive on an NVMeOF setup and 8 drives, It takes about 4 minutes for fio to start even for numjobs=1. I'm running fio-3.28. |
(@axboe ping) |
Same for me, a 250 job test takes > 2 mins to start traffic with fio 3.28. |
@axboe Any update on this ? |
As a temporary work around, try running with |
@
Thanks for this @vincentkfu ! This appears to be working much more quickly even for large I/O. |
Hi,
I'm trying to run a test with >500 jobs and it takes more than 20 mins for fio to start doing IO. Attached a screenshot to show where it takes time. Is this normal when launching large number of processes or anything can be done to improve. Thanks.
uname -r
4.18.0-147.el8.ppc64le
cat /etc/redhat-release
Red Hat Enterprise Linux release 8.1 (Ootpa)
fio -v
fio-3.19
cat rand.fio
[global]
name=randwrite
ioengine=libaio
iodepth=32
rw=randwrite
randrepeat=0
bs=2Mi
direct=1
ramp_time=0
runtime=600
time_based
group_reporting
[job 1]
filename=/dev/sdaee
[job 2]
filename=/dev/sdaes
[job 3]
filename=/dev/sdadf
....
....
....
[job 523]
filename=/dev/sdhx
[job 524]
filename=/dev/sdid
The text was updated successfully, but these errors were encountered: