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:
zzz
2015-01-05 13:19:34 +00:00
parent d7895a456a
commit 045f6dccf8
5 changed files with 10 additions and 6 deletions

View File

@ -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;

View File

@ -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) {