Sign inSign up

alexvm6/lightweight-python-disk-speed

By alexvm6

•Updated almost 2 years ago

Lightweight python flask docker image with optional subpath testing and adjustable batch size.

Image
0

128

alexvm6/lightweight-python-disk-speed repository overview

⁠Lightweight python script that will test the HDD speed

⁠Features

  • standalone and disk_speed_flask are as basic as they can be

  • docker image enables functionality through the WEBUI to test in a different path of the container; be aware that said path must be mounted i.e. 2 HDD/SSDs mounted to the container: host: /mnt/ssd mounted to /ssd correct path is: /ssd host: /mnt/hdd mounted to /hddcorrect path is: /hdd

  • docker image also displays graphs for comparison purposes

⁠Ways to run it:

  • tweak file size within standalone.py and python standalone.py from cli
  • or use the jupyter test_hdd_speed.ipynb notebook
  • or python disk_speed_flask.py to run it in flask then access http://127.0.0.1:5000
  • or use the Dockerfile to build docker build -t disk-speed . and run it docker run -p 5000:5000 disk-speed
  • or simply pull from dockerhub with `docker pull lightweight-python-disk-speed:latest

Tag summary

Content type

Image

Digest

sha256:1ac4b8198…

Size

90.2 MB

Last updated

almost 2 years ago

docker pull alexvm6/lightweight-python-disk-speed:1.0