[zeromq-dev] Zmq 4.2.0 aligned memory

2016-11-14 Thread Emmanuel Taurel
Hello all, We are using zeromq since years now without troubles. We have recently tried our software using Zmq 4.2.0 (on linux hosts). For our application, we are using multipart messages with 4 parts in publish/subscribe mode. With Zmq 4.0.5, on the subscriber side, when we get the last message p

Re: [zeromq-dev] Zmq 4.2.0 aligned memory

2016-11-15 Thread Emmanuel Taurel
t; Jens > > -Ursprüngliche Nachricht- > Von: zeromq-dev [mailto:zeromq-dev-boun...@lists.zeromq.org] Im Auftrag von > Emmanuel Taurel > Gesendet: Montag, 14. November 2016 16:49 > An: zeromq-dev@lists.zeromq.org > Betreff: [zeromq-dev] Zmq 4.2.0 aligned memory > > H

[zeromq-dev] Process eating 100 % of one core

2014-11-07 Thread Emmanuel TAUREL
Hello all, We are using ZMQ (still release 3.2.4) mainly on Linux boxes. We are using the PUB/SUB model. Our system runs 24/7. From time to time, we have some of our PUB processes eating 100 % of one core of our CPU's. We don't know yet what exactly triggers this phenomenon and therefore we are

Re: [zeromq-dev] Process eating 100 % of one core

2014-11-07 Thread Emmanuel TAUREL
Hi Gerry, On 07/11/2014 11:26, Gerry Steele wrote: How long does the cpu use last for when it does happen? Or does it stay at 100pct till restart? It stays at 100 % until we force ZMQ to do something like publishing a message Emmanuel On 7 Nov 2014 10:21, "Emmanuel TAUREL" &

[zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-14 Thread Emmanuel TAUREL
Hello all, Is there any compatibility between a publisher using ZMQ 3.1.0 and subscriber(s) using ZMQ 3.2.1-rc2 (running on different hosts)? In case there is no compatibility between these two releases, I assume that it will be the same for future stable release. Is this true? Thank's very mu

Re: [zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-15 Thread Emmanuel TAUREL
create a Jira bug entry for the coming 3.2.1 (stable)? Regards Emmanuel > > On Thu, Nov 15, 2012 at 12:06 AM, Emmanuel TAUREL wrote: >> Hello all, >> >> Is there any compatibility between a publisher using ZMQ 3.1.0 and >> subscriber(s) using ZMQ 3.2.1-rc2 (running

Re: [zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-15 Thread Emmanuel TAUREL
Hello, On 15/11/2012 13:26, Pieter Hintjens wrote: > > So the 3.1 release is problematic, it uses the old wire protocol but > does subscription upstreaming. The strategy we're using now can't > recognize this mix. If anyone wants to take a look at the protocol and > see if there's a solution...

Re: [zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-15 Thread Emmanuel TAUREL
Hello, On 15/11/2012 17:22, Pieter Hintjens wrote: > > > Now, what are the expectations here? Recall that this is a free > software package, built by a community, and funded by users who are > decent enough to pay for support, or to submit patches. > > Are we happy to delay the 3.2 release so we c

Re: [zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-16 Thread Emmanuel TAUREL
Hello all, On 16/11/2012 13:12, Martin Hurton wrote: >> Asserts are made to check for clear incoherent behavior in a library. >> Something that just could not happen if the library is coded properly. They >> should check for things like function pre/post conditions. They are for >> library develop

Re: [zeromq-dev] Compatibility 3.1 - 3.2.1-rc2

2012-11-16 Thread Emmanuel Taurel
Hi all, That's a very, very good news. Thank's for the ZMQ team efforts. It really simplify our life Emmanuel Le 16.11.2012 18:25, Pieter Hintjens a écrit : > On Fri, Nov 16, 2012 at 10:51 PM, Emmanuel TAUREL > wrote: > >> Compatibility between 3.1 and 3.2.1-rc2

[zeromq-dev] fopen / errno / gdb using epgm

2012-11-28 Thread Emmanuel TAUREL
Hello all, I am using ZMQ (3.2.1-rc2) PUB/SUB and I am experimenting the epgm/pgm transport. I now have a running application (both sides). That's cool but I noticed that I am not able to run my publisher under control of gdb! The bind call fails. I study a little bit what happens and found out

Re: [zeromq-dev] fopen / errno / gdb using epgm

2012-11-29 Thread Emmanuel TAUREL
Hi Steve, On 28/11/2012 17:57, Steven McCoy wrote: On 28 November 2012 10:58, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: I now have a running application (both sides). That's cool but I noticed that I am not able to run my publisher under control of gdb! The

[zeromq-dev] ZMQ on old linux

2013-03-11 Thread Emmanuel TAUREL
Hello all, I am trying to compile ZMQ 3.2.2 using pgm (5.1.118) on one relatively old Linux box: Red Hat release 4. The compiler release is gcc 3.4.6. The compilation failed when compiling pgm with the following message: time.c:451:4: #error "gettimeofday() or ftime() required to calculate cou

Re: [zeromq-dev] ZMQ on old linux

2013-03-11 Thread Emmanuel TAUREL
... yes Checking for glib-2.0 >= 2.10... no glib-2.0 >= 2.10 not found. Is there any option(s) other than the -f to be used on the scons command line? Thank's for your help Emmanuel On 11/03/2013 15:01, Steven McCoy wrote: On 11 March 2013 09:44, Emmanuel TAUREL <mailto:tau...@esr

Re: [zeromq-dev] ZMQ on old linux

2013-03-12 Thread Emmanuel TAUREL
Hi Steve, On 11/03/2013 18:36, Steven McCoy wrote: On 11 March 2013 12:09, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: scons -f SConstruct.RHEL4 You probably want, scons -f SConstruct.RHEL4 BUILD=RELEASE WITH_EXAMPLES=false WITH_HTTP=false WITH_SNMP=false WITH_HISTOGR

[zeromq-dev] Building ZMQ 3.2.2 with pgm on Windows

2013-03-18 Thread Emmanuel TAUREL
Hello all, We need to build several flavors of zeromq 3.2.2 with pgm for Windows. We would like to have the PGM code included in the zeromq lib as it is for Linux OS. The different flavors are : VC9 - VC10 - Static linking - DLL - 32 bits - 64 bits Is there a recommended way to do this? Th

Re: [zeromq-dev] Building ZMQ 3.2.2 with pgm on Windows

2013-03-18 Thread Emmanuel TAUREL
will I have only one lib (zeromq including openpgm stuff) or two libs (zeromq on one side and pgm on the other which need to be both used when linking one application)? Once again, thank's for your help Emmanuel On 18/03/2013 15:52, Steven McCoy wrote: On 18 March 2013 10:38, Emmanuel T

[zeromq-dev] Another question about building Zeromq on Windows with OpenPGM

2013-03-19 Thread Emmanuel TAUREL
Hello all, While building OpenPGM 5.1.118 (in order to then build Zmq 3.2.2), I notice that the libpgm library is generated as a static library but compiled with the code generation option "Multi Threaded DLL". Is there any reason for this? I thought that if you compile a static lib, you should

[zeromq-dev] ZMQ (3.1.0) loosing first part message in multi-part message

2013-03-25 Thread Emmanuel TAUREL
Hello all, Due to the wire incompatibility between ZMQ 3.1 and 3.2, we are still using 3.1 in our production environment. We are using the PUB/SUB pattern. The subscriber is a GUI given to our users. There are several instances of this GUI running. There are around 150 publishers running on dif

Re: [zeromq-dev] ZMQ (3.1.0) loosing first part message in multi-part message

2013-03-26 Thread Emmanuel TAUREL
related to the HWM, so you could try raising this on the > production PUB side, and using a lower HWM when you try to reproduce > the problem. > > -Pieter > > > On Mon, Mar 25, 2013 at 9:32 AM, Emmanuel TAUREL wrote: >> Hello all, >> >> Due to the wire incompati

[zeromq-dev] Zmq and Java

2013-05-06 Thread Emmanuel TAUREL
Hello all, As far as I know, if we want to use ZMQ in java software, we have two alternatives which are: 1 - Use Jzmq which is a JNI layer above C++ zmq 2 - Use Jeromq which is a port of C++ zmq to Java. Therefore, this one is 100 % java Now, if I want to use Pub/Sub pattern with multicast tran

[zeromq-dev] epgm on Red Hat 4

2013-05-29 Thread Emmanuel TAUREL
Hello all, I am trying to use ZMQ 3.2.2 (with open pgm 5.1.118) on Red Hat 4 host (Quite old stuff...) I am using PUB/SUB and epgm transport. When I connect the subscriber to the publisher, the publisher aborts with the message Warn: ToS/DSCP setting requires CAP_NET_ADMIN or ADMIN capability.

[zeromq-dev] Zeromq - epgm transport on Red Hat 4

2013-06-04 Thread Emmanuel TAUREL
Hello all, I am trying to use ZMQ PUB/SUB with epgm transport on a Red Hate 4 Linux host - 32 bits. - 1 - First, some issues related to compilation: Due to ZMQ bug XXX, I have to use ZMQ 3.2.3. It comes with libpgm 5.1.118. When you compiled this OpenPGM release on Red Hat 4 host, it fails

Re: [zeromq-dev] Zeromq - epgm transport on Red Hat 4

2013-06-05 Thread Emmanuel TAUREL
#x27;s for your help Emmanuel On 04/06/2013 17:56, Steven McCoy wrote: On 4 June 2013 07:17, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: Any help appreciated. Thank's in advance Modify the stock remote_thr.cpp to use a ZMQ_PUB socket then define a rate limit slightly

Re: [zeromq-dev] Zeromq - epgm transport on Red Hat 4

2013-06-10 Thread Emmanuel TAUREL
/sbin/ifconfig dummy0 0.0.0.0" solves the problem. I am actually checking with our IT team the reason of this dummy0 interface. Regards Emmanuel On 04/06/2013 17:56, Steven McCoy wrote: On 4 June 2013 07:17, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: Any help appreciated.

[zeromq-dev] Pull request for the C++ binding

2013-06-27 Thread Emmanuel TAUREL
Hello everybody, We are user of the low-level C++ zeromq binding. We notice that some specific calls introduced in ZMQ 3.2.2 (like zmq_disconnect() for instance) were not available through this binding. I made a pull request to update the binding but then by looking at this page https://github.c

[zeromq-dev] Compatibility ZMQ3 - ZMQ4

2014-02-11 Thread Emmanuel TAUREL
Hello all, I would like to get a confirmation of what I have in mind. I have a set of processes acting as PUB using ZMQ 3.2.4 My question is: If I run processes acting as SUB using ZMQ 4.0.3, will I have compatibility problems between my PUB and SUB? Is ZMQ 3.2.X compatible with ZMQ 4.0.3? Thank

Re: [zeromq-dev] Using ZMQ for video multicast

2014-02-11 Thread Emmanuel Taurel
Hi George, If you want to use PUB/SUB and multicast, you have to use ZMQ with PGM. In ZMQ, PGM is encapsulateded in UDP. Look at the so-called epgm (Encapsulated PGM) transport. Hoping this help Emmanuel Le 12.02.2014 01:24, George Kumar a écrit : > Hi all, > > Sorry if this too basic a questi

[zeromq-dev] Subscriber sockets connecting to several endpoints

2011-06-23 Thread Emmanuel TAUREL
Hello everybody. I am using zmq 2.1.7. Just a simple question. Is it possible for a single subscriber socket (ZMQ_SUB) to connect to several endpoints coming from differents publisher sockets (ZMQ_PUB) running on several hosts? Thank's for your reply Emmanuel T

Re: [zeromq-dev] Subscriber sockets connecting to several endpoints

2011-06-23 Thread Emmanuel TAUREL
? > > Yes. It is possible. Is there any limitations on the number of connected publishers? Once more thank's for the fast answer Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Pub - Sub pattern and IP v6

2011-06-29 Thread Emmanuel TAUREL
side). Which design is the best one? Is there other way to build this kind of system? Thank's for your answer Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Memory alignment

2011-07-07 Thread Emmanuel TAUREL
assume that the buffer is aligned on a 4 bytes border. Is there any rule concerning buffer memory alignment within zmq? Is there something I can do to retrieve my buffer aligned on a 4 bytes border? Thank's for your answers Regards Emmanuel T

Re: [zeromq-dev] Memory alignment

2011-07-07 Thread Emmanuel TAUREL
y? Thank's for your answers Emmanuel Taurel On 07/07/2011 12:47, Emmanuel TAUREL wrote: > Hello all, > > I am using zeromq 2.1.7. I am using a multipart message sent from a PUB > socket to some SUB sockets. > Then, once in the receiver process, the message is sent to worker >

Re: [zeromq-dev] Memory alignment

2011-07-08 Thread Emmanuel TAUREL
is today). I will be in favor of something similar to this. Regards Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Some questions about ZMQ PUB/SUB usage

2011-08-22 Thread Emmanuel TAUREL
do so? My second question is what about disconnection. I don't know how I can disconnect my socket from the "transient" publisher. Is there a way to do this kind of thing? Thank's very much for your answers Regards Emmanuel Taurel _

Re: [zeromq-dev] Some questions about ZMQ PUB/SUB usage

2011-08-22 Thread Emmanuel TAUREL
Re, Thanks very much for your very fast answer. On 22/08/2011 13:02, Martin Sustrik wrote: > Hi Emmanuel, > >> The process receiving the data open only one SUB socket. This process >> consistently gets data from one publisher and for some period of >> time from other publisher(s). To get data com

[zeromq-dev] C++ binding for zmq 3

2011-08-25 Thread Emmanuel TAUREL
Hello, I would like to try Zmq 3.0. With Zmq 2.1, I was using the C++ binding. I have read somewhere (Web pages?) that the C++ binding has been removed from the official package. Is there already a C++ binding available for Zmq 3? If yes, from where can I get it? Thank's in advance for your ans

[zeromq-dev] ZMQ 3, multicasting and subscription forwarding

2011-08-30 Thread Emmanuel TAUREL
thing somewhere? Thank's for your answers Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] ZMQ 3.0.1 crash

2011-09-01 Thread Emmanuel TAUREL
hope I am clear enough Thank's for your help Emmanuel Taurel #include #include using namespace std; int main(int argc,char *argv[]) { int ret = 0; if (argc != 3) { cerr << argv[0] << "usage = " << argv[0] << " " << endl; r

Re: [zeromq-dev] ZMQ 3.0.1 crash

2011-09-01 Thread Emmanuel TAUREL
Hi Martin, Thank's very much for your advice. I have commented out this line in xsub.cpp and the crash does not happen any more. On top of this, valgrind does not report any problem any more (Still using the a ZMQ_MAKE_VALGRIND_HAPPY compiled library) Nevertheless, as requested by Pieter, I ha

[zeromq-dev] Assertion using ZMQ 3.0.x

2011-09-01 Thread Emmanuel TAUREL
ared (../../src/msg.cpp:270) Aborted (core dumped) In the libzmq-244 issue already mentioned above, you can find all the necessary files to re-produce the case. Once more, thank's for your help Emmanuel Taurel ___ zeromq-dev mailing list z

Re: [zeromq-dev] Assertion using ZMQ 3.0.x

2011-09-01 Thread Emmanuel TAUREL
Hello, Of course, here it is: (gdb) bt #0 0x0051c416 in __kernel_vsyscall () #1 0x00164941 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #2 0x00167e42 in abort () at abort.c:92 #3 0x00ce5bc8 in zmq::msg_t::rm_refs (this=0xbfdbe7bc, refs_=1) at ../../src/msg.cpp:270 #4

Re: [zeromq-dev] Assertion using ZMQ 3.0.x

2011-09-02 Thread Emmanuel TAUREL
Hi Martin, On 02/09/2011 12:16, Martin Sustrik wrote: > Hi Emmanuel, > >> #3 0x00ce5bc8 in zmq::msg_t::rm_refs (this=0xbfdbe7bc, refs_=1) >> at ../../src/msg.cpp:270 > > Can you check whether attached patch helps with the problem? Yes it does. It now works. The publisher(s) processes survive to a

Re: [zeromq-dev] zmq C++ wrapper

2011-09-07 Thread Emmanuel TAUREL
Hello all, In the project I am actually workingon, I am using zmq.hpp over ZMQ 3. I am also happy with it. It covers all my needs. Just my 2 cents Regards Emmanuel Taurel On 07/09/2011 12:40, Ilja Golshtein wrote: > Pieter, > > to be honest I think zmq.hpp is not too bad. > Wh

[zeromq-dev] ZMQ 3.x: Receiving several times the same message

2011-09-12 Thread Emmanuel TAUREL
/ unsupported if I connect / subscribe the same socket several times to the same publisher? Thank's for your answers Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Zero copy messages

2011-09-15 Thread Emmanuel TAUREL
one object which has the process lifetime. Therefore, my free method is empty. Because it is zero copy, I assume that ZMQ does not copy the buffer contents. Is it true that I should keep these buffers unchanged until the free method is called? Thank's very much for your answers Emmanuel T

Re: [zeromq-dev] XREP/ROUTER no longer receive messages atomically in 3.0/4.0

2011-09-21 Thread Emmanuel TAUREL
Hello all, > Application level multi-part messages are one of the killer features > of 0MQ. Without them our usage of 0MQ would be nearly impossible. > PLEASE don't remove them. > I fully agree with this request. Please don't remove them. Emmanuel __

[zeromq-dev] Building zmq with openpgm

2011-09-22 Thread Emmanuel TAUREL
Hello all, I am using ZMQ 3.0.x on a Ubuntu 10.10 box (32 bits) I am trying to build zmq with openpgm but it fails. My configure option are --with-pgm and a --prefix The configure command works fine (but not if I run it from a sub-directory) The make command fails with this message: make cd .

Re: [zeromq-dev] Building zmq with openpgm

2011-09-23 Thread Emmanuel TAUREL
Hello, On 22/09/2011 18:06, Steven McCoy wrote: On 22 September 2011 11:43, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: Hello all, I am using ZMQ 3.0.x on a Ubuntu 10.10 box (32 bits) I am trying to build zmq with openpgm but it fails. My configure option are -

Re: [zeromq-dev] Building zmq with openpgm

2011-09-23 Thread Emmanuel TAUREL
On 23/09/2011 17:37, Steven McCoy wrote: On 23 September 2011 11:33, Steven McCoy <mailto:steven.mc...@miru.hk>> wrote: On 23 September 2011 11:27, Emmanuel TAUREL mailto:tau...@esrf.fr>> wrote: I am sorry but I do not really understand. I got ZMQ 3.0.x from

[zeromq-dev] Loosing first message with PGM

2011-09-29 Thread Emmanuel TAUREL
solve this problem? Is it due to a bad usage of zmq::poll() call? Thank's for your answer Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Loosing first message with PGM

2011-09-29 Thread Emmanuel TAUREL
Hi, On 29/09/2011 15:18, Steven McCoy wrote: On 29 September 2011 04:26, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: I am able to manually trigger the PGM publisher to publish 1 multipart message. ... Then I see the ODATA packet sent by the first PGM message

Re: [zeromq-dev] Loosing first message with PGM

2011-09-29 Thread Emmanuel TAUREL
Re, On 29/09/2011 17:29, Emmanuel TAUREL wrote: Hi, On 29/09/2011 15:18, Steven McCoy wrote: On 29 September 2011 04:26, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: I am able to manually trigger the PGM publisher to publish 1 multipart message. ... Then

Re: [zeromq-dev] Loosing first message with PGM

2011-09-29 Thread Emmanuel Taurel
Steve, Le 29/09/2011 18:20, Steven McCoy a écrit : On 29 September 2011 11:48, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: Re, On 29/09/2011 17:29, Emmanuel TAUREL wrote: Hi, On 29/09/2011 15:18, Steven McCoy wrote: On 29 September 2011 04:26, Emmanu

[zeromq-dev] ZMQ_RATE

2011-10-03 Thread Emmanuel TAUREL
slow ZMQ_RATE)? Thank's for your answers Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] ZMQ_RATE

2011-10-03 Thread Emmanuel TAUREL
On 03/10/2011 17:02, Steven McCoy wrote: On 3 October 2011 10:19, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: Hello all, I am experimenting PUB/SUB sockets with PGM protocol. I am actually using with the ZMQ_RATE socket option. My understanding of this parameter wa

Re: [zeromq-dev] ZMQ_RATE

2011-10-03 Thread Emmanuel TAUREL
On 03/10/2011 17:53, Steven McCoy wrote: On 3 October 2011 11:18, Emmanuel TAUREL <mailto:tau...@esrf.fr>> wrote: On 03/10/2011 17:02, Steven McCoy wrote: On 3 October 2011 10:19, Emmanuel TAUREL mailto:tau...@esrf.fr>> wrote: Hello all, I am experi

Re: [zeromq-dev] [PATCH][ZMQ3][ZMQ4] Re-add PGM rate limiting

2011-10-04 Thread Emmanuel TAUREL
Hello all, On 04/10/2011 09:33, Martin Sustrik wrote: > On 10/03/2011 09:14 PM, Steven McCoy wrote: >> Re-add PGM rate limiting accidently lost in commit >>fcfad5682e, equivalent to commits 2ddb106& b62dd40 in >>version 2.1. Changes semantics from TXW_MAX_RATE to >>ODATA_MAX_RATE. >

[zeromq-dev] A PGM question

2011-10-05 Thread Emmanuel TAUREL
send NAK requests for packets previously sent to the host in the ODATA transmission? Is it linked to transmit / receive windows? Thank's very much for your answers Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] [PATCH][ZMQ3][ZMQ4] Re-add PGM rate limiting

2011-10-05 Thread Emmanuel TAUREL
am.c -fPIC -DPIC -o .libs/libpgm_noinst_la-histogram.o It was not the case will all previous releases. Thank's for your help Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Re: [zeromq-dev] Loosing first message with PGM

2011-10-06 Thread Emmanuel TAUREL
> > Thanks. > Martin > > On 09/29/2011 10:26 AM, Emmanuel TAUREL wrote: >> Hello all, >> >> I am using zmq 3.0.x. on Linux boxes (Ubuntu). >> I am using pub/sub pattern. >> In my application, on the publisher side, I have a publisher socket >> usi

Re: [zeromq-dev] 0MQ/3.1

2011-11-08 Thread Emmanuel TAUREL
le) But it is not that dramatic if option 2 is selected but please, once it is decided, stay with the decision! Regards Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Pub-Sub and HWM

2011-11-10 Thread Emmanuel TAUREL
Hello everybody, I would like to have a confirmation of my understanding of the HWM usage with the pub/sub framework. I see four cases when for one reason or another the subscriber is not able to read messages: 1 - There is a HWM of let's say 1000 on both publisher and subscriber Messages are

[zeromq-dev] Another question on HWM

2011-11-14 Thread Emmanuel TAUREL
Hello all, I am using the PUB/SUB pattern I have a HWM set on the PUB side but none on the SUB side. The SUB is very slow to read messages. When I look at the network exchange with wireshark, I notice that the PUB drops messages due to the HWM. But how the PUB knows that the SUB is not able to

Re: [zeromq-dev] Another question on HWM

2011-11-15 Thread Emmanuel TAUREL
7 and 287492 uS - Message 9: xxx297 and 287512 uS - Message 10: xxx297 and 287531 uS Where is my mistake? Thank's for your answer Emmanuel On 15/11/2011 09:26, Martin Sustrik wrote: > On 11/14/2011 04:38 PM, Emmanuel TAUREL wrote: > >> I am using the PUB/SUB pattern >> I ha

[zeromq-dev] First part of a multipart message

2011-11-17 Thread Emmanuel Taurel
Hello all, I am using Zmq 3.0 on a Linux box. I am using the PUB/SUB framework. My messages are multi part messages with 4 parts. In my test system, the message is sent on a human action (a mouse click) I notice that from "time to time", I am loosing the first part of the multi part message. Wi

Re: [zeromq-dev] First part of a multipart message

2011-11-17 Thread Emmanuel Taurel
Hi Chuck, Thank's for your fast answer Quoting Chuck Remes : > > On Nov 17, 2011, at 11:31 AM, Emmanuel Taurel wrote: > >> Hello all, >> >> I am using Zmq 3.0 on a Linux box. >> I am using the PUB/SUB framework. >> My messages are multi part mess

Re: [zeromq-dev] First part of a multipart message

2011-11-17 Thread Emmanuel TAUREL
Hi, On 17/11/2011 19:09, Chuck Remes wrote: > On Nov 17, 2011, at 12:05 PM, Emmanuel Taurel wrote: > >> But in my case it's the PUB which binds and the SUB which connects. >> I have the feeling that these bugs concern the other way round when the >> PUB connects a

[zeromq-dev] Why ZMQ drop messages?

2011-11-23 Thread Emmanuel TAUREL
Hello all, I am using ZMQ 3.0.x on linux boxes with the PUB/SUB pattern. I have only one subscriber which is very slow. It needs 1 second every time a message is read. I have a HWM on the publisher side set to 10. In my message, I have a counter which is incremented for each message. My message

Re: [zeromq-dev] [PATCH] MSVC10 project files

2011-11-25 Thread Emmanuel TAUREL
Hello all, On 25/11/2011 09:50, Mikko Koppanen wrote: > On Fri, Nov 25, 2011 at 7:53 AM, Martin Sustrik wrote: >> What do you think about moving 3.1 to MSVC2010 and leaving 2.1 as is? > Hi, > > for 3.1 this is fine, as it's not released as stable yet. Would it be > beneficial to add static builds

Re: [zeromq-dev] Why ZMQ drop messages?

2011-11-25 Thread Emmanuel TAUREL
Hello everybody, I have made further studies on the following point that I have recently sent on this list. On 23/11/2011 17:16, Emmanuel TAUREL wrote: > Hello all, > > I am using ZMQ 3.0.x on linux boxes with the PUB/SUB pattern. > I have only one subscriber which is very slow

Re: [zeromq-dev] Why ZMQ drop messages?

2011-11-25 Thread Emmanuel TAUREL
Hi Chuck, On 25/11/2011 15:50, Chuck Remes wrote: >>> Hello all, >>> >>> I am using ZMQ 3.0.x on linux boxes with the PUB/SUB pattern. >>> I have only one subscriber which is very slow. It needs 1 second every >>> time a message is read. >>> I have a HWM on the publisher side set to 10. >>> >>> I

[zeromq-dev] Some clarifications about HWM for pub/sub

2011-11-28 Thread Emmanuel TAUREL
Hello all, I am using ZMQ 3.0.x on linux boxes with the PUB/SUB pattern. I have one publisher and two subscribers. I have a HWM set on the publisher to 50 and no HWM on the subscribers. When the HWM limit is reached on the publisher, following messages are dropped on the publisher side and both

Re: [zeromq-dev] Some clarifications about HWM for pub/sub

2011-11-28 Thread Emmanuel TAUREL
Hi Chuck, On 28/11/2011 17:26, Chuck Remes wrote: > On Nov 28, 2011, at 10:19 AM, Emmanuel TAUREL wrote: > >> Hello all, >> >> I am using ZMQ 3.0.x on linux boxes with the PUB/SUB pattern. >> I have one publisher and two subscribers. I have a HWM set on the publish

Re: [zeromq-dev] Fwd: Some clarifications about HWM for pub/sub

2011-11-29 Thread Emmanuel TAUREL
Hi Chuck, Sorry for sending the link with the test software privately to you, I hit the wrong button in my mailer. > I ran this on my box and confirmed your findings. I also rewrote it in > Ruby (my language of choice) and confirmed it again. > > I tested with 2.1.10, master 2.1 (2.1.11) and 3.

[zeromq-dev] pub/sub HWM studies

2011-11-30 Thread Emmanuel TAUREL
Hello all, Just to keep the list informed, I have created 3 bug reports related to PUB/SUB HWM management https://zeromq.jira.com/browse/LIBZMQ-286 is about HWM management on pub side (related to mail thread "Why ZMQ drop messages?") https://zeromq.jira.com/browse/LIBZMQ-287 is about HWM manage

Re: [zeromq-dev] PUB/SUB pattern, rate control and backpressure

2011-12-12 Thread Emmanuel TAUREL
Hi Martin, Talking about HWM, I would like to have some precisions on how ZMQ (release 3) actually works If I read the zmq_setsockopt man page, in the chapter about ZMQ_SNDHW, it is written: The high water mark is a hard limit on the maximum number of outstanding messages 0MQ shall qu

Re: [zeromq-dev] PUB/SUB pattern, rate control and backpressure

2011-12-15 Thread Emmanuel TAUREL
Hello all, On 10/12/2011 12:08, Martin Sustrik wrote: > My proposal thus is to use rate control to control the behaviour. For > example, user can set ZMQ_RATE to 10Mb/s and is expected to ensure that > the network is capable of that load. > > 1. The I/O thread will extract messages from the pipe a

[zeromq-dev] ZMQ 3.1.x as stable release?

2012-01-24 Thread Emmanuel TAUREL
Hello everybody, Is there any plan, roadmap or date related to ZMQ 3.1.x becoming the stable ZMQ release? Thank's for your answers Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/lis

[zeromq-dev] ZMQ 3.1 and jzmq compatibility

2012-01-31 Thread Emmanuel TAUREL
Hello all, I am using ZMQ 3.1 for C++ publishers. Some of my subscribers are using Java and therefore jzmq using ZMQ 2.1.11. As far as I know, ZMQ 3.1 is network compatible with ZMQ 2.1.11 and the communication between publishers and subscribers should be fine. Is this true? I assume it is but

[zeromq-dev] xpub.cpp line 82

2012-02-03 Thread Emmanuel TAUREL
Hello all, Just for your information. I have downloaded one hor ago libzmq from github. The compilation fails due to line 82 of file xpub.xpp. CXXlibzmq_la-xpub.lo xpub.cpp: In member function 'virtual void zmq::xpub_t::xread_activated(zmq::pipe_t*)': xpub.cpp:83:5: error: expected ';' be

Re: [zeromq-dev] Getting 0MQ/3.1 to stable status

2012-02-20 Thread Emmanuel TAUREL
of them For our usage of ZMQ, we would be very pleased if issues - LIBZMQ-268 - LIBZMQ-283 - LIBZMQ-286 could be fixed before ZMQ 3.1 becomes the stable release. They are annoying for our cases. Thank's very much for your work. Emmanuel Taurel

Re: [zeromq-dev] Getting 0MQ/3.1 to stable status

2012-02-20 Thread Emmanuel TAUREL
Hello Peter, On 20/02/2012 17:21, Pieter Hintjens wrote: > On Mon, Feb 20, 2012 at 9:24 AM, Pieter Hintjens wrote: >> On Mon, Feb 20, 2012 at 6:49 AM, Emmanuel TAUREL wrote: >>> - LIBZMQ-268 >>> - LIBZMQ-283 > These same to be the same problem? Not exactly. In L

[zeromq-dev] ZMQ reconnection

2012-03-14 Thread Emmanuel TAUREL
Hello all, I am using ZMQ 3.1 and the PUB-SUB communication pattern. Is there a way to disable the ZMQ automatic reconnection feature? I know it exist the socket options RECONNECT_IVL and RECONNECT_IVL_MAX but according to my knowledge, they simply allow to delay ZMQ reconnection attempts. In o

Re: [zeromq-dev] ZMQ reconnection

2012-03-15 Thread Emmanuel TAUREL
Hello all, On 14/03/2012 14:13, Pieter Hintjens wrote: > On Wed, Mar 14, 2012 at 4:52 AM, Emmanuel TAUREL wrote: > >> I am using ZMQ 3.1 and the PUB-SUB communication pattern. >> Is there a way to disable the ZMQ automatic reconnection feature? > There isn't one, but

[zeromq-dev] Assertion in pgm_socket.cpp file line 137

2012-06-08 Thread Emmanuel TAUREL
e res variable could be different than NULL and therefore trigging the assertion Am I wrong? Thank's for your answer Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Assertion failed

2010-04-07 Thread Emmanuel TAUREL
can) to 5 different subscribers running on another host. It happened on one of my subscriber after it has received 36 messages. Is there someone in this list also experimenting this problem! If yes, is there any solution? Thank's for your answers Regards Emmanuel T

Re: [zeromq-dev] Assertion failed

2010-04-08 Thread Emmanuel TAUREL
to my network, the five processes should have been impacted, no? Do I miss something? Regards Emmanuel Taurel On 07/04/2010 18:20, Martin Sustrik wrote: > Hi Emmanuel, > > >> I am currently testing ZeroMQ 2.0.6 running on two Ubuntu 9.04 box. >> I am using PUB/SUB w

Re: [zeromq-dev] Assertion failed

2010-04-08 Thread Emmanuel TAUREL
Hello, I am re-sending this mail a new time but I have removed the attachment. I was not aware that attachment are not allowed. Sorry for this. Regards Emmanuel Taurel - Original e-mail: Hi Martin, Thank&#

[zeromq-dev] epgm protocol question

2010-04-13 Thread Emmanuel TAUREL
have been lost by the switch between the 2 hosts. But as far as I have understood PGM, it is a reliable protocol and this case should be covered by some re-transmission which apparently in my case is only half-done. Are you aware of some similar cases? Thank's for your answers Regards Emman

Re: [zeromq-dev] epgm protocol question

2010-04-13 Thread Emmanuel TAUREL
k IO Graph Best regards Emmanuel On 13/04/2010 14:04, Martin Sustrik wrote: > Emmanuel TAUREL wrote: > >> Hello all, >> >> I am using zmq 2.0.6 on Ubuntu 9.04 boxes. >> I am using PUB/SUB with the epgm protocol. I have one publisher on host >> A and 2 su

Re: [zeromq-dev] epgm protocol question

2010-04-13 Thread Emmanuel TAUREL
Martin, I am sorry but I don't understand. The unit of this ZMQ_RATE is kilobits/seconds. Therefore 2 means around 20 Mbits/seconds. My link is 100 Mbits/second. This means that I am using one fifth of the available bandwidth. Where is my mistake? Regards Emmanuel On 13/04/2010 14:46, Mar

Re: [zeromq-dev] epgm protocol question

2010-04-13 Thread Emmanuel TAUREL
On 13/04/2010 15:40, Martin Lucina wrote: > steven.mc...@miru.hk said: > >> On 13 April 2010 21:30, Martin Lucina wrote: >> >> In my opinion the correct way to do this is to have OpenPGM >> reserve e.g. 5% of the requested data rate for RDATA by default, with >> the >> option t

[zeromq-dev] Another epgm question

2010-04-14 Thread Emmanuel TAUREL
have saved the wireshark data in a file in case it could be of any interest. Is there someone aware of this kind of problems? Best regards Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] app_threads in zmq_init() call

2010-04-16 Thread Emmanuel TAUREL
5556 while in the example code it's port number . Regards Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org http://lists.zeromq.org/mailman/listinfo/zeromq-dev

[zeromq-dev] Proposal regarding PGM and ZMQ

2010-05-14 Thread Emmanuel Taurel
sible that ZMQ layer gives to the OpenPGM layer a bandwidth value increased by a factor of around 5 % to automatically have bandwidth available for RDATA pcakets? This could make user life easier. It's just a proposal Have a nice week-end Emmanuel Taurel _

Re: [zeromq-dev] Proposal regarding PGM and ZMQ

2010-05-14 Thread Emmanuel Taurel
Quoting Martin Sustrik : > Martin Sustrik wrote: > >> Yes. Something like this should be done. The question is what's the >> optimal algorithm given that on faulty links the portion on bandwidth >> needed for RDATA may be higher than 5% while with say IB it would be >> minimal... > > Thinking abou

[zeromq-dev] Backwards compatibility?

2010-05-25 Thread Emmanuel TAUREL
specific LWM change but rather about releases compatibility. Is there any rules regarding compatibility between ZMQ releases (minor and/or major)? Thank's for your answers Emmanuel Taurel ___ zeromq-dev mailing list zeromq-dev@lists.zeromq.org

Re: [zeromq-dev] ZMQ_MCAST_LOOP: Control multicast loopback

2010-06-24 Thread Emmanuel TAUREL
Hello all, On 24/06/2010 14:34, Martin Sustrik wrote: >> A side note, the more advanced functionality being developed in OpenPGM >> 5 such as congestion control completely fails on multicast loop. >> > AFAICS the message is: "Never use multicast loopback." > > If so, wouldn't it make sense t