-
Notifications
You must be signed in to change notification settings - Fork 92
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
Error having multiple json Files in input directory #116
Comments
Thanks for the report. Would it be possible to share the resulting benchmark data here or through louwrentius*gmail.com? |
I've never received the test data, so I'm closing this issue, feel free to reopen if you can provide me with some sample data so I can reproduce the problem. |
Thanks for your report, it's ok to reopen the issue. Feel free to share the test data as discussed, that would help. |
Hi TjerkNan, EDIT: |
No worries. Hi use louwrentius . gmail.com for email. |
Hi! I've had the same issue:
I'm using bench-fio: and after executing bench-fio, I try to get the plot using:
But I get this same error. Do you have anything that clear this issue? Thanks! |
I'm not sure what's wrong here. Can you share your output files? |
Hi @louwrentius, I tested fio-plot and when I have only one .json output file it works. When I run bench-fio and it results in more than 1 output file fio-plot doesn't work.
and in the directory list files:
Please let me know if you can see those files: randread-1-1.json Thanks! |
Thanks for sharing those test files. I'm not sure what went wrong, but those files seem to be almost identical and that's not what fio-plot expects. I used your INI settings and ran it with a fresh fio + fio-plot install on a VM just to reproduce the issue.
Then I ran:
Notice the -N parameter because you used different 'numjobs' parameters. This resulted in this test image: Does this help you? |
Hi @louwrentius, Thanks for sharing those. bench-fio run: ![]() Here are the files generated by bench-fio: Added to this I have those libraries in my environment: Could you please share yours so that I can see if there's any difference? I'm still trying to figure out what's happening on my side. Thanks for your help! |
Hi @louwrentius , I tried to generate with a different graph (bargraph3d) using:
and it works. At least it doesn't fail. It isn't the graph I'd like to have though. |
I've compared my and your json files and I'm not so sure it has anything to do with fio output, probably something in the fio-plot code. This is my generated test data. |
I know what the problem is. The numjobs parameter in your json output files are wrong, they are always of value 1, whereas my json files have correct increasing numbers 1,2,4,8. |
@louwrentius Good catch! |
Hi @louwrentius , I've upgraded fio to versin 3.38, but I can see the same output from the json files (numjobs=1) in all files. maybe sth is happening in bench-fio? |
Sth else might be different from your environment and mine... not sure what. my pip freeze:
and fio:
but editing the json files with the proper numjobs, it works perfectly. So, just sth that bench-fio is outputting numjobs always 1, but not sure how yours work and mine doesn't. |
Hi @louwrentius, I've created a work around by creating a shellscript to execute my .ini fio files 1 by 1 and then, with the resulting json files I execute fio-plot on top of that:
then: and execute:
Not ideal, but at least I could move on with my benchmark. |
@kogakenji Thanks for the update, that's not an ideal solution, but I also noticed the error in your screenshot 'failed to write temporary file'. That sounds not ok. |
@louwrentius. Yeah, I could see that error: 'failed to write temporary file' even though I'm running using root credentials. Note: this only happen when running bench-fio and not fio directly. |
Hey,
I encountered the following issue with more than one file in the input directory:
When there is only one file, i have no problem:
The text was updated successfully, but these errors were encountered: