1. 13 Feb, 2014 4 commits
  2. 12 Feb, 2014 20 commits
  3. 11 Feb, 2014 9 commits
  4. 10 Feb, 2014 7 commits
    • Mike Hibler's avatar
      Mike's last attempt at dynamic rate pacing. · 154b079b
      Mike Hibler authored
      Mostly cleaning up some errors and adding some stats for Eric Monson's
      class project last fall.
      154b079b
    • Mike Hibler's avatar
      Move the forced yield up to the top of the loop. · f87f8651
      Mike Hibler authored
      Mostly, before the alloc_writebuf in a vague hope that the yield will
      lead to freed memory that will prevent blocking in the alloc_writebuf.
      f87f8651
    • Mike Hibler's avatar
      More stats, including network write times. · 0790d777
      Mike Hibler authored
      0790d777
    • Mike Hibler's avatar
      Add stat to keep track of "partial chunk drops". · 6c55bc25
      Mike Hibler authored
      These are drops of the so-called dubious chunks. Dubious chunks are those
      which we partially filled, but then we started receiving pieces of another
      chunk before completing the first. We mark that first chunk as dubious under
      the assumption that the remainder of that chunk got dropped (by us or on
      the wire) and we won't be seeing the remaining blocks for some time.
      6c55bc25
    • Mike Hibler's avatar
      Get rid of the last non-used of a condition variable. · aee5a88d
      Mike Hibler authored
      If the decompressor thread had nothing to do, it used to just sleep for
      a fixed period (1ms) and check again. If CONDVARS_WORK is set, we now just
      sleep on a condvar and wait for the network thread to wake us up when it
      finishes filling out a chunk.
      aee5a88d
    • Mike Hibler's avatar
      Make socket buffer size more configurable. · 2f1a8340
      Mike Hibler authored
      It appeared to be before, but wasn't really. The -k option for both client
      and server will set the max socketbuf size in KB (NOTE: THIS USED TO BE MB!)
      The actual socketbuf size will then be the min of that and what the system
      supports.
      
      The client stats now include the sockbuf size of the run.
      2f1a8340
    • Mike Hibler's avatar
      Lint. · 57f3d51f
      Mike Hibler authored
      57f3d51f