1. 09 Dec, 2015 2 commits
  2. 08 Dec, 2015 4 commits
  3. 30 Nov, 2015 4 commits
  4. 27 Nov, 2015 1 commit
  5. 25 Nov, 2015 1 commit
  6. 24 Nov, 2015 5 commits
  7. 23 Nov, 2015 2 commits
  8. 21 Nov, 2015 1 commit
  9. 20 Nov, 2015 1 commit
  10. 19 Nov, 2015 1 commit
  11. 18 Nov, 2015 1 commit
  12. 13 Nov, 2015 7 commits
  13. 12 Nov, 2015 1 commit
  14. 08 Nov, 2015 3 commits
  15. 05 Nov, 2015 2 commits
  16. 02 Nov, 2015 2 commits
  17. 01 Nov, 2015 2 commits
    • Constantin Rack's avatar
      Merge pull request #1629 from hintjens/master · 22179afa
      Constantin Rack authored
      Problem: Windows 7 TCP slow start
      22179afa
    • Pieter Hintjens's avatar
      Problem: Windows 7 TCP slow start · 54e2e2a7
      Pieter Hintjens authored
      See issue #1608.
      
      This is an old issue with Windows 7. The effect is that we see a latency
      ramp on the first 500 messages.
      
      * The ramp is unaffected by message size.
      * Sleeping up to 100msec between sends has no effect except to switch
          off ZeroMQ batching so making the ramp more visible.
      * After 500 messages, latency falls back down to ~10-40 usec.
      * Over inproc:// the ramp happens when we use the signaler class.
      * Client-server over inproc:// does not show the ramp.
      * Client-server over tcp:// shows a similar ramp.
      
      We know that the signaller is using TCP on Windows. We can 'prime' the
      connection by doing 500 dummy sends. This potentially causes new sockets
      to be delayed on creation, which is not a good solution.
      
      Note that the signaller sends zero-byte messages. This may also be
      confusing TCP.
      
      Solution: flood the receive buffer when creating a new FD pair; send a
      1M buffer and discard it.
      
      Fixes #1608
      54e2e2a7