Performance testing of OpenEBS

Steps for performance testing

Setup cStorPool and StorageClass

Choose the appropriate disks (SSDs or SAS or Cloud disks) and create pool and create StorageClass. There are some performance tunings available and this configuration can be added in the corresponding StorageClass before provisioning the volume. The tunings are available in the StorageClass section.

For performance testing, performance numbers vary based on the following factors.

  • The number of OpenEBS replicas (1 vs 3) (latency between cStor target and cStor replica)
  • Whether all the replicas are in one zone or across multiple zones
  • The network latency between the application pod and iSCSI target (cStor target)

Run fio test through OpenEBS Litmus

  1. Clone litmus repository

    1. git clone https://github.com/openebs/litmus.git
    2. cd litmus/apps/fio/tests/performance
  2. Edit run_litmus_test.yaml and modify the following

    1. - name: PROVIDER_STORAGE_CLASS
    2. value: openebs-standard
    3. #value: local-storage
    4. - name: APP_NODE_SELECTOR
    5. value: percona
    6. - name: FIO_TEST_PROFILE
    7. value: standard-ssd
    8. - name: FIO_SAMPLE_SIZE
    9. value: "128m"
    10. - name: FIO_TESTRUN_PERIOD
    11. value: "60"
  3. Run the fio performance test.

    1. kubectl create -f run_litmus_test.yaml
  4. Observe the results at the end of the test.

Support for Performance tuning

Support for performance tuning for specific workloads can be obtained through the premium plan on Kubera. Connect your cluster to Kubera, start the cluster on evaluation plan and seek support for performance tuning.

See Also:

Connecting to Kubera

Seeking help