• Stars
    star
    210
  • Rank 180,892 (Top 4 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 8 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Diskplorer - disk latency/bandwidth grapher

Diskplorer is a small set of tools around fio that can be used to discover disk read latency at different read and write workloads. Diskplorer runs a matrix of 21 write workloads (0% to 100% of the maximum bandwidth, in 5% increments) and 21 read workloads (0% to 100% of the maximum IOPS, in 5% increments) for a total of 441 different workloads. The disk is fully written first in order to eliminate clean-disk effects.

Diskplorer runs in two steps: step 1 generates a json result file, and must be run on the system being tested, and step 2 generates latency charts from the result file.

Running the test

Caution: the test is destructive. Do not use on disks that have real data.

Install the dependencies with

sudo dnf install -y fio

or

apt-get install -y fio

Obtain the maximum write bandwith and maximum read IOPS from the device data sheet.

Run diskplorer (substitute /dev/name with your device file):

sudo ./diskplorer.py /dev/name --result-file your-results.json

It is recommended to save the fio test file for later reference (--fio-job-directory)

sudo is required due to direct disk access.

This will run for several hours. Some smoke may be emitted from the disk.

Viewing the results

Once done, copy the result file (test.json) to your workstation and view the charts with

./latency-postprocess.py test.json

Sample results

i3en.3xlarge

i3en.3xlarge chart

With 4k blocksize, showing reduction in IOPS due to increased bandwidth demand:

i3en.3xlarge chart (4k bs)

With 16k blocksize, showing further reduction in IOPS due to increased bandwidth demand:

i3en.3xlarge chart (16k bs)

i3.2xlarge

i3.2xlarge chart

im4gn.4xlarge

im4gn.4xlarge chart

AWS EC2 r5b.2xlarge, EBS GP3 (1000 GB, 1000 MB/s, 16000 IOPS)

EBS GP3 1000 MB/s, 16000 IOPS

GCP n2-standard-16, 8 local SSDs in RAID 0

These results are using aio instead of io_uring due to bad interaction between md and io_uring.

n2-standard-16 with 8 local SSDs

GCP n2-standard-8, 2 TB SSD Persistent Disk

Strangely the 95th percentile at low rates is worse than at high rates.

n2-standard-8 with 2TB SSD Persistent Disk

Toshiba DT01ACA200 hard disk drive

Results for a rotating hard disk drive. Note the throughput and IOPS were allows to miss by a 15% margin rather than the normal 3% margin.

Toshiba DT01ACA200 hard disk drive

More Repositories

1

scylladb

NoSQL data store using the seastar framework, compatible with Apache Cassandra
C++
12,344
star
2

seastar

High performance server-side application framework
C++
7,604
star
3

gocqlx

All-In-One: CQL query builder, ORM and migration tool
Go
868
star
4

go-set

Type-safe, zero-allocation sets for Go
Go
804
star
5

scylla-rust-driver

Async CQL driver for Rust, optimized for Scylla!
Rust
517
star
6

scylla-operator

The Kubernetes Operator for ScyllaDB
Go
312
star
7

charybdefs

ScyllaDB fault injection filesystem
C++
241
star
8

scylla-code-samples

Code samples for working with ScyllaDB
Python
222
star
9

scylla-monitoring

Simple monitoring of Scylla with Grafana
Shell
203
star
10

dpdk

Mirror of Data Plane Development Kit, git://dpdk.org/dpdk (http://dpdk.org)
C++
173
star
11

scylla-go-driver

Experimental, high performance Scylla Driver, University of Warsaw students' project
Go
146
star
12

termtables

Fork of github.com/apcera/termtables
Go
55
star
13

scylla-migrator

Migrate data extract using Spark to Scylla, normally from Cassandra
Scala
50
star
14

scylla-cluster-tests

Tests for Scylla Clusters
Python
50
star
15

scylla-tools-java

Apache Cassandra, supplying tools for Scylla
Java
49
star
16

gaming-leaderboard-demo

Learn how to use ScyllaDB to generate a monstrously fast leadearboard for your application!
TypeScript
48
star
17

scylla-manager

The Scylla Manager
Go
42
star
18

kafka-connect-scylladb

Kafka Connect Scylladb Sink
Java
42
star
19

scylla-ansible-roles

Ansible roles for deploying and managing Scylla, Scylla-Manager and Scylla-Monitoring
Python
39
star
20

scylla-bench

Go
39
star
21

scylla-cdc-source-connector

A Kafka source connector capturing Scylla CDC changes
Java
38
star
22

scylla-cloud-getting-started

Rust
38
star
23

scylla-cdc-go

Go
37
star
24

care-pet

Care Pet IoT ScyllaDB example
JavaScript
37
star
25

cassandra-test-and-deploy

Python
30
star
26

scylla-cdc-rust

Rust
27
star
27

gemini

Test data integrity by comparing against an Oracle running in parallel
Go
27
star
28

scylla-seastar

Stable-branch fork of seatar, for scylla use
C++
26
star
29

scylla-jmx

Scylla JMX proxy
Java
25
star
30

go-reflectx

Go reflection library to find struct field by its tag
Go
24
star
31

scylla-graphite-monitoring

Python
20
star
32

scylla-cdc-java

Java
20
star
33

scylla-ccm

Cassandra Cluster Manager, modified for Scylla
Python
18
star
34

scylla-machine-image

Python
17
star
35

scylla-grafana-datasource

A grafana backend plugin for ScyllaDB
TypeScript
17
star
36

scylladb-feature-store

A feature store sample application built with ScyllaDB
Jupyter Notebook
14
star
37

jepsen

scylladb jepsen clone
Clojure
14
star
38

alternator-load-balancing

Various tricks, scripts, and libraries, for load balancing multiple Alternator nodes
Java
14
star
39

sphinx-scylladb-theme

The documentation toolchain for Scylla projects.
Python
12
star
40

cpp-rust-driver

API-compatible rewrite of https://github.com/scylladb/cpp-driver as a wrapper for Rust driver.
C++
11
star
41

go-sshtools

Go SSH client wrapper and other tools
Go
11
star
42

video-streaming

Video streaming sample app with NextJs + ScyllaDB
TypeScript
10
star
43

terraform-provider-scylladbcloud

Terraform provider for ScyllaDB Cloud.
Go
10
star
44

scylla-rust-udf

Rust
10
star
45

scylla-cqlsh

A fork of the cqlsh code
Python
9
star
46

sstable-tools

Python
7
star
47

scylla-ami

Python
7
star
48

1m-ops-demo

1 million operations/second ScyllaDB demo
HCL
6
star
49

scylla-swagger-ui

Private fork of https://github.com/swagger-api/swagger-ui for scylla
JavaScript
6
star
50

scylla-python3

Python
6
star
51

scylla-stress-orchestrator

Python
5
star
52

cql-stress

Rust
5
star
53

scylla-price-calculator

Compare Scylla Cloud cost to estimations of other DBaaS services cost. Data is served with no guarantees. Please validate with each DBaaS price list per region.
Vue
5
star
54

argus

Svelte
4
star
55

go-log

Wrapper over Uber Zap
Go
4
star
56

scylla-api-client

Scylla CLI Python module and command line utility
Python
4
star
57

jenkins-slave

Jenkins slaves as docker images
4
star
58

k8s-local-volume-provisioner

Go
3
star
59

python-driver-matrix

Groovy
3
star
60

seastar-website

Seastar static website
HTML
3
star
61

scylladb-web-install

Shell
3
star
62

scylla-java-driver-matrix

Groovy
3
star
63

scylla-doc-issues

Repository for reporting issues about Scylla documentation (Deprecated)
2
star
64

scylla-artifact-tests

Tests for the scylla distro packages
Python
2
star
65

scylla-cluster-autoscaler

Go
2
star
66

scylla-operator-images

This repository contains the source for shared images used by Scylla Operator projects. We do not provide any support or compatibility guaranties for these images as their sole purpose is only to provide a common base in our projects.
Dockerfile
2
star
67

scylla-cpp-driver-matrix

Groovy
1
star
68

scylla-build-dependencies-docker

Dockerfiles for generating images with scylla build dependencies
1
star
69

scylladb-cloud-doc-issues

A repo for Scylla Cloud docs issues
1
star