Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL for testing persistent storage subsystem of an Akash provider #512

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 56 additions & 0 deletions persistent-storage-performance-testing/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
---
version: "2.0"

services:
app:
image: ubuntu:latest
expose:
- port: 80
as: 80
proto: tcp
to:
- global: true
- port: 22
as: 22
proto: tcp
to:
- global: true
env:
- "my_root_password=111111"
command:
- "bash"
- "-c"
args:
- 'apt-get update ; apt-get upgrade -y ; apt-get install -y curl fio ; curl -s https://gist.githubusercontent.com/shimpa1/5755a556d72beeac17a66041c98368e1/raw/6d51a4a9a9fd20fafa1a753e7e2b5455675ac7ad/start.sh | bash ; sleep infinity'
params:
storage:
fio-test:
mount: /root/fio
readOnly: false
profiles:
compute:
app:
resources:
cpu:
units: 1.0
memory:
size: 1Gi
storage:
- size: 10Gi
- name: fio-test
size: 100Gi
attributes:
persistent: true
class: beta3
placement:
akash:
attributes:
pricing:
app:
denom: uakt
amount: 10000
deployment:
app:
akash:
profile: app
count: 1
4 changes: 4 additions & 0 deletions persistent-storage-performance-testing/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
A modified Ubuntu server 22.04 SDL by Dimokus, built to test the performance of persistent storage subsystem of an Akash provider.

Make sure you update your root password in the SDL!!
Also, make sure you specify the correct storage class of the provider you want to test (beta1/beta2/beta3)
12 changes: 11 additions & 1 deletion speedtest-tracker/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ services:
as: 80
to:
- global: true
params:
storage:
data:
mount: /config
env:
- OOKLA_EULA_GDPR=true
#Set to true to accept the Ookla EULA and privacy agreement. If this is not set, the container will not start
Expand All @@ -34,7 +38,13 @@ profiles:
memory:
size: 512Mi
storage:
size: 512Mi
# size: 1Gi
- size: 1Gi
- name: data
size: 3Gi
attributes:
persistent: true
class: beta3
placement:
akash:
pricing:
Expand Down