Skip to content

Commit

Permalink
Add crash experiment changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aminst committed Feb 16, 2024
1 parent ab4335d commit 60b2636
Show file tree
Hide file tree
Showing 10 changed files with 1,542 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ansible/experiment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
tasks:
- name: Run the Client
ansible.builtin.shell:
cmd: "/root/oblishard/client -duration 10 -conf /root/oblishard -output /root/oblishard/output.txt"
cmd: "/root/oblishard/client -duration 30 -conf /root/oblishard -output /root/oblishard/output.txt -logpath /root/oblishard/client.txt"
- name: Get the output
ansible.builtin.fetch:
src: "/root/oblishard/output.txt"
Expand Down
3 changes: 3 additions & 0 deletions experiments/crash_experiments/shardnode_crash/hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
host1 ansible_host=tem15 ansible_user=asetayes
host2 ansible_host=tem17 ansible_user=asetayes
host3 ansible_host=tem19 ansible_user=asetayes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
exposed_ip: 192.168.252.115
local_bind_ip: 192.168.252.115
deploy_host: host1
api_port: 16686
grpc_port: 4317
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
endpoints:
- exposed_ip: 192.168.252.115
local_bind_ip: 192.168.252.115
deploy_host: host1
port: 1751
id: 0
replicaid: 0
raftport: 1127
- exposed_ip: 192.168.252.117
local_bind_ip: 192.168.252.117
deploy_host: host2
port: 1752
id: 0
replicaid: 1
raftport: 1128
- exposed_ip: 192.168.252.119
local_bind_ip: 192.168.252.119
deploy_host: host3
port: 1753
id: 0
replicaid: 2
raftport: 1129
# - exposed_ip: 192.168.252.117
# local_bind_ip: 192.168.252.117
# deploy_host: host2
# port: 1754
# id: 1
# replicaid: 0
# raftport: 1130
# - exposed_ip: 192.168.252.115
# local_bind_ip: 192.168.252.115
# deploy_host: host1
# port: 1755
# id: 1
# replicaid: 1
# raftport: 1131
# - exposed_ip: 192.168.252.119
# local_bind_ip: 192.168.252.119
# deploy_host: host3
# port: 1756
# id: 1
# replicaid: 2
# raftport: 1132
15 changes: 15 additions & 0 deletions experiments/crash_experiments/shardnode_crash/parameters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
max-blocks-to-send: 400 # The maximum number of blocks to send from each shard node to the oram node during evictions
eviction-rate: 100 # How many ReadPath operations before eviction
evict-path-count: 200 # How many paths to evict at a time
batch-timeout: 5 # How many milliseconds to wait before sending a batch of blocks to the oram node
epoch-time: 5 # How many milliseconds between each epoch
trace: false # Whether to use opentelemetry and jaeger
Z: 1 # number of real blocks per bucket
S: 6 # number of dummy blocks per bucket
shift: 1 # 2^shift is the tree branching factor
tree-height: 20 # height of the tree
redis-pipeline-size: 5000000 # number of requests to pipeline to redis
max-requests: 10000 # maximum number of requests in flight at the client
block-size: 150 # size of each block in bytes
log: false # whether to log
profile: false # Whether to profile
Loading

0 comments on commit 60b2636

Please sign in to comment.