[zeromq-dev] Windows throughput perfomance. Once again.
Steven McCoy
steven.mccoy at miru.hk
Tue Jun 28 23:37:34 CEST 2011
On 28 June 2011 15:31, malist i <mailing.list at manageapp.com> wrote:
> I have used Apache APR (http://apr.apache.org/) based code for my rpc
> application. In my tests I found that connecting to Windows 7 or XP server
> performance was much worse than connecting to Mac OSX server.
>
> Finally I found this tech note "Slow performance occurs when you copy data
> to a TCP server by using a Windows Sockets API program"
> http://support.microsoft.com/kb/823764.
>
> I got a huge increase of performance (2.4 seconds to 0.4 seconds) after
> setting TcpDelAckTicks registry value to the machine that does
> "apr_socket_accept()" -call in the server code. Client just sends request
> and waits for response in loop. There was no change in performance.
>
> My code sends lots of small messages (140 bytes) and occasionally bigger
> packets (10k - 1mb).
>
>
0mq uses 8KB message blocks which means XP would be affected (8KB default)
but Vista and 7 are not (64KB default).
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110628/2f4517e8/attachment.htm>
More information about the zeromq-dev
mailing list