Development discussions
[experimental patch] - TCP_KAPPA 8 « Big Topics, Ideas, Proposals and Discussion « I2P Development
Tue, 31 Mar 2020, 07:06pm #1
I2P Legend

This one is performing fantastically in the testnet. For more information and pretty charts see http://trac.i2p2.i2p/ticket/2707

1. I don't fully understand what is going on
2. The testnet is a synthetic environment

Apply the following patch:

diff --git a/apps/streaming/java/src/net/i2p/client/streaming/impl/ConnectionOptions.java b/apps/streaming/java/src/net/i2p/client/streaming/impl/ConnectionOptions.java
index 1d48a33b3..723ab9a4e 100644
--- a/apps/streaming/java/src/net/i2p/client/streaming/impl/ConnectionOptions.java
+++ b/apps/streaming/java/src/net/i2p/client/streaming/impl/ConnectionOptions.java
@@ -85,7 +85,7 @@ class ConnectionOptions extends I2PSocketOptionsImpl {
private static final double TCP_ALPHA = 1.0/8;
private static final double TCP_BETA = 1.0/4;
- private static final double TCP_KAPPA = 4;
+ private static final double TCP_KAPPA = 8;

private static final String PROP_INITIAL_RTO = "i2p.streaming.initialRTO";
private static final int INITIAL_RTO = 9000;

rebuild streaming.jar. That's the only jar that is necessary, and only the sender and the receiver need to run it - i.e. the entire network does not need to update for the effects to kick in.

email: zab@mail.i2p Irc2P/keybase: zlatinb
blog: http://zab.i2p
MuWire: http://muwire.i2p
MuCats: http://mucats.i2p
MuWire nickname: zlatinb@3k2gijdfdcuczkfypfddj4qsnnf744mj