Skip to content

Commit

Permalink
Disable multicast scouting in benchmark scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry73204 committed Jan 11, 2024
1 parent 73a1575 commit 23b2c73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/pub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ shift || {
}

for prio in $@; do
port=$((7440+prio))
echo ./target/fast/examples/z_pub_thr "$payload" -e "tcp/0.0.0.0:$port" -p "$prio"
port=$((9000+prio))
echo ./target/fast/examples/z_pub_thr "$payload" --no-multicast-scouting -e "tcp/0.0.0.0:$port" -p "$prio"
done | parallel --lb -j0
4 changes: 2 additions & 2 deletions scripts/sub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
cd "$script_dir/.."

for prio in $@; do
port=$((7440+prio))
echo ./target/fast/examples/z_sub_thr -l "tcp/0.0.0.0:$port"
port=$((9000+prio))
echo ./target/fast/examples/z_sub_thr --no-multicast-scouting -l "tcp/0.0.0.0:$port"
done | parallel --lb -j0

0 comments on commit 23b2c73

Please sign in to comment.