-
Notifications
You must be signed in to change notification settings - Fork 11.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from facebookresearch/master
Update from FB
- Loading branch information
Showing
78 changed files
with
4,206 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# Experimental Data | ||
|
||
This folder contains some raw data and plots obtained running a geo-replicated benchmark on AWS as explained in the [benchmark's readme file](https://github.com/facebookresearch/narwhal/tree/master/benchmark#readme). The results are taken running the code tagged as [v0.1.1](https://github.com/facebookresearch/narwhal/tree/v0.1.1). | ||
|
||
### Filename format | ||
The filename format of raw data is the following: | ||
``` | ||
bench-FAULTS-NODES-WORKERS-COLLOCATE-INPUT_RATE-TX_SIZE.txt | ||
``` | ||
where: | ||
- `FAULTS`: The number of faulty (dead) nodes. | ||
- `NODES`: The number of nodes in the testbed. | ||
- `WORKERS`: The number of workers per node. | ||
- `COLLOCATE`: Whether the primary and its worker are collocated on the same machine. | ||
- `INPUT_RATE`: The total rate at which clients submit transactions to the system. | ||
- `TX_SIZE`: The size of each transactions (in bytes). | ||
|
||
For instance, a file called `bench-0-50-1-True-100000-512.txt` indicates it contains results of a benchmark run with 50 nodes, 1 worker per node collocated on the same machine as the primary, 100K input rate, a transaction size of 512B, and 0 faulty nodes. | ||
|
||
### Experimental step | ||
The content of our [settings.json](https://github.com/facebookresearch/narwhal/blob/master/benchmark/settings.json) file looks as follows: | ||
```json | ||
{ | ||
"key": { | ||
"name": "aws", | ||
"path": "/absolute/key/path" | ||
}, | ||
"port": 5000, | ||
"repo": { | ||
"name": "narwhal", | ||
"url": "https://github.com/facebookresearch/narwhal", | ||
"branch": "master" | ||
}, | ||
"instances": { | ||
"type": "m5d.8xlarge", | ||
"regions": ["us-east-1", "eu-north-1", "ap-southeast-2", "us-west-1", "ap-northeast-1"] | ||
} | ||
} | ||
``` | ||
We set the following `node_params` in our [fabfile](https://github.com/facebookresearch/narwhal/blob/master/benchmark/fabfile.py): | ||
```python | ||
node_params = { | ||
'header_size': 1_000, # bytes | ||
'max_header_delay': 200, # ms | ||
'gc_depth': 50, # rounds | ||
'sync_retry_delay': 10_000, # ms | ||
'sync_retry_nodes': 3, # number of nodes | ||
'batch_size': 500_000, # bytes | ||
'max_batch_delay': 200 # ms | ||
} | ||
``` | ||
|
60 changes: 60 additions & 0 deletions
60
narwhal/benchmark/data/tusk/bench-0-10-1-True-10000-512.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
----------------------------------------- | ||
SUMMARY: | ||
----------------------------------------- | ||
+ CONFIG: | ||
Faults: 0 node(s) | ||
Committee size: 10 node(s) | ||
Worker(s) per node: 1 worker(s) | ||
Collocate primary and workers: True | ||
Input rate: 10,000 tx/s | ||
Transaction size: 512 B | ||
Execution time: 301 s | ||
|
||
Header size: 1,000 B | ||
Max header delay: 200 ms | ||
GC depth: 50 round(s) | ||
Sync retry delay: 10,000 ms | ||
Sync retry nodes: 3 node(s) | ||
batch size: 500,000 B | ||
Max batch delay: 200 ms | ||
|
||
+ RESULTS: | ||
Consensus TPS: 9,522 tx/s | ||
Consensus BPS: 4,875,199 B/s | ||
Consensus latency: 2,376 ms | ||
|
||
End-to-end TPS: 9,501 tx/s | ||
End-to-end BPS: 4,864,434 B/s | ||
End-to-end latency: 2,910 ms | ||
----------------------------------------- | ||
|
||
----------------------------------------- | ||
SUMMARY: | ||
----------------------------------------- | ||
+ CONFIG: | ||
Faults: 0 node(s) | ||
Committee size: 10 node(s) | ||
Worker(s) per node: 1 worker(s) | ||
Collocate primary and workers: True | ||
Input rate: 10,000 tx/s | ||
Transaction size: 512 B | ||
Execution time: 301 s | ||
|
||
Header size: 1,000 B | ||
Max header delay: 200 ms | ||
GC depth: 50 round(s) | ||
Sync retry delay: 10,000 ms | ||
Sync retry nodes: 3 node(s) | ||
batch size: 500,000 B | ||
Max batch delay: 200 ms | ||
|
||
+ RESULTS: | ||
Consensus TPS: 9,514 tx/s | ||
Consensus BPS: 4,871,264 B/s | ||
Consensus latency: 2,371 ms | ||
|
||
End-to-end TPS: 9,490 tx/s | ||
End-to-end BPS: 4,859,081 B/s | ||
End-to-end latency: 2,910 ms | ||
----------------------------------------- |
60 changes: 60 additions & 0 deletions
60
narwhal/benchmark/data/tusk/bench-0-10-1-True-100000-512.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
----------------------------------------- | ||
SUMMARY: | ||
----------------------------------------- | ||
+ CONFIG: | ||
Faults: 0 node(s) | ||
Committee size: 10 node(s) | ||
Worker(s) per node: 1 worker(s) | ||
Collocate primary and workers: True | ||
Input rate: 100,000 tx/s | ||
Transaction size: 512 B | ||
Execution time: 301 s | ||
|
||
Header size: 1,000 B | ||
Max header delay: 200 ms | ||
GC depth: 50 round(s) | ||
Sync retry delay: 10,000 ms | ||
Sync retry nodes: 3 node(s) | ||
batch size: 500,000 B | ||
Max batch delay: 200 ms | ||
|
||
+ RESULTS: | ||
Consensus TPS: 93,666 tx/s | ||
Consensus BPS: 47,956,782 B/s | ||
Consensus latency: 2,423 ms | ||
|
||
End-to-end TPS: 93,227 tx/s | ||
End-to-end BPS: 47,732,331 B/s | ||
End-to-end latency: 3,034 ms | ||
----------------------------------------- | ||
|
||
----------------------------------------- | ||
SUMMARY: | ||
----------------------------------------- | ||
+ CONFIG: | ||
Faults: 0 node(s) | ||
Committee size: 10 node(s) | ||
Worker(s) per node: 1 worker(s) | ||
Collocate primary and workers: True | ||
Input rate: 100,000 tx/s | ||
Transaction size: 512 B | ||
Execution time: 301 s | ||
|
||
Header size: 1,000 B | ||
Max header delay: 200 ms | ||
GC depth: 50 round(s) | ||
Sync retry delay: 10,000 ms | ||
Sync retry nodes: 3 node(s) | ||
batch size: 500,000 B | ||
Max batch delay: 200 ms | ||
|
||
+ RESULTS: | ||
Consensus TPS: 93,146 tx/s | ||
Consensus BPS: 47,690,875 B/s | ||
Consensus latency: 2,384 ms | ||
|
||
End-to-end TPS: 92,758 tx/s | ||
End-to-end BPS: 47,491,983 B/s | ||
End-to-end latency: 3,000 ms | ||
----------------------------------------- |
60 changes: 60 additions & 0 deletions
60
narwhal/benchmark/data/tusk/bench-0-10-1-True-110000-512.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
|
||
----------------------------------------- | ||
SUMMARY: | ||
----------------------------------------- | ||
+ CONFIG: | ||
Faults: 0 node(s) | ||
Committee size: 10 node(s) | ||
Worker(s) per node: 1 worker(s) | ||
Collocate primary and workers: True | ||
Input rate: 110,000 tx/s | ||
Transaction size: 512 B | ||
Execution time: 301 s | ||
|
||
Header size: 1,000 B | ||
Max header delay: 200 ms | ||
GC depth: 50 round(s) | ||
Sync retry delay: 10,000 ms | ||
Sync retry nodes: 3 node(s) | ||
batch size: 500,000 B | ||
Max batch delay: 200 ms | ||
|
||
+ RESULTS: | ||
Consensus TPS: 100,446 tx/s | ||
Consensus BPS: 51,428,456 B/s | ||
Consensus latency: 2,374 ms | ||
|
||
End-to-end TPS: 100,064 tx/s | ||
End-to-end BPS: 51,232,980 B/s | ||
End-to-end latency: 2,974 ms | ||
----------------------------------------- | ||
|
||
----------------------------------------- | ||
SUMMARY: | ||
----------------------------------------- | ||
+ CONFIG: | ||
Faults: 0 node(s) | ||
Committee size: 10 node(s) | ||
Worker(s) per node: 1 worker(s) | ||
Collocate primary and workers: True | ||
Input rate: 110,000 tx/s | ||
Transaction size: 512 B | ||
Execution time: 301 s | ||
|
||
Header size: 1,000 B | ||
Max header delay: 200 ms | ||
GC depth: 50 round(s) | ||
Sync retry delay: 10,000 ms | ||
Sync retry nodes: 3 node(s) | ||
batch size: 500,000 B | ||
Max batch delay: 200 ms | ||
|
||
+ RESULTS: | ||
Consensus TPS: 99,983 tx/s | ||
Consensus BPS: 51,191,107 B/s | ||
Consensus latency: 2,372 ms | ||
|
||
End-to-end TPS: 99,584 tx/s | ||
End-to-end BPS: 50,986,971 B/s | ||
End-to-end latency: 2,971 ms | ||
----------------------------------------- |
Oops, something went wrong.