Skip to content

Commit

Permalink
Add many more experiments
Browse files Browse the repository at this point in the history
  • Loading branch information
aminst committed Apr 12, 2024
1 parent 6957000 commit d304a01
Show file tree
Hide file tree
Showing 336 changed files with 12,948 additions and 24 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,6 @@ db.txt
trace.txt
*.txt
.ipynb_checkpoints/*
hosts
hosts
*.xlsx
*.png
2 changes: 2 additions & 0 deletions cmd/client/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package main
import (
"context"
"flag"
"fmt"
"os"
"path"
"time"
Expand Down Expand Up @@ -66,6 +67,7 @@ func main() {
if err != nil {
log.Fatal().Msgf("Failed to check if storages are ready; %v", err)
}
fmt.Println("Starting experiment")

readResponseChannel := make(chan client.ReadResponse)
writeResponseChannel := make(chan client.WriteResponse)
Expand Down
24 changes: 12 additions & 12 deletions configs/default/oramnode_endpoints.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,18 @@ endpoints:
id: 0
replicaid: 0
raftport: 1127
# - exposed_ip: localhost
# local_bind_ip: localhost
# port: 2752
# id: 0
# replicaid: 1
# raftport: 1128
# - exposed_ip: localhost
# local_bind_ip: localhost
# port: 2753
# id: 0
# replicaid: 2
# raftport: 1129
- exposed_ip: localhost
local_bind_ip: localhost
port: 2752
id: 0
replicaid: 1
raftport: 1128
- exposed_ip: localhost
local_bind_ip: localhost
port: 2753
id: 0
replicaid: 2
raftport: 1129
# - exposed_ip: localhost
# local_bind_ip: localhost
# port: 2754
Expand Down
4 changes: 2 additions & 2 deletions configs/default/parameters.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
max-blocks-to-send: 400 # The maximum number of blocks to send from each shard node to the oram node during evictions
eviction-rate: 1000000 # How many ReadPath operations before eviction
evict-path-count: 200 # How many paths to evict at a time
eviction-rate: 10 # How many ReadPath operations before eviction
evict-path-count: 1000000 # 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
Expand Down
18 changes: 16 additions & 2 deletions configs/oramnode_endpoints.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,25 @@
endpoints:
- exposed_ip: 20.115.80.167
local_bind_ip: 20.115.80.167
- exposed_ip: 127.0.0.1
local_bind_ip: 127.0.0.1
deploy_host: host1
port: 1751
id: 0
replicaid: 0
raftport: 1127
- exposed_ip: 127.0.0.1
local_bind_ip: 127.0.0.1
deploy_host: host1
port: 1752
id: 0
replicaid: 0
raftport: 1128
- exposed_ip: 127.0.0.1
local_bind_ip: 127.0.0.1
deploy_host: host1
port: 1753
id: 0
replicaid: 0
raftport: 1129
# - exposed_ip: 192.168.252.117
# local_bind_ip: 192.168.252.117
# deploy_host: host2
Expand Down
4 changes: 2 additions & 2 deletions configs/redis_endpoints.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
endpoints:
- exposed_ip: 192.168.252.115
local_bind_ip: 192.168.252.115
- exposed_ip: 127.0.0.1
local_bind_ip: 127.0.0.1
deploy_host: host1
port: 6379
id: 0
Expand Down
4 changes: 2 additions & 2 deletions configs/router_endpoints.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
endpoints:
- exposed_ip: 192.168.252.115
local_bind_ip: 192.168.252.115
- exposed_ip: 127.0.0.1
local_bind_ip: 127.0.0.1
deploy_host: host1
port: 8745
id: 0
Expand Down
4 changes: 2 additions & 2 deletions configs/shardnode_endpoints.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
endpoints:
- exposed_ip: 192.168.252.115
local_bind_ip: 192.168.252.115
- exposed_ip: 127.0.0.1
local_bind_ip: 127.0.0.1
deploy_host: host1
port: 8748
id: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
exposed_ip: 192.168.252.112
local_bind_ip: 192.168.252.112
deploy_host: host1
api_port: 16686
grpc_port: 4317
232 changes: 232 additions & 0 deletions experiments/paper_blocksize_experiments/1024/oramnode_endpoints.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,232 @@
endpoints:
- exposed_ip: 10.0.0.8
local_bind_ip: 10.0.0.8
deploy_host: host1
port: 1851
id: 0
replicaid: 0
raftport: 1227
- exposed_ip: 10.0.0.8
local_bind_ip: 10.0.0.8
deploy_host: host1
port: 1861
id: 4
replicaid: 0
raftport: 1237
- exposed_ip: 10.0.0.8
local_bind_ip: 10.0.0.8
deploy_host: host1
port: 1871
id: 8
replicaid: 0
raftport: 1247
- exposed_ip: 10.0.0.8
local_bind_ip: 10.0.0.8
deploy_host: host1
port: 1881
id: 12
replicaid: 0
raftport: 1257
- exposed_ip: 10.0.0.9
local_bind_ip: 10.0.0.9
deploy_host: host2
port: 1854
id: 1
replicaid: 0
raftport: 1230
- exposed_ip: 10.0.0.9
local_bind_ip: 10.0.0.9
deploy_host: host2
port: 1864
id: 5
replicaid: 0
raftport: 1240
- exposed_ip: 10.0.0.9
local_bind_ip: 10.0.0.9
deploy_host: host2
port: 1874
id: 9
replicaid: 0
raftport: 1250
- exposed_ip: 10.0.0.9
local_bind_ip: 10.0.0.9
deploy_host: host2
port: 1884
id: 13
replicaid: 0
raftport: 1260
- exposed_ip: 10.0.0.10
local_bind_ip: 10.0.0.10
deploy_host: host3
port: 1857
id: 2
replicaid: 0
raftport: 1233
- exposed_ip: 10.0.0.10
local_bind_ip: 10.0.0.10
deploy_host: host3
port: 1867
id: 6
replicaid: 0
raftport: 1243
- exposed_ip: 10.0.0.10
local_bind_ip: 10.0.0.10
deploy_host: host3
port: 1877
id: 10
replicaid: 0
raftport: 1253
- exposed_ip: 10.0.0.10
local_bind_ip: 10.0.0.10
deploy_host: host3
port: 1887
id: 14
replicaid: 0
raftport: 1263
- exposed_ip: 10.0.0.11
local_bind_ip: 10.0.0.11
deploy_host: host4
port: 1860
id: 3
replicaid: 0
raftport: 1236
- exposed_ip: 10.0.0.11
local_bind_ip: 10.0.0.11
deploy_host: host4
port: 1870
id: 7
replicaid: 0
raftport: 1246
- exposed_ip: 10.0.0.11
local_bind_ip: 10.0.0.11
deploy_host: host4
port: 1880
id: 11
replicaid: 0
raftport: 1256
- exposed_ip: 10.0.0.11
local_bind_ip: 10.0.0.11
deploy_host: host4
port: 1890
id: 15
replicaid: 0
raftport: 1266
- exposed_ip: 10.0.0.13
local_bind_ip: 10.0.0.13
deploy_host: host13
port: 1900
id: 16
replicaid: 0
raftport: 1276
- exposed_ip: 10.0.0.13
local_bind_ip: 10.0.0.13
deploy_host: host13
port: 1910
id: 17
replicaid: 0
raftport: 1286
- exposed_ip: 10.0.0.13
local_bind_ip: 10.0.0.13
deploy_host: host13
port: 1920
id: 18
replicaid: 0
raftport: 1296
- exposed_ip: 10.0.0.13
local_bind_ip: 10.0.0.13
deploy_host: host13
port: 1930
id: 19
replicaid: 0
raftport: 1306
- exposed_ip: 10.0.0.14
local_bind_ip: 10.0.0.14
deploy_host: host14
port: 1940
id: 20
replicaid: 0
raftport: 1316
- exposed_ip: 10.0.0.14
local_bind_ip: 10.0.0.14
deploy_host: host14
port: 1950
id: 21
replicaid: 0
raftport: 1326
- exposed_ip: 10.0.0.14
local_bind_ip: 10.0.0.14
deploy_host: host14
port: 1960
id: 22
replicaid: 0
raftport: 1336
- exposed_ip: 10.0.0.14
local_bind_ip: 10.0.0.14
deploy_host: host14
port: 1970
id: 23
replicaid: 0
raftport: 1346
- exposed_ip: 10.0.0.15
local_bind_ip: 10.0.0.15
deploy_host: host15
port: 1980
id: 24
replicaid: 0
raftport: 1356
- exposed_ip: 10.0.0.15
local_bind_ip: 10.0.0.15
deploy_host: host15
port: 1990
id: 25
replicaid: 0
raftport: 1366
- exposed_ip: 10.0.0.15
local_bind_ip: 10.0.0.15
deploy_host: host15
port: 2000
id: 26
replicaid: 0
raftport: 1376
- exposed_ip: 10.0.0.15
local_bind_ip: 10.0.0.15
deploy_host: host15
port: 2010
id: 27
replicaid: 0
raftport: 1386
- exposed_ip: 10.0.0.16
local_bind_ip: 10.0.0.16
deploy_host: host16
port: 2020
id: 28
replicaid: 0
raftport: 1396
- exposed_ip: 10.0.0.16
local_bind_ip: 10.0.0.16
deploy_host: host16
port: 2030
id: 29
replicaid: 0
raftport: 1406
- exposed_ip: 10.0.0.16
local_bind_ip: 10.0.0.16
deploy_host: host16
port: 2040
id: 30
replicaid: 0
raftport: 1416
- exposed_ip: 10.0.0.16
local_bind_ip: 10.0.0.16
deploy_host: host16
port: 2050
id: 31
replicaid: 0
raftport: 1426
- exposed_ip: 10.0.0.18
local_bind_ip: 10.0.0.18
deploy_host: host18
port: 2060
id: 32
replicaid: 0
raftport: 1438
15 changes: 15 additions & 0 deletions experiments/paper_blocksize_experiments/1024/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: 1 # How many milliseconds to wait before sending a batch of blocks to the oram node
epoch-time: 1 # How many milliseconds between each epoch
trace: false # Whether to use opentelemetry and jaeger
Z: 1 # number of real blocks per bucket
S: 4 # number of dummy blocks per bucket
shift: 1 # 2^shift is the tree branching factor
tree-height: 16 # height of the tree
redis-pipeline-size: 3000000 # number of requests to pipeline to redis
max-requests: 3000000 # maximum number of requests in flight at the client
block-size: 1024 # size of each block in bytes
log: false # whether to log
profile: false # Whether to profile
Loading

0 comments on commit d304a01

Please sign in to comment.