Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-25 Thread Pieter Hintjens
On Sat, Aug 25, 2012 at 1:56 AM, Arthur O'Dwyer art...@push.am wrote: I hit the ones that looked most like real bugs and filed a pull request. https://github.com/zeromq/libzmq/pull/413 Interestingly, the just strange code at src\zmq.cpp(489) did seem to have a real bug, after all. Thanks

Re: [zeromq-dev] Problem using inproc - What am I doing wrong?

2012-08-25 Thread Ian Barber
On Sat, Aug 25, 2012 at 2:12 AM, Iggy Philly iggy.phi...@hotmail.com wrote: I did try adding this (for several differnt filters including ): string filt = test; zmq_setsockopt(socket, ZMQ_SUBSCRIBE, filt.c_str(), filt.length()); Yep, you need to add that in - by default SUB will reject all

Re: [zeromq-dev] libzmq clrzmq: ARM / WinRT

2012-08-25 Thread Ian Barber
On Sat, Aug 25, 2012 at 4:25 AM, Johnny Gozde joh...@jgoz.net wrote: Hi, clrzmq binding maintainer here. It hasn't been planned (by me), but if you have access to those environments, I'd gladly accept pull requests. I can't speak for libzmq, but I'm sure they would accept pull requests for

Re: [zeromq-dev] Problem using inproc - What am I doing wrong?

2012-08-25 Thread Iggy Philly
I've added the subscription to the code and am now sending multiple messages with no change in behavior. I also tried changing the transport from inproc to tcp and the problem remains (that change is commented out). So, I don't think it's an inproc problem. I can't help but think I'm missing

Re: [zeromq-dev] Problem using inproc - What am I doing wrong?

2012-08-25 Thread Stuart Brandt
Guessing you're not setting up your pollitem correctly. Try setting pollitem.events to ZMQ_POLLIN and pollitem.revents to 0. On 8/25/12 9:41 AM, Iggy Philly wrote: I've added the subscription to the code and am now sending multiple messages with no change in behavior. I also tried changing the

Re: [zeromq-dev] Problem using inproc - What am I doing wrong?

2012-08-25 Thread Iggy Philly
Oh man. That was it. Thank you! Date: Sat, 25 Aug 2012 10:21:08 -0400 From: s...@compuserve.com To: zeromq-dev@lists.zeromq.org Subject: Re: [zeromq-dev] Problem using inproc - What am I doing wrong? Guessing you're not setting up your pollitem correctly. Try setting

Re: [zeromq-dev] Problem using inproc - What am I doing wrong?

2012-08-25 Thread Ian Barber
On Sat, Aug 25, 2012 at 3:30 PM, Iggy Philly iggy.phi...@hotmail.com wrote: Oh man. That was it. Thank you! Good spot Stuart! Reevents and events being used the other way round. ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] Does ZeroMQ have any loopback benchmark?

2012-08-25 Thread Julie Anderson
Thanks, Ian. But I am more interested in the results that ZeroMQ has accomplished. Has anyone from ZeroMQ run any test on loopback that can share some results? -J On Fri, Aug 24, 2012 at 3:57 PM, Ian Barber ian.bar...@gmail.com wrote: On Fri, Aug 24, 2012 at 5:20 PM, Julie Anderson

Re: [zeromq-dev] Does ZeroMQ have any loopback benchmark?

2012-08-25 Thread Ian Barber
On Sat, Aug 25, 2012 at 4:44 PM, Julie Anderson julie.anderson...@gmail.com wrote: Thanks, Ian. But I am more interested in the results that ZeroMQ has accomplished. Has anyone from ZeroMQ run any test on loopback that can share some results? -J The perf tests are the zeromq benchmarks - if

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-25 Thread Arthur O'Dwyer
On Sat, Aug 25, 2012 at 1:20 AM, Pieter Hintjens p...@imatix.com wrote: On Sat, Aug 25, 2012 at 1:56 AM, Arthur O'Dwyer art...@push.am wrote: I hit the ones that looked most like real bugs and filed a pull request. https://github.com/zeromq/libzmq/pull/413 Interestingly, the just strange

Re: [zeromq-dev] Java NIO selector minimum possible latency

2012-08-25 Thread Michel Pelletier
On Thu, Aug 23, 2012 at 1:12 PM, Julie Anderson julie.anderson...@gmail.com wrote: Hi, Java NIO UDP benchmark results snipped So my questions for the community are: 1 - Is my minimum time of 13 micros with average of 19 micros optimum for this round trip packet test. It looks like I am

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-25 Thread Pieter Hintjens
On Sat, Aug 25, 2012 at 7:20 PM, Arthur O'Dwyer art...@push.am wrote: (Btw, wouldn't it make sense for 3.2 stable to be a release branch off of libzmq, rather than a whole separate repo? Then you wouldn't have to ask everyone to make two copies of their patches.) It wouldn't make any

Re: [zeromq-dev] Compilation fails when NDEBUG is enabled.

2012-08-25 Thread Pieter Hintjens
On Sat, Aug 25, 2012 at 8:25 PM, Pieter Hintjens p...@imatix.com wrote: On Sat, Aug 25, 2012 at 7:20 PM, Arthur O'Dwyer art...@push.am wrote: (Btw, wouldn't it make sense for 3.2 stable to be a release branch off of libzmq, rather than a whole separate repo? Then you wouldn't have to ask

Re: [zeromq-dev] Does ZeroMQ have any loopback benchmark?

2012-08-25 Thread Chuck Remes
On Aug 25, 2012, at 10:44 AM, Julie Anderson wrote: Thanks, Ian. But I am more interested in the results that ZeroMQ has accomplished. Has anyone from ZeroMQ run any test on loopback that can share some results? I can show you a bunch of performance results on a machine that is now 5 years

Re: [zeromq-dev] Java NIO selector minimum possible latency

2012-08-25 Thread Julie Anderson
Hi Michel, Question was about the latency to wake up a quiet thread blocking on a select. The answer was already given to me: busy spinning. I was able to pull down the latency to around 60 micros for a a single packet. As you increase the number of packets it goes down exponentially to 10

Re: [zeromq-dev] Java NIO selector minimum possible latency

2012-08-25 Thread Ian Barber
On Sat, Aug 25, 2012 at 9:32 PM, Julie Anderson julie.anderson...@gmail.com wrote: Does ZeroMQ support some kind of reliable UDP for a publisher-subscriber / one-to-many asynchronous messaging system? -J Sort of - the EPGM transport does for PUB/SUB, UDP based multicast. Ian