I am troubleshooting a performance issue with netTcpBinding in a Self-Hosted WCF service and looking at the packets is not clear whats going on. On a new connections I sometime see an overhead of 200-300 ms in a LAN connection (2 machines connected on the same switch). The TCP 3 way handshake is quick, but the next packet PSH ACK one takes 150+ms. There is no load in the servers, is just this one request.
Is this controled by the nettcpbiding settings, or is it something at the server?
It seems like the overhead is required by the application (although seems high). The problem with the connections closing to quickly, within 2 minutes was due to idleTimeout setting in connectionPoolSettings.