You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Let’s assume the script is in a file named `run_iperf.sh`.
72
72
73
-
Running `iperf` for long enough is important to ensure that the buffering happening at the socket level is not influencing the numbers too much.
74
-
When running less a minute, we end up measuring the rate at which `iperf` enqueue bytes into the socket’s buffer.
75
-
Filling the buffer can be done very quickly and can have a significant impact on the measured average speed.
76
-
10 minutes is long enough to obtain convergent results.
73
+
It's important to note that `iperf` should be run for an extended period to account for the initial filling of TCP socket buffers,
74
+
which can artificially inflate the average throughput if tested for less than a minute.
75
+
Running `iperf` for 10 minutes is enough to ensure the results accurately reflect the effective average throughput.
77
76
78
77
## Applied optimizations
79
78
@@ -274,7 +273,7 @@ The flow control algorithm, particularly the window size, is a critical paramete
274
273
Since such delays are common in almost all practical setups, it’s safe to say that this is the most important metric to optimize.
275
274
276
275
Other optimizations, while beneficial, primarily serve to reduce CPU usage and increase throughput on very high-speed networks.
277
-
A speed of 30 Mbits/s is already considered high, but networks with throughput exceeding 1 Gbits/s also exist.
276
+
A speed of 30 Mbits/s is already considered high, but networks with throughput exceeding 1 Gbits/s also exist (e.g.: ultra-high speed local area networks).
278
277
Enhancing performance for these networks is valuable, particularly in reducing CPU usage as the volume of data processed increases.
279
278
280
279
Measurements indicate that our JMUX proxy should perform well, even on high-speed networks.
@@ -286,3 +285,80 @@ In real-world wide-area networks, packet loss will inevitably occur.
286
285
287
286
Nevertheless, these results provide valuable data, confirming that our optimizations are effective with a high degree of confidence.
288
287
While further optimization could be pursued to address more specific scenarios, the current implementation is likely sufficient for most practical purposes.
0 commit comments