mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
ci: increase txqueuelen in containers (#10713)
By default, Docker creates network interfaces with a txqueuelen of 1000. This is pretty small and causes unnecessary packet drops when running perf tests in that setup.
This commit is contained in:
@@ -72,6 +72,9 @@ if [ -n "${NETWORK_LATENCY_MS:-}" ]; then
|
||||
tc qdisc add dev internal root netem delay "${LATENCY}ms"
|
||||
fi
|
||||
|
||||
ip link set dev internal txqueuelen 100000
|
||||
ip link set dev internet txqueuelen 100000
|
||||
|
||||
echo "-----------------------------------------------------------------------------------------------"
|
||||
cat "$CONFIG_FILE"
|
||||
echo "-----------------------------------------------------------------------------------------------"
|
||||
|
||||
Reference in New Issue
Block a user