[zeromq-dev] Using the full bandwidth of a 10 GBps link on Windows 7

Andy Gotz andy.gotz at esrf.fr
Wed Jul 3 10:20:01 CEST 2013

Hi Edwin,

I agree the problem is not ZMQ but it would be nice to achieve this with 
ZMQ. Under Linux I do not have to do much tweaking except choose an 
optimal buffer size for the ZMQ messages.

I have done benchmarks with iperf and simple file transfer and have 
observed the same figures under Windows i.e. confirms it is not a 
problem of ZMQ. The performance issue really seems to be inherent to 
Windows. I have difficulty believing it is not possible with Windows. 
But maybe I am wrong. The same tests under Linux give full bandwidth 
performance. The hardware is the same in both cases (16 core machines 
with GBs of memory).

I am hoping someone on the zeromq mailing list has managed to use all 
the bandwidth with ZMQ on Windows with 10 Gbits/s and can tell me how 
they did it ...

Best regards


  On 07/03/2013 09:42 AM, Edwin van den Oetelaar wrote:
> Hello Andy,
> My guess is that your performance is limited by latency, not raw 
> bandwidth.
> To saturate a 10GBps link you need to work hard.
> You might need to increase the MTU (jumbo frames), tweak RX/TX buffer 
> size of the network stack.
> You want to decrease the number of interrupts the card generates (by 
> streaming big chunks over the network).
> Before you tried this with ZMQ have you tried simple file copy between 
> machines or running a tool like netperf (I know this is Linux).
> Maybe ZMQ is not your problem yet, there could be many other reasons 
> why your performance is below expectations.
> Greetings,
> Edwin van den Oetelaar
> On Wed, Jul 3, 2013 at 8:24 AM, Andy Gotz <andy.gotz at esrf.fr 
> <mailto:andy.gotz at esrf.fr>> wrote:
>     Dear all,
>     I am trying to use the full bandwidth of a 10 GBps link under
>     Windows 7
>     (32 bits) with zeromq. I do not seem to get above 1.5 GBps on
>     average. I
>     am using the remote_thr program provided as part of the zeromq
>     distribution which is using push-pull. The same zeromq program
>     uses the
>     full bandwidth under Linux.
>     Has anyone managed this under Windows 7? How did you do this? I have
>     read about various tweaks to be applied under Windows but none of them
>     helped so far. I would be interested in any/all tricks you applied.
>     Thanks in advance
>     Andy
>     _______________________________________________
>     zeromq-dev mailing list
>     zeromq-dev at lists.zeromq.org <mailto: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

Save our in-boxes! http://emailcharter.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130703/e0adab2f/attachment.htm>

More information about the zeromq-dev mailing list