Git Product home page Git Product logo

Comments (4)

bengland2 avatar bengland2 commented on August 19, 2024

if you write to /tmp, which is a tmpfs (in-memory) filesystem, you cannot use O_DIRECT, but fio benchmark does use it. How did this ever work? But if you just change the directory from /tmp to /var/tmp then it runs fine. I pulled the job file that failed right from the CI log:

[global]
directory=/tmp
filename_format=f.\$jobnum.\$filenum
write_bw_log=fio
write_iops_log=fio
write_lat_log=fio
write_hist_log=fio
log_avg_msec=1000
log_hist_msec=1000
clocksource=clock_gettime
kb_base=1000
unit_base=8
ioengine=libaio
size=10MiB
bs=4KiB
iodepth=2
direct=1
numjobs=1

[read]
rw=read
time_based=1
runtime=3
ramp_time=1

and ran it with

./fio --server --daemonize=/var/tmp/fio.pid
./fio --client=localhost f.job
hostname=localhost.localdomain, be=0, 64-bit, os=Linux, arch=x86-64, fio=fio-3.19, flags=1
<localhost.localdomain> write: (g=0): rw=write, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=libaio, iodepth=2
<localhost.localdomain> Starting 1 process
<localhost.localdomain> fio: looks like your file system does not support direct=1/buffered=0
<localhost.localdomain> fio: destination does not support O_DIRECT
<localhost.localdomain> fio: pid=163513, err=22/file:filesetup.c:713, func=open(/tmp/127.0.0.1.f.\0.\0), error=Invalid argument
<localhost.localdomain> 
client <localhost>: exited with error 1

Run status group 0 (all jobs):

from benchmark-wrapper.

rsevilla87 avatar rsevilla87 commented on August 19, 2024

In pods running on minikube v1.9.2, /tmp mount point is not tmpfs.

$ ./minikube-linux-amd64 version
minikube version: v1.9.2
commit: 93af9c1e43cab9618e301bc9fa720c63d5efa393
$ oc rsh benchmark-operator-64f64fb759-5n8tw df -T /tmp/
Defaulting container name to ansible.
Use 'oc describe pod/benchmark-operator-64f64fb759-5n8tw -n my-ripsaw' to see all of the containers in this pod.
Filesystem     Type    1K-blocks     Used Available Use% Mounted on
overlay        overlay  16954224 14460088   1501268  91% /

from benchmark-wrapper.

bengland2 avatar bengland2 commented on August 19, 2024

Raul points out that /tmp is backed by overlayfs in a pod, so it's harder to tell what is really backing it.

from benchmark-wrapper.

rsevilla87 avatar rsevilla87 commented on August 19, 2024

We don't use minikube for CI anymore

from benchmark-wrapper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.