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

Support docker image #66

Open
dkkb opened this issue Nov 16, 2021 · 1 comment
Open

Support docker image #66

dkkb opened this issue Nov 16, 2021 · 1 comment

Comments

@dkkb
Copy link

dkkb commented Nov 16, 2021

I think it's a good idea to run benchmarks with fio and save the results to a file, then use fio-plot to visualize the results.

In my situation, I got the broken dependencies error when I tried to install libjpeg-devel in Centos7:

Error: Package: libjpeg-turbo-devel-1.2.90-8.el7.x86_64 (base)
           Requires: libjpeg-turbo(x86-64) = 1.2.90-8.el7
           Installed: libjpeg-turbo-1.2.90-5.el7.x86_64 (@base)
               libjpeg-turbo(x86-64) = 1.2.90-5.el7
           Available: libjpeg-turbo-2.0.2-1.x86_64 (sankuai)
               libjpeg-turbo(x86-64) = 2.0.2-1
 You could try using --skip-broken to work around the problem

So I think generating the plot in docker container can fix this issue.

@Flowrey
Copy link
Contributor

Flowrey commented Nov 25, 2021

Hi!
There is already a docker image, but you have to build it yourself.
If your fio files are correctly named I guess you could build the container, run it and copy bench's result in the container and then generate the plot.
Maybe try the following, I've not tested those commands I don't guarantee this will work:

docker build -t fio-plot
docker cp <bench_fio> container_id:/<bench_fio>
docker run fio-plot
fio-plot ...

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