Sign inSign up

vineethac/fio_image

By vineethac

•Updated almost 3 years ago

FIO app image.

Image
0

1M+

vineethac/fio_image repository overview

⁠Overview

  • Notes
vineethac/fio_image      - this runs fio 3.28 on a base image of Ubuntu 22.04
vineethac/fio_image:3.28 - this runs fio 3.28 on a base image of Ubuntu 22.04
vineethac/fio_image:3.7  - this runs fio 3.7 on a base image of CentOS 8   
  • This is an FIO image that can be used for container storage stress tests.
docker run -dit --name FIO_test01 --mount source=disk_data,target=/vol vineethac/fio_image fio --name=RandomReadTest1 --readwrite=randread --rwmixwrite=0 --bs=4k --invalidate=1 --direct=1 --filename=/vol/newfile --size=10g --time_based --runtime=300 --ioengine=libaio --numjobs=2 --iodepth=1 --norandommap --randrepeat=0 --exitall
  • The above command will start a container with the FIO application running inside it. FIO will use "/vol/newfile" for IO tests. "/vol" is using "disk_data" directory which is inside "/var/lib/docker/volumes". Once the test is complete, the container will exit.

⁠To run FIO as a pod on Kubernetes

kubectl run fio2 --image=vineethac/fio_image:3.28 -- fio --name=RandomReadWriteTest --readwrite=randrw --rwmixwrite=50 --bs=8k --invalidate=1 --direct=1 --filename=/fio_testfile --size=2g --time_based --runtime=300 --ioengine=libaio --numjobs=2 --iodepth=1 --norandommap --randrepeat=0 --exitall

⁠Verfiy

kubectl exec -it fio2 -- iostat -xd 5 --pretty
Linux 4.19.225-3.ph3 (fio2) 	11/04/23 	_x86_64_	(2 CPU)

     r/s     rkB/s   rrqm/s  %rrqm r_await rareq-sz Device
  875.60   7004.80     0.00   0.00    0.35     8.00 sda

     w/s     wkB/s   wrqm/s  %wrqm w_await wareq-sz Device
  847.00   6823.20    14.80   1.72    0.85     8.06 sda

     d/s     dkB/s   drqm/s  %drqm d_await dareq-sz Device
    0.00      0.00     0.00   0.00    0.00     0.00 sda

     f/s f_await  aqu-sz  %util Device
    0.00    0.00    1.03  96.00 sda

⁠Reference blog

Here is a reference blog post⁠ that talks about using this FIO container image to conduct storage performance tests on a Kubernetes cluster.

Tag summary

Content type

Image

Digest

sha256:25259b66d…

Size

105.9 MB

Last updated

almost 3 years ago

docker pull vineethac/fio_image