Tune VPN fabric batching and flow windows

This commit is contained in:
2026-05-15 23:19:15 +03:00
parent fdf176bc5d
commit bf78af07a6
5 changed files with 22 additions and 16 deletions
@@ -72,7 +72,7 @@ public class RapVpnService extends VpnService {
private static final int DOWNLINK_POLL_MS_MIN = 2;
private static final int DOWNLINK_POLL_MS_MAX = 40;
private static final int DOWNLINK_POLL_MS_STEP = 4;
private static final int UPLINK_BATCH_GATHER_MS = 2;
private static final int UPLINK_BATCH_GATHER_MS = 12;
private static final int TUN_WRITE_MAX_RETRIES = 1000;
private static final int TUN_EAGAIN_SLEEP_MS = 1;
private static final int RUNTIME_DETAIL_INTERVAL_MS = 250;