Changeset 8303016


Ignore:
Timestamp:
May 12, 2015 6:46:40 PM (6 years ago)
Author:
dg2-new <dg2-new@…>
Branches:
master
Children:
ca140559
Parents:
28786288
Message:
  • Job Queue/stats: add stat/graph for amount of scheduled jobs (router.tunnelBacklog)
  • FloodfillMonitorJob?:
    • Use avg of router.tunnelBacklog instead of current backlog
  • Some language/spelling fixes
Files:
22 edited

Legend:

Unmodified
Added
Removed
  • apps/desktopgui/bundle-messages.sh

    r28786288 r8303016  
    2727
    2828# on windows, one must specify the path of commnad find
    29 # since windows has its own retarded version of find.
     29# since windows has its own version of find.
    3030if which find|grep -q -i windows ; then
    3131        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/i2psnark/java/bundle-messages.sh

    r28786288 r8303016  
    2626
    2727# on windows, one must specify the path of commnad find
    28 # since windows has its own retarded version of find.
     28# since windows has its own version of find.
    2929if which find|grep -q -i windows ; then
    3030        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/i2ptunnel/java/bundle-messages-proxy.sh

    r28786288 r8303016  
    2626
    2727# on windows, one must specify the path of commnad find
    28 # since windows has its own retarded version of find.
     28# since windows has its own version of find.
    2929if which find|grep -q -i windows ; then
    3030        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/i2ptunnel/java/bundle-messages.sh

    r28786288 r8303016  
    2525
    2626# on windows, one must specify the path of commnad find
    27 # since windows has its own retarded version of find.
     27# since windows has its own version of find.
    2828if which find|grep -q -i windows ; then
    2929        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/ministreaming/java/bundle-messages.sh

    r28786288 r8303016  
    2626
    2727# on windows, one must specify the path of commnad find
    28 # since windows has its own retarded version of find.
     28# since windows has its own version of find.
    2929if which find|grep -q -i windows ; then
    3030        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/routerconsole/java/bundle-messages-countries.sh

    r28786288 r8303016  
    2626
    2727# on windows, one must specify the path of commnad find
    28 # since windows has its own retarded version of find.
     28# since windows has its own version of find.
    2929if which find|grep -q -i windows ; then
    3030        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/routerconsole/java/bundle-messages-news.sh

    r28786288 r8303016  
    2626
    2727# on windows, one must specify the path of commnad find
    28 # since windows has its own retarded version of find.
     28# since windows has its own version of find.
    2929if which find|grep -q -i windows ; then
    3030        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/routerconsole/java/bundle-messages.sh

    r28786288 r8303016  
    2626
    2727# on windows, one must specify the path of commnad find
    28 # since windows has its own retarded version of find.
     28# since windows has its own version of find.
    2929if which find|grep -q -i windows ; then
    3030        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/sam/c/src/sam.c

    r28786288 r8303016  
    11741174samerr_t sam_winsock_startup()
    11751175{
    1176         /*
    1177          * Is Windows retarded or what?
    1178          */
    11791176        WORD wVersionRequested;
    11801177        WSADATA wsaData;
     
    12931290                case WSANO_DATA:
    12941291                        return "Valid name, no data record of requested type";
    1295                 /* None of this shit compiles under Mingw - who knows why...
     1292                /* None of this compiles under Mingw - who knows why...
    12961293                case WSA_INVALID_HANDLE:
    12971294                        return "Specified event object handle is invalid";
  • apps/sam/perl/SAM.pm

    r28786288 r8303016  
    759759       
    760760        while(length($self->{inbuffer}) < $self->{bytestoread}) {
    761           # this should definately end some day
     761          # this should definitely end some day
    762762          $counter++;
    763763          if($counter > 10000) {
  • apps/susidns/src/bundle-messages.sh

    r28786288 r8303016  
    2626
    2727# on windows, one must specify the path of commnad find
    28 # since windows has its own retarded version of find.
     28# since windows has its own version of find.
    2929if which find|grep -q -i windows ; then
    3030        export PATH=.:/bin:/usr/local/bin:$PATH
  • apps/susimail/bundle-messages.sh

    r28786288 r8303016  
    2626
    2727# on windows, one must specify the path of commnad find
    28 # since windows has its own retarded version of find.
     28# since windows has its own version of find.
    2929if which find|grep -q -i windows ; then
    3030        export PATH=.:/bin:/usr/local/bin:$PATH
  • core/java/src/net/i2p/client/I2PSessionImpl.java

    r28786288 r8303016  
    6161 *
    6262 * Public only for clearCache().
    63  * Except for methods definied in I2PSession and I2CPMessageEventListener,
     63 * Except for methods defined in I2PSession and I2CPMessageEventListener,
    6464 * not maintained as a public API, not for external use.
    6565 * Use I2PClientFactory to get an I2PClient and then createSession().
  • history.txt

    r28786288 r8303016  
     12015-02-12 dg
     2 * Job Queue/stats: add stat/graph for amount of scheduled jobs (router.tunnelBacklog)
     3 * FloodfillMonitorJob:
     4   - Use avg of router.tunnelBacklog instead of current backlog
     5 * Some language/spelling fixes
     6
    172015-05-11 zzz
    28 * Util: Fix corruption of cached ReusableGZIPInputStreams
  • installer/resources/locale/bundle-messages.sh

    r28786288 r8303016  
    2020
    2121# on windows, one must specify the path of commnad find
    22 # since windows has its own retarded version of find.
     22# since windows has its own version of find.
    2323if which find|grep -q -i windows ; then
    2424        export PATH=.:/bin:/usr/local/bin:$PATH
  • router/java/src/net/i2p/data/i2np/TunnelDataMessage.java

    r28786288 r8303016  
    3232    public final static int MESSAGE_TYPE = 18;
    3333    public static final int DATA_SIZE = 1024;
    34     /** if we can't deliver a tunnel message in 10s, fuck it */
     34    /** if we can't deliver a tunnel message in 10s, forget it */
    3535    private static final int EXPIRATION_PERIOD = 10*1000;
    3636   
  • router/java/src/net/i2p/data/i2np/TunnelGatewayMessage.java

    r28786288 r8303016  
    2626   
    2727    public final static int MESSAGE_TYPE = 19;
    28     /** if we can't deliver a tunnel message in 10s, fuck it */
     28    /** if we can't deliver a tunnel message in 10s, forget it */
    2929    private static final int EXPIRATION_PERIOD = 10*1000;
    3030   
  • router/java/src/net/i2p/router/Router.java

    r28786288 r8303016  
    643643            if (f.canRead()) {
    644644                DataHelper.loadProps(props, f);
    645                 // dont be a wanker
    646645                props.remove(PROP_SHUTDOWN_IN_PROGRESS);
    647646            } else {
  • router/java/src/net/i2p/router/networkdb/kademlia/FloodfillMonitorJob.java

    r28786288 r8303016  
    161161        // Should we consider avg. dropped ff jobs?
    162162        RateStat lagStat = getContext().statManager().getRate("jobQueue.jobLag");
     163        RateStat queueStat = getContext().statManager().getRate("router.tunnelBacklog");
    163164        happy = happy && lagStat.getRate(60*60*1000L).getAvgOrLifetimeAvg() < 25;
     165        happy = happy && getContext().tunnelManager().queueStat.getRate(60*60*1000L).getAvgOrLifetimeAvg() < 5;
    164166        happy = happy && getContext().tunnelManager().getInboundBuildQueueSize() < 5;
    165167        // Only if we're pretty well integrated...
  • router/java/src/net/i2p/router/tasks/CoalesceStatsEvent.java

    r28786288 r8303016  
    4040        ctx.statManager().createRequiredRateStat("router.fastPeers", _x("Known fast peers"), "Throttle", new long[] { 5*60*1000, 60*60*1000 });
    4141        ctx.statManager().createRateStat("router.integratedPeers", _x("Known integrated (floodfill) peers"), "Throttle", new long[] { 60*1000, 5*60*1000, 60*60*1000 });
     42        ctx.statManager().createRateStat("router.tunnelBacklog", _x("Size of tunnel acceptor backlog"), "Tunnels", new long[] { 60*1000, 5*60*1000, 60*60*1000 });
    4243        _maxMemory = Runtime.getRuntime().maxMemory();
    4344        String legend = "(Bytes)";
     
    6970        getContext().statManager().addRateData("bw.recvRate", (long)getContext().bandwidthLimiter().getReceiveBps());
    7071       
     72        getContext().statManager().addRateData("router.tunnelBacklog", getContext().tunnelManager().getInboundBuildQueueSize(), 60*1000);
    7173        long used = Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();
    7274        getContext().statManager().addRateData("router.memoryUsed", used);
  • router/java/src/net/i2p/router/util/PriBlockingQueue.java

    r28786288 r8303016  
    1212/**
    1313 *  Priority Blocking Queue using methods in the entries,
    14  *  as definied in PQEntry, to store priority and sequence number,
     14 *  as defined in PQEntry, to store priority and sequence number,
    1515 *  ensuring FIFO order within a priority.
    1616 *
  • router/java/test/junit/net/i2p/router/tunnel/BatchedFragmentTest.java

    r28786288 r8303016  
    132132    public void runBatches() {
    133133        //success += testBatched(1, false, false, 1024, false, false);
    134         // this takes a long fucking time
     134        // this takes a long long time
    135135        for (int i = 1; i <= 1024; i++) {
    136136            testBatched(i, false, false, 1024, false, false, 1024, false, false);
Note: See TracChangeset for help on using the changeset viewer.