Skip to content

Commit 6014f3c

Browse files
committed
Added experiment groups
I bet nobody did this much cool automations for a research project :)
1 parent c2236de commit 6014f3c

69 files changed

Lines changed: 10864 additions & 16 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎cmd/client/main.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func main() {
7878
elapsed := time.Since(startTime)
7979
throughput := float64(readOperations+writeOperations) / elapsed.Seconds()
8080
averageLatency := float64(elapsed.Milliseconds()) / float64((readOperations + writeOperations))
81-
err = client.WriteOutputToFile(*outputFilePath, throughput, averageLatency, parameters)
81+
err = client.WriteOutputToFile(*outputFilePath, throughput, averageLatency)
8282
if err != nil {
8383
log.Fatal().Msgf("Failed to write output to file; %v", err)
8484
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "code",
5+
"execution_count": 1,
6+
"id": "5a04ee9c-c549-4d97-8b2f-2b2395be9c47",
7+
"metadata": {},
8+
"outputs": [],
9+
"source": [
10+
"import matplotlib.pyplot as plt"
11+
]
12+
},
13+
{
14+
"cell_type": "code",
15+
"execution_count": null,
16+
"id": "653fdf04-3fbb-44c6-869b-1be70d60b7dc",
17+
"metadata": {},
18+
"outputs": [],
19+
"source": [
20+
"def parse_experiment_output(): # returns (throughput, average_latency) tuple"
21+
]
22+
}
23+
],
24+
"metadata": {
25+
"kernelspec": {
26+
"display_name": "Python 3 (ipykernel)",
27+
"language": "python",
28+
"name": "python3"
29+
},
30+
"language_info": {
31+
"codemirror_mode": {
32+
"name": "ipython",
33+
"version": 3
34+
},
35+
"file_extension": ".py",
36+
"mimetype": "text/x-python",
37+
"name": "python",
38+
"nbconvert_exporter": "python",
39+
"pygments_lexer": "ipython3",
40+
"version": "3.9.6"
41+
}
42+
},
43+
"nbformat": 4,
44+
"nbformat_minor": 5
45+
}

experiments/experiment_test/hosts renamed to experiments/max_requests_experiments/max_requests_10/hosts

File renamed without changes.

experiments/experiment_test/jaeger_endpoint.yaml renamed to experiments/max_requests_experiments/max_requests_10/jaeger_endpoint.yaml

File renamed without changes.

experiments/experiment_test/oramnode_endpoints.yaml renamed to experiments/max_requests_experiments/max_requests_10/oramnode_endpoints.yaml

File renamed without changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
max-blocks-to-send: 400 # The maximum number of blocks to send from each shard node to the oram node during evictions
2+
eviction-rate: 100 # How many ReadPath operations before eviction
3+
evict-path-count: 200 # How many paths to evict at a time
4+
batch-timeout: 5 # How many milliseconds to wait before sending a batch of blocks to the oram node
5+
epoch-time: 5 # How many milliseconds between each epoch
6+
trace: false # Whether to use opentelemetry and jaeger
7+
Z: 1 # number of real blocks per bucket
8+
S: 6 # number of dummy blocks per bucket
9+
shift: 1 # 2^shift is the tree branching factor
10+
tree-height: 20 # height of the tree
11+
redis-pipeline-size: 5000000 # number of requests to pipeline to redis
12+
max-requests: 10 # maximum number of requests in flight at the client
13+
block-size: 1024 # size of each block in bytes
14+
log: false # whether to log
15+
profile: false # Whether to profile

experiments/experiment_test/redis.conf renamed to experiments/max_requests_experiments/max_requests_10/redis.conf

File renamed without changes.

experiments/experiment_test/redis_endpoints.yaml renamed to experiments/max_requests_experiments/max_requests_10/redis_endpoints.yaml

File renamed without changes.

experiments/experiment_test/router_endpoints.yaml renamed to experiments/max_requests_experiments/max_requests_10/router_endpoints.yaml

File renamed without changes.

experiments/experiment_test/shardnode_endpoints.yaml renamed to experiments/max_requests_experiments/max_requests_10/shardnode_endpoints.yaml

File renamed without changes.

0 commit comments

Comments
 (0)