forked from I2P_Developers/i2p.i2p
Latency reduction all over:
- SSU: Reduce ack delay - Streaming: Reduce min RTO and flusher delay - Tunnels: Reduce GW batching time
This commit is contained in:
@ -28,7 +28,7 @@ class ACKSender implements Runnable {
|
||||
private static final long POISON_PS = -9999999999l;
|
||||
|
||||
/** how frequently do we want to send ACKs to a peer? */
|
||||
static final int ACK_FREQUENCY = 350;
|
||||
static final int ACK_FREQUENCY = 250;
|
||||
|
||||
public ACKSender(RouterContext ctx, UDPTransport transport) {
|
||||
_context = ctx;
|
||||
|
@ -24,11 +24,11 @@ class BatchedRouterPreprocessor extends BatchedPreprocessor {
|
||||
/** This goes in router advanced config */
|
||||
public static final String PROP_ROUTER_BATCH_FREQUENCY = "router.batchFrequency";
|
||||
/** for client OBGWs only (our data) */
|
||||
public static final int OB_CLIENT_BATCH_FREQ = 100;
|
||||
public static final int OB_CLIENT_BATCH_FREQ = 75;
|
||||
/** for exploratory OBGWs only (our tunnel tests and build messages) */
|
||||
public static final int OB_EXPL_BATCH_FREQ = 150;
|
||||
public static final int OB_EXPL_BATCH_FREQ = 100;
|
||||
/** for IBGWs for efficiency (not our data) */
|
||||
public static final int DEFAULT_BATCH_FREQUENCY = 250;
|
||||
public static final int DEFAULT_BATCH_FREQUENCY = 175;
|
||||
|
||||
/** for OBGWs */
|
||||
public BatchedRouterPreprocessor(RouterContext ctx, TunnelCreatorConfig cfg) {
|
||||
|
Reference in New Issue
Block a user