• Stars
    star
    216
  • Rank 183,179 (Top 4 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created almost 9 years ago
  • Updated 7 months 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
921
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 ScyllaDB!
Rust
563
star
6

scylla-operator

The Kubernetes Operator for ScyllaDB
Go
331
star
7

charybdefs

ScyllaDB fault injection filesystem
C++
241
star
8

scylla-code-samples

Code samples for working with ScyllaDB
Python
239
star
9

scylla-monitoring

Simple monitoring of Scylla with Grafana
Shell
229
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
150
star
12

scylla-migrator

Migrate data extract using Spark to Scylla, normally from Cassandra/parquet files. Alt. from DynamoDB to Scylla Alternator.
Scala
58
star
13

termtables

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

scylla-cluster-tests

Tests for Scylla Clusters
Python
55
star
15

scylla-tools-java

Apache Cassandra, supplying tools for Scylla
Java
53
star
16

scylla-manager

The Scylla Manager
Go
51
star
17

gaming-leaderboard-demo

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

care-pet

Care Pet IoT ScyllaDB example
JavaScript
47
star
19

scylla-cdc-source-connector

A Kafka source connector capturing Scylla CDC changes
Java
46
star
20

kafka-connect-scylladb

Kafka Connect Scylladb Sink
Java
45
star
21

scylla-cdc-go

Go
43
star
22

scylla-ansible-roles

Ansible roles for deploying and managing Scylla, Scylla-Manager and Scylla-Monitoring
Python
43
star
23

scylla-bench

Go
42
star
24

scylla-cloud-getting-started

Rust
40
star
25

scylla-cdc-rust

Rust
31
star
26

cassandra-test-and-deploy

Python
30
star
27

gemini

Test data integrity by comparing against an Oracle running in parallel
Go
29
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-cdc-java

Java
23
star
32

scylla-graphite-monitoring

Python
20
star
33

video-streaming

Video streaming sample app with NextJs + ScyllaDB
TypeScript
19
star
34

scylla-grafana-datasource

A grafana backend plugin for ScyllaDB
TypeScript
19
star
35

scylla-machine-image

Python
18
star
36

scylla-ccm

Cassandra Cluster Manager, modified for Scylla
Python
18
star
37

scylladb-feature-store

A feature store sample application built with ScyllaDB
Jupyter Notebook
16
star
38

cpp-rust-driver

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

scylla-cqlsh

A fork of the cqlsh code
Python
16
star
40

scylla-rust-udf

Rust
15
star
41

jepsen

scylladb jepsen clone
Clojure
14
star
42

alternator-load-balancing

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

sphinx-scylladb-theme

The documentation toolchain for Scylla projects.
Python
12
star
44

1m-ops-demo

1 million operations/second ScyllaDB demo
HCL
11
star
45

terraform-provider-scylladbcloud

Terraform provider for ScyllaDB Cloud.
Go
11
star
46

go-sshtools

Go SSH client wrapper and other tools
Go
11
star
47

cql-stress

Rust
9
star
48

sstable-tools

Python
7
star
49

scylla-ami

Python
7
star
50

scylla-swagger-ui

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

scylla-python3

Python
6
star
52

scylla-stress-orchestrator

Python
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

scylla-api-client

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

argus

Svelte
4
star
56

go-log

Wrapper over Uber Zap
Go
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-doc-issues

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

scylla-artifact-tests

Tests for the scylla distro packages
Python
2
star
64

serverless-examples

Code examples for ScyllaDB Cloud Serverless platform.
Java
2
star
65

scylla-java-driver-matrix

Groovy
2
star
66

scylla-cluster-autoscaler

Go
2
star
67

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
68

scylladb-cloud-doc-issues

A repo for Scylla Cloud docs issues
1
star
69

scylla-cpp-driver-matrix

Groovy
1
star
70

scylla-build-dependencies-docker

Dockerfiles for generating images with scylla build dependencies
1
star
71

shopping-cart

Sample ecommerce shopping cart app with ScyllaDB and Python
Python
1
star
72

dynamodb-pricing-comparison

Serverless application that can be deployed to AWS to collect metrics about DynamoDB usage
JavaScript
1
star
73

cassandra-stress

Java
1
star
74

demo-quickstart

RenderScript
1
star