Coder Social home page Coder Social logo

ljishen / ssspt Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 1.0 56.27 MB

Solid State Storage (SSS) Performance Test Specification in Ansible

License: MIT License

Python 0.24% Jupyter Notebook 47.27% Roff 52.49%
ansible-playbook performance-test solid-state-physics ssd

ssspt's Introduction

SSSPT

Ansible playbook that complies with Solid State Storage (SSS) Performance Test Specification (PTS) v2.0.1

Specification: https://www.snia.org/tech_activities/standards/curr_standards/pts

Requirements on Control Machine

  • ansible >= 2.5
  • jmespath >= 0.9.3 (apt-get install python-jmespath python3-jmespath)

Supported Performance Tests

  • Throughput Test (page 36)
  • IOPS Test (page 27)
  • Latency Test (page 43)

You can read the specific test flow on the instructed page above in SSS PTS v2.0.1

Usage

git clone https://github.com/ljishen/SSSPT.git

# command is required to run within this dir so that ansible-playbook can see ansible.cfg
cd SSSPT

# Modify the hosts and the corresponding device under test (DUT)
vim hosts

# run tests
ansible-playbook playbooks/main.yml --tags TESTS [-v]

# TESTS can be any combinations of [throughput, iops, lat] separated by comma.
# E.g. ansible-playbook playbooks/main.yml --tags "throughput,iops"
#
# Options:
#   -v  Show debug messages while running playbook

ssspt's People

Contributors

ljishen avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

edisonchan

ssspt's Issues

fio-3.8 dependency fails on Ubuntu 20.04

Ubuntu provides 20.04 fio-3.16 and fio-3.8 will not build. Can the fio package be used?

The error output:

TASK [compile fio] *************************************************************
fatal: [0.0.0.0]: FAILED! => {"changed": true, "cmd": ["make", "-j", "4"], "delta": "0:00:02.825239", "end"
: "2021-01-30 23:50:48.378622", "msg": "non-zero return code", "rc": 2, "start": "2021-01-30 23:50:45.55338
3", "stderr": "FIO_VERSION = fio-3.8\nIn file included from crc/../os/os.h:38,\n from crc/c
rc32c-arm64.c:2:\ncrc/../os/os-linux.h:129:19: error: static declaration of \xe2\x80\x98gettid\xe2\x80\x99
follows non-static declaration\n 129 | static inline int gettid(void)\n | ^~~~~~\nI
n file included from /usr/include/unistd.h:1170,\n from crc/../os/os.h:8,\n
from crc/crc32c-arm64.c:2:\n/usr/include/x86_64-linux-gnu/bits/unistd_ext.h:34:16: note: previous declarat
ion of \xe2\x80\x98gettid\xe2\x80\x99 was here\n 34 | extern __pid_t gettid (void) __THROW;\n |
^~~~~~\nmake: *** [Makefile:339: crc/crc32c-arm64.o] Error 1\nmake: *** Waiting for unfinished j
obs....", "stderr_lines": ["FIO_VERSION = fio-3.8", "In file included from crc/../os/os.h:38,", "
from crc/crc32c-arm64.c:2:", "crc/../os/os-linux.h:129:19: error: static declaration of \xe2\x80\x98
gettid\xe2\x80\x99 follows non-static declaration", " 129 | static inline int gettid(void)", " |
^~~~~~", "In file included from /usr/include/unistd.h:1170,", " from crc/../o
s/os.h:8,", " from crc/crc32c-arm64.c:2:", "/usr/include/x86_64-linux-gnu/bits/unistd_ext.h
:34:16: note: previous declaration of \xe2\x80\x98gettid\xe2\x80\x99 was here", " 34 | extern __pid_t get
tid (void) __THROW;", " | ^~~~~~", "make: *** [Makefile:339: crc/crc32c-arm64.o] Error
1", "make: *** Waiting for unfinished jobs...."], "stdout": "Running configure ...\nOperating system

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.