Changeset 7d35a4e for router


Ignore:
Timestamp:
Feb 21, 2016 10:17:38 PM (6 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
87d7e10
Parents:
fc1268d
Message:

Transports: Increase default max inbound bandwidth
Increase minimum in/out bandwidths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/FIFOBandwidthRefiller.java

    rfc1268d r7d35a4e  
    5050
    5151    // no longer allow unlimited bandwidth - the user must specify a value, else use defaults below (KBps)
    52     public static final int DEFAULT_INBOUND_BANDWIDTH = 96;
     52    public static final int DEFAULT_INBOUND_BANDWIDTH = 300;
    5353    /**
    5454     *  Caution, do not make DEFAULT_OUTBOUND_BANDWIDTH * DEFAULT_SHARE_PCT > 32
     
    5858     */
    5959    public static final int DEFAULT_OUTBOUND_BANDWIDTH = 60;
    60     public static final int DEFAULT_INBOUND_BURST_BANDWIDTH = 96;
     60    public static final int DEFAULT_INBOUND_BURST_BANDWIDTH = 300;
    6161    public static final int DEFAULT_OUTBOUND_BURST_BANDWIDTH = 60;
    6262
    6363    public static final int DEFAULT_BURST_SECONDS = 60;
    6464   
    65     /** For now, until there is some tuning and safe throttling, we set the floor at 3KBps inbound */
    66     public static final int MIN_INBOUND_BANDWIDTH = 3;
    67     /** For now, until there is some tuning and safe throttling, we set the floor at 3KBps outbound */
    68     public static final int MIN_OUTBOUND_BANDWIDTH = 3;
    69     /** For now, until there is some tuning and safe throttling, we set the floor at a 3KBps during burst */
    70     public static final int MIN_INBOUND_BANDWIDTH_PEAK = 3;
    71     /** For now, until there is some tuning and safe throttling, we set the floor at a 3KBps during burst */
    72     public static final int MIN_OUTBOUND_BANDWIDTH_PEAK = 3;
     65    /** For now, until there is some tuning and safe throttling, we set the floor at this inbound (KBps) */
     66    public static final int MIN_INBOUND_BANDWIDTH = 5;
     67    /** For now, until there is some tuning and safe throttling, we set the floor at this outbound (KBps) */
     68    public static final int MIN_OUTBOUND_BANDWIDTH = 5;
     69    /** For now, until there is some tuning and safe throttling, we set the floor at this during burst (KBps) */
     70    public static final int MIN_INBOUND_BANDWIDTH_PEAK = 5;
     71    /** For now, until there is some tuning and safe throttling, we set the floor at this during burst (KBps) */
     72    public static final int MIN_OUTBOUND_BANDWIDTH_PEAK = 5;
    7373    /**
    7474     *  Max for reasonable Bloom filter false positive rate.
Note: See TracChangeset for help on using the changeset viewer.