Skip to content

Data I/O Benchmarks on Storage that uses the Kubernetes CSI

Notifications You must be signed in to change notification settings

cjkennedy1972/diobench

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

diobench - Data I/O benchmark tests

This docker container allows you to run:

How to run this in Kubernetes

% kubectl apply -f diobench.yaml

A sample job yaml for Kubernetes PVC looks like this

apiVersion: batch/v1
kind: Job
metadata:
  name: diobench
spec:
  template:
    spec:
      containers:
        - name: diobench
          image: xdatanext/diobench:latest
          imagePullPolicy: Always
          env:
            - name: DIOBENCH_RESULTS
              value: /data/perf_results
          volumeMounts:
            - mountPath: /data
              name: diobench-pvc
          #command: [ "/bin/diobench", "--hello", "/data" , "100", "8192" ]
          command: ["/bin/diobench", "--fio", "/data", "fio_seq_RW"]
          #command: [ "/bin/diobench", "--vdb", "/data", "sample" ]
      restartPolicy: Never
      volumes:
        - name: diobench-pvc
          persistentVolumeClaim:
            claimName: diobench-pvc-claim
  backoffLimit: 4

The example above runs the "diobench" test using fio sequential Read-Write test called fio_seq_RW .

Output

The test run output is all sent to the stdout of the container run so use

	% kubectl get jobs
	diobench

	% kubectl describe job diobench
	...
	...

Retrieve the logs for the I/O job

	% kubectl logs diobench

and observe the output of the test run

About

Data I/O Benchmarks on Storage that uses the Kubernetes CSI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.0%
  • Dockerfile 17.8%
  • Makefile 13.2%