Skip to content

Commit

Permalink
Merge branch 'main' into crash-experiment
Browse files Browse the repository at this point in the history
Prevent database reinit
  • Loading branch information
aminst committed Feb 18, 2024
2 parents 60b2636 + 6e1a7b9 commit b507520
Show file tree
Hide file tree
Showing 43 changed files with 7,703 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
dest: "/root/oblishard/{{ item[0] }}"
mode: '0666'
delegate_to: "{{ item[1] }}"
loop: "{{ ['router_endpoints.yaml', 'shardnode_endpoints.yaml', 'oramnode_endpoints.yaml', 'redis_endpoints.yaml', 'parameters.yaml', 'trace.txt', 'db.txt'] | product(groups['all']) | list }}"
loop: "{{ ['router_endpoints.yaml', 'shardnode_endpoints.yaml', 'oramnode_endpoints.yaml', 'redis_endpoints.yaml', 'parameters.yaml', 'trace.txt'] | product(groups['all']) | list }}"

- name: Create oramnode systemd services
template:
Expand Down
3 changes: 3 additions & 0 deletions experiments/dist_experiments/uniform/hosts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
host1 ansible_host=tem12 ansible_user=asetayes
host2 ansible_host=tem17 ansible_user=asetayes
host3 ansible_host=tem19 ansible_user=asetayes
5 changes: 5 additions & 0 deletions experiments/dist_experiments/uniform/jaeger_endpoint.yaml
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
43 changes: 43 additions & 0 deletions experiments/dist_experiments/uniform/oramnode_endpoints.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
endpoints:
- exposed_ip: 192.168.252.112
local_bind_ip: 192.168.252.112
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
16 changes: 16 additions & 0 deletions experiments/dist_experiments/uniform/parameters.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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
dist: uniform
Loading

0 comments on commit b507520

Please sign in to comment.