diff --git a/benchmark.sh b/benchmark.sh index ba1a5d9..9349dce 100755 --- a/benchmark.sh +++ b/benchmark.sh @@ -2,18 +2,18 @@ set -e -BUILD_TYPE=Release ./build.sh &> /dev/null +./build.sh &> /dev/null -AGREEMENT_COUNT=10 -PROPOSE_AMOUNT=3 -MAX_UNIQUE_PROPOSED=5 +AGREEMENT_COUNT=100000 +PROPOSE_AMOUNT=10 +MAX_UNIQUE_PROPOSED=30 MAX_PROPOSED_VALUE=2147483648 PROCESSES=10 RUN_FOLDER=$(mktemp -d) HOSTS_FILE=$RUN_FOLDER/hosts OUTPUTS=$RUN_FOLDER/outputs CONFIG_FILE=$RUN_FOLDER/lattice-agreement.config -SLEEP_TIME_S=30 +SLEEP_TIME_S=10 mkdir $OUTPUTS diff --git a/src/include/perfect_link.hpp b/src/include/perfect_link.hpp index b6e841d..a4b5230 100644 --- a/src/include/perfect_link.hpp +++ b/src/include/perfect_link.hpp @@ -34,7 +34,7 @@ class PerfectLink { static constexpr std::uint8_t MAX_MESSAGE_COUNT_IN_PACKET = 8; static constexpr ProcessIdType MAX_PROCESSES = 128; - static constexpr std::size_t MAX_MESSAGE_SIZE = 64; + static constexpr std::size_t MAX_MESSAGE_SIZE = 6'400; PerfectLink(const ProcessIdType id);