Re: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Alan Bateman
On 24/09/2014 19:21, Kirk Shoop (MS OPEN TECH) wrote: My memory is that setting it on the socket before calling listen did not work. However, we will try again and verify. It would be good to check, it may be that we just need to set it after the listen (in the case of listener oriented chan

RE: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Kirk Shoop (MS OPEN TECH)
My memory is that setting it on the socket before calling listen did not work. However, we will try again and verify. Thanks, Kirk Software Design Engineer Microsoft Open Technologies, Inc. MS Open Tech is hiring (http://aka.ms/msopentechjobs)! Ask me for details if anyone you know is intereste

Re: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Alan Bateman
On 24/09/2014 16:58, Kirk Shoop (MS OPEN TECH) wrote: SIO_LOOPBACK_FAST_PATH must be set on the socket passed to accept. The way I think about this is the socket instance passed to listen represents the port while the socket instance passed to accept represents a single TCP stream. SIO_LOOPBA

RE: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Kirk Shoop (MS OPEN TECH)
SIO_LOOPBACK_FAST_PATH does not affect the addresses, local or remote. It just selects a shorter code path for transporting messages through the network stack. My understanding is that it will only affect users of the loopback interface. So with this code change any existing java code would need

RE: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Kirk Shoop (MS OPEN TECH)
Yes, we will rebase as needed. Just let us know when and where :) Kirk Software Design Engineer Microsoft Open Technologies, Inc. MS Open Tech is hiring (http://aka.ms/msopentechjobs)! Ask me for details if anyone you know is interested. From: Michael McMahon [mailto:michael.x.mcma...@oracle.co

RE: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Kirk Shoop (MS OPEN TECH)
SIO_LOOPBACK_FAST_PATH must be set on the socket passed to accept. The way I think about this is the socket instance passed to listen represents the port while the socket instance passed to accept represents a single TCP stream. SIO_LOOPBACK_FAST_PATH has no effect when applied to a port, but do

Re: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Michael McMahon
On 24/09/14 10:43, Michael McMahon wrote: On 24/09/14 08:50, Alan Bateman wrote: On 24/09/2014 02:19, Martin Sawicki (MS OPEN TECH) wrote: Hello We’re proposing an improvement to the OpenJDK which enables users to take advantage of the TCP loopback fast path mechanism in Windows for signifi

Re: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Michael McMahon
On 24/09/14 08:50, Alan Bateman wrote: On 24/09/2014 02:19, Martin Sawicki (MS OPEN TECH) wrote: Hello We’re proposing an improvement to the OpenJDK which enables users to take advantage of the TCP loopback fast path mechanism in Windows for significantly higher performance of sockets whose

Re: Taking advantage of TCP Loopback fast path in Windows

2014-09-24 Thread Alan Bateman
On 24/09/2014 02:19, Martin Sawicki (MS OPEN TECH) wrote: Hello We're proposing an improvement to the OpenJDK which enables users to take advantage of the TCP loopback fast path mechanism in Windows for significantly higher performance of sockets whose both end points are on the same machine