Commit Graph

260 Commits

Author SHA1 Message Date
HajarZaiz c312d6447d Heatmaps generation 2023-02-16 23:38:47 +01:00
Leo 8f2052e1ac
Merge pull request #11 from status-im/doc
Documentation with Sphinx
2023-02-16 11:41:48 +01:00
Leonardo Bautista-Gomez 09569422ab Documenting the DAS package for automatic generation with sphinx. First version. 2023-02-15 15:06:42 +01:00
Leo d20f83595d
Merge pull request #10 from status-im/results
Results class and avoid static variables
2023-02-09 13:59:16 +01:00
Leonardo Bautista-Gomez 9888d96e43 Update gitignore 2023-02-08 22:46:12 +01:00
Leonardo Bautista-Gomez cf780b3ca3 Starting code documentation 2023-02-08 22:45:01 +01:00
Leonardo Bautista-Gomez 5c55fd7854 Add documentation files 2023-02-08 22:33:16 +01:00
Leonardo Bautista-Gomez 17b97c37c0 Update gitignore 2023-02-08 22:31:51 +01:00
Leonardo Bautista-Gomez 6334d1c779 Removing static variables 2023-02-08 20:10:26 +01:00
Leonardo Bautista-Gomez b64fe7b383 Merging changes from 'develop' branch into 'results' branch 2023-02-08 15:01:50 +01:00
Leo 0a0e63b718
Merge pull request #9 from status-im/throughput
measure throughput
2023-02-08 14:20:16 +01:00
Csaba Kiraly 03813b36bc
fix receive info propagation
Make sure info about what is being sent is not propagated too fast.
In this base model, a node knows that something was sent after one
timestep. This requires keeping separating receiving from received and
updating only once per timestep.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-02-03 12:44:26 +01:00
Csaba Kiraly 50a210ad99
simplify send code and loop
Treat send in block proposer as in validators to simplify
code and fix steps. Previously first step included first two
timelots: initial send by block proposer and first send by
validators.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-02-03 12:44:07 +01:00
Csaba Kiraly 6c6e10b81f
add tx/rx troughput statistics
Collect statistics about Tx/Rx troughput, per timeslot and per node.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-02-03 11:30:28 +01:00
Csaba Kiraly ad11214e2d
improved logging
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-02-03 11:30:25 +01:00
Csaba Kiraly c97dd58d76
keep track of sent and received samples per neighbor
Keeps track of sent and received samples per line per neighbor.
Only send what wasn't yet sent or wasn't received from the other side.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-02-03 11:28:20 +01:00
Csaba Kiraly b38d8e13ae
add Neighbor class as placeholder
Placeholder for per-negighbor structures

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-02-03 11:25:35 +01:00
Csaba Kiraly fd59f44143
send line only if it has changed
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2023-02-03 11:22:19 +01:00
HajarZaiz bd17c419e3 Heatmaps and static page 2023-01-29 14:37:20 +01:00
Leo 46f1e7abee
Merge pull request #8 from status-im/config
Adding configuration and shape classes
2023-01-26 14:33:08 +01:00
Leonardo Bautista-Gomez ef3714054b Fix netDegree loop 2023-01-26 14:30:56 +01:00
Leonardo Bautista-Gomez 66824aedc6 Adding XML dump of results 2023-01-25 21:51:59 +01:00
Leonardo Bautista-Gomez fc7339dc91 Add configuration file, split configuration from simulation shape, fix bug about network degree and unbalanced row/column verification 2023-01-23 18:04:54 +01:00
leobago bf1a5a60e4 Adding multidimensional simulator and results module to gather data for visualization. 2023-01-16 22:43:52 +01:00
leobago e8e82d7460 Adding configuration class 2023-01-13 16:51:27 +01:00
Leo d119d53693
Merge pull request #7 from status-im/mesh
Network Mesh added to the simulator
2023-01-11 17:35:55 +01:00
leobago beabafba45 Adding failure rate logging 2023-01-11 17:20:19 +01:00
leobago d723cb1bc5 Update requirements 2023-01-11 12:50:23 +01:00
Csaba Kiraly faa2954893
simpliy sendRow and sendColumn calls
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-20 12:46:46 +01:00
Csaba Kiraly 7d79879f66
fix logging of rows and columns
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-20 11:26:54 +01:00
Csaba Kiraly 7a5f67ff31
add per-node state and per-channel network
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-20 11:23:58 +01:00
Csaba Kiraly db61300c46
block: handle merge and repair
Handle marge and row/column repair directly in the block data
structure.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-20 10:09:54 +01:00
Leo a9112c418e
Merge pull request #6 from status-im/develop
First version of the simulator
2022-12-14 18:58:32 +01:00
Leo e2bc5505d6
More complete README file 2022-12-14 17:46:20 +01:00
Leo 3d7891c77b
Merge pull request #5 from status-im/requirements
Requirements
2022-12-14 17:20:58 +01:00
Leonardo Bautista-Gomez e337ddc74a Small fix output 2022-12-14 17:17:32 +01:00
Leonardo Bautista-Gomez bb54a1cf31 Add requirements file 2022-12-14 17:16:22 +01:00
Leo 35084919e1
Merge pull request #4 from status-im/bitmaps
Bitmaps optimizations
2022-12-14 17:01:53 +01:00
Csaba Kiraly accbc3eff9
simplify code
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-12 13:41:41 +01:00
Csaba Kiraly 4179841c89
change checkRestore to restore
We are not simulating data errors, so no need to check.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-12 13:41:41 +01:00
Csaba Kiraly 26ba6a38f7
speed up restoration
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-12 13:41:40 +01:00
Csaba Kiraly a07be50727
change to bitmaps
It is faster to store and process data availability as bitmaps.
It is also enough, as we will not do anything with the data itself.

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-12 13:41:40 +01:00
Csaba Kiraly b48fb6f791
use column and row accessors
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-07 15:14:36 +01:00
Csaba Kiraly 8da447ac5a
add column and row accessors
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-07 15:10:44 +01:00
Csaba Kiraly 13580cd44d
pick row/column IDs without replacement
Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
2022-12-07 10:59:41 +01:00
Leo c2ea4b9b09
Merge pull request #3 from status-im/simulator-initial
Simulator initial. First package structure.
2022-11-30 15:32:34 +01:00
Leonardo Bautista-Gomez eb8d9b9095 Remove old files 2022-11-30 15:31:21 +01:00
Leonardo Bautista-Gomez 0c79ddbf6f Restructure package 2022-11-30 15:28:27 +01:00
Leonardo Bautista-Gomez 6cbe751b84 Split code in multiple modules 2022-11-29 19:32:05 +01:00
Leonardo Bautista-Gomez 8221490196 Add logic for multi-simulation studies 2022-11-29 18:12:02 +01:00