[zeromq-dev] ZMQ TCP optimization

Ori Barak oribarak at microsoft.com
Wed Jun 26 18:01:48 CEST 2013


Hi,

Thanks for the help Martin,
Enclosed are first couple in pcapng format hope it's fine.

It looks as if windo size scaling factor is -2 (no window scaling used). I've tried not using the SND\RECVBUF option and also tried setting it with very high value but didn't see any difference.

Thanks,
Ori

-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Martin Hurton
Sent: Wednesday, June 26, 2013 2:37 PM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] ZMQ TCP optimization

Hi Ori, could you please capture the first 10 packets when you connect to the remote server for me. I would like to check something. Thanks.

- mh

On Wed, Jun 26, 2013 at 10:05 AM, Ori Barak <oribarak at microsoft.com> wrote:
> Hi,
>
>
>
> I have an application running on windows using ZMQ Push\Pull TCP sockets.
>
> The client\server machines I use have a 1 GB bandwidth.
>
> When sending messages between 2 close servers (round trip time <1ms) I 
> get a rate of about  ~110MB/sec. When sending messages between two 
> remote servers (round trip ~70ms) I get ~1.5MB/sec. I was under the 
> impression that the RTT shouldn't affect much on the throughput since 
> the TCP window scaling option is enabled in windows by default 
> (http://en.wikipedia.org/wiki/TCP_window_scale_option ) thus window 
> size can increase up to 1,073,725,440 bytes which basically means the 
> RTT should have little effect.
>
>
>
> If I open multiple channels on the client side on the same destination 
> port I can get more utilization but I would rather have a single 
> channel working faster.
>
>
>
> Any ZMQ\TCP configuration I can change to increase network utilization?
>
>
>
> Thanks,
>
> Ori
>
>
>
>
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
_______________________________________________
zeromq-dev mailing list
zeromq-dev at lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: first10.pcapng
Type: application/octet-stream
Size: 1808 bytes
Desc: first10.pcapng
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130626/e7ac46b7/attachment.obj>


More information about the zeromq-dev mailing list