nomos-simulations/mixnet/dissemination
Youngjoon Lee 714d50f493
Mixnet: Dissemination and Ordering Experiments (#13)
2024-09-16 18:50:20 +09:00
..
src Mixnet: Dissemination and Ordering Experiments (#13) 2024-09-16 18:50:20 +09:00
Cargo.toml Mixnet: Dissemination and Ordering Experiments (#13) 2024-09-16 18:50:20 +09:00
README.md Mixnet: Dissemination and Ordering Experiments (#13) 2024-09-16 18:50:20 +09:00

README.md

Queuing Mechanism: Message Dissemination Experiments

This directory contains the code for the Message Dissemination Experiments, which is the part of the Queuing Mechanism Experiments.

Usages

cargo install --path dissemination

dissemination --exp-id 1 --session-id 1 --queue-type PureCoinFlipping --outdir $PWD/out --num-threads 4
  • exp-id: Experiment ID (starting from 1)
  • session-id: Session ID (starting from 1)
  • queue-type: NonMix, PureCoinFlipping, PureRandomSampling, PermutedCoinFlipping, NoisyCoinFlipping, or NoisyCoinFlippingRandomRelease
  • outdir: Output directory
  • num-threads: The number of threads to run each iteration of the parameter sets of each experiment

Outputs

<outdir>/
  dissemination_e1s1_PureCoinFlipping_2024-09-16T09:09:08.793730+00:00_0d0h12m30s/
    paramset_[1..P]/
      paramset.csv
      iteration_[0..I].csv
      topology_[0..I].csv
  • paramset_[1..P]/: Each experiment consists of multiple parameter sets. The result of each parameter set is stored in a separate directory.
  • paramset.csv: The detailed parameters of the parameter set.
  • iteration_[0..I].csv: The result of each iteration.
    • Columns
      • dissemination_time: The time taken to disseminate the message to the entire network
      • sent_time: The time when the message was sent by a sender
      • all_received_time: The time when the message was received by all nodes
    • dissemination_time = all_received_time - sent_time
    • All times used in the simulations are virtual discrete time units.
  • topology_[0..I].csv: The randomly generated network topology of each iteration