[zeromq-dev] Inconsistent behavior during tests

Christian Martinez chmar at microsoft.com
Wed May 11 23:20:26 CEST 2011

Hmm.. Are you using clrzmq2<http://github.com/zeromq/clrzmq2>?
Built libzmq 2.1.6 by opening sln and just doing rebuild all.. System info below

OS Name             Microsoft Windows 7 Enterprise
Version                6.1.7601 Service Pack 1 Build 7601
System Manufacturer    Hewlett-Packard
System Model   HP EliteBook 8540w
System Type      x64-based PC
Processor            Intel(R) Core(TM) i7 CPU       Q 720  @ 1.60GHz, 1600 Mhz, 4 Core(s), 8 Logical Processor(s)
Installed Physical Memory (RAM)             16.0 GB
Total Physical Memory  15.9 GB
Available Physical Memory          11.1 GB
Total Virtual Memory     31.9 GB
Available Virtual Memory             26.3 GB
Page File Space 15.9 GB
Page File              C:\pagefile.sys


From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Joshua Foster
Sent: Wednesday, May 11, 2011 2:06 PM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] Inconsistent behavior during tests

I'm not sure what you are seeing here are my test runs...

E:\zmqwin32>remote_thr.exe tcp:// 120 10000000

E:\zmqwin32>remote_thr.exe tcp:// 120 10000000

E:\zmqwin32>local_thr.exe tcp:// 120 10000000
message size: 120 [B]
message count: 10000000
mean throughput: 752049 [msg/s]
mean throughput: 721.967 [Mb/s]

E:\zmqwin32>local_thr.exe tcp:// 120 10000000
message size: 120 [B]
message count: 10000000
mean throughput: 748902 [msg/s]
mean throughput: 718.946 [Mb/s]

I'm running on the local machine with Windows 7, Intel 2.8ghz quad core with 4GB of memory. I have 0MQ 2.1.6 compiled with VS2010.


On 5/11/2011 4:11 PM, Christian Martinez wrote:
Running tests back to back on same laptop back to back sending 10000000 messages.

C:\software\zeromq-clrzmq2-f420936\remote_thr\bin\Release>remote_thr.exe tcp:// 120 10000000

C:\software\zeromq-clrzmq2-f420936\remote_thr\bin\Release>remote_thr.exe tcp:// 120 10000000

Unhandled Exception: ZMQ.Exception: Visual C++ CRT: Not enough memory to complete call to strerror.
   at ZMQ.Socket.Send(Byte[] message, SendRecvOpt[] flags)
  at remote_thr.Program.Main(String[] args)

Is this normal? If this condition is known to occur under load then how do I best modify the test to throttle or do whatever is necessary prevent the second result while still not killing throughput?



zeromq-dev mailing list

zeromq-dev at lists.zeromq.org<mailto:zeromq-dev at lists.zeromq.org>


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

More information about the zeromq-dev mailing list