Skip to content

Commit

Permalink
Merge pull request #376 from CARV-ICS-FORTH/container-name
Browse files Browse the repository at this point in the history
add sequential execution on cluster and improve visualizations
  • Loading branch information
fnikolai authored Jan 17, 2023
2 parents 107ba3b + 1bdf206 commit 63e1358
Show file tree
Hide file tree
Showing 35 changed files with 8,317 additions and 2,154 deletions.
72 changes: 36 additions & 36 deletions charts/databases/parallax/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,42 +14,42 @@ spec:
tolerate:
failedJobs: 35 # number of expected tests that fail
inputs:
- { test: test_small, volumeSize: 10Gi }
- { test: test_medium, volumeSize: 10Gi }
- { test: test_large, volumeSize: 10Gi }
- { test: test_smalld, volumeSize: 10Gi }
- { test: test_mediumd, volumeSize: 10Gi }
- { test: test_larged, volumeSize: 10Gi }
- { test: test_index_node, volumeSize: 10Gi }
- { test: test_dirty_scans_sd_greater, volumeSize: 10Gi }
- { test: test_dirty_scans_small, volumeSize: 10Gi }
- { test: test_dirty_scans_medium, volumeSize: 10Gi }
- { test: test_dirty_scans_large, volumeSize: 10Gi }
- { test: test_dirty_scans_smalld, volumeSize: 10Gi }
- { test: test_dirty_scans_mediumd, volumeSize: 10Gi }
- { test: test_dirty_scans_larged, volumeSize: 10Gi }
- { test: test_dirty_scans_smallp, volumeSize: 10Gi }
- { test: test_dirty_scans_mediump, volumeSize: 10Gi }
- { test: test_dirty_scans_largep, volumeSize: 10Gi }
- { test: test_dirty_scans_smalldp, volumeSize: 10Gi }
- { test: test_dirty_scans_mediumdp, volumeSize: 10Gi }
- { test: test_dirty_scans_largedp, volumeSize: 10Gi }
- { test: test_options, volumeSize: 10Gi }
- { test: test_categories, volumeSize: 10Gi }
- { test: test_sanitizers, volumeSize: 10Gi }
- { test: test_gc, volumeSize: 10Gi }
- { test: test_medium, volumeSize: 10Gi }
- { test: test_mixes_99_small_1_medium, volumeSize: 10Gi }
- { test: test_mixes_45_small_50_medium_5_big, volumeSize: 10Gi }
- { test: simple_test_delete, volumeSize: 10Gi }
- { test: test_leaf_root_delete_get_scan, volumeSize: 10Gi }
- { test: test_region_allocations, volumeSize: 10Gi }
- { test: test_redo_undo_log, volumeSize: 10Gi }
- { test: test_optional_logging, volumeSize: 10Gi }
- { test: test_par_format, volumeSize: 10Gi }
- { test: test_par_put_serialized, volumeSize: 10Gi }
- { test: test_par_put_metadata, volumeSize: 10Gi }
- { test: tracer, volumeSize: 10Gi}
- { test: test_small }
- { test: test_medium }
- { test: test_large }
- { test: test_smalld }
- { test: test_mediumd }
- { test: test_larged }
- { test: test_index_node }
- { test: test_dirty_scans_sd_greater }
- { test: test_dirty_scans_small }
- { test: test_dirty_scans_medium }
- { test: test_dirty_scans_large }
- { test: test_dirty_scans_smalld }
- { test: test_dirty_scans_mediumd }
- { test: test_dirty_scans_larged }
- { test: test_dirty_scans_smallp }
- { test: test_dirty_scans_mediump }
- { test: test_dirty_scans_largep }
- { test: test_dirty_scans_smalldp }
- { test: test_dirty_scans_mediumdp }
- { test: test_dirty_scans_largedp }
- { test: test_options }
- { test: test_categories }
- { test: test_sanitizers }
- { test: test_gc }
- { test: test_medium }
- { test: test_mixes_99_small_1_medium }
- { test: test_mixes_45_small_50_medium_5_big }
- { test: simple_test_delete }
- { test: test_leaf_root_delete_get_scan }
- { test: test_region_allocations }
- { test: test_redo_undo_log }
- { test: test_optional_logging }
- { test: test_par_format }
- { test: test_par_put_serialized }
- { test: test_par_put_metadata }
- { test: tracer}

# Teardown
- action: Delete
Expand Down
10 changes: 5 additions & 5 deletions charts/databases/parallax/templates/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@ kind: Template
metadata:
name: parallax.ycsb
spec:
inputs: # get a test name
inputs: # test parameters
parameters:
test: simple_test_delete
volumeSize: 1Gi

service:
decorators: # Monitoring the resources consumed by the test
Expand All @@ -23,7 +22,7 @@ spec:
accessModes: [ReadWriteOnce]
resources:
requests:
storage: {{"{{.inputs.parameters.volumeSize}}"}}
storage: 20Gi

containers:
- name: main
Expand All @@ -39,5 +38,6 @@ spec:
cut -d ' ' -f 4 /proc/self/stat > /dev/shm/app # Sidecar: use it for entering the cgroup
cd /parallax/build
ctest -R {{"{{.inputs.parameters.test}}"}} --verbose
sleep infinity
export testName={{"{{.inputs.parameters.test}}"}}
ctest -R ^${testName}$ --verbose
43 changes: 0 additions & 43 deletions charts/federated-learning/fedbed/example.yaml

This file was deleted.

13 changes: 7 additions & 6 deletions charts/federated-learning/fedbed/templates/client.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,21 @@ spec:
value: {{"{{.inputs.parameters.backend}}" | quote }}
- name: FL_NUM_OF_THREADS
value: "1"

- name: FL_DATASET
value: {{"{{.inputs.parameters.dataset}}" | quote }}
- name: FL_DATASET_DISTRIBUTION
value: "flat"
- name: FL_DATASET_DISTRIBUTION_PARAMETERS
value: '{"random_state":1}'
- name: FL_DATASET_RANDOM
value: "False"

# Are these values really needed here?
- name: FL_NODES
value: {{"{{.inputs.parameters.total_nodes}}" | quote}}
- name: FL_NODE_ID
value: {{"{{.inputs.parameters.node_id}}" | quote}}
- name: FL_DATASET_DISTRIBUTION
value: "flat"
- name: FL_DATASET_DISTRIBUTION_PARAMETERS
value: "{}"
- name: FL_DATASET_RANDOM
value: "false"

command:
- /bin/sh # Run shell
Expand Down
1 change: 1 addition & 0 deletions charts/platform/templates/deployment/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ spec:
containers:
- name: manager
image: icsforth/frisbee-operator:latest
imagePullPolicy: Always
ports:
- name: "admission-hook" # Admission Webhooks
containerPort: {{.Values.operator.webhook.k8s.port | int64}}
Expand Down
Loading

0 comments on commit 63e1358

Please sign in to comment.