[zeromq-dev] is pgm transport working in alpha3?

Pavol Malosek malosek at fastmq.com
Thu Nov 5 11:52:43 CET 2009


Hello Yuri,

There was a bug/feature in OpenPGM rate limiter which could cause the problem you are describing.
http://groups.google.com/group/openpgm-dev/browse_thread/thread/2e40a5d428d9b27a

Since 0MQ II default rate for PGM is 100kb/s try to increase it
add in your remote/local_thr.cpp
//  Add your socket options here.
//  For example ZMQ_RATE, ZMQ_RECOVERY_IVL and ZMQ_MCAST_LOOP for PGM.
uint64_t pgm_rate = 50000; // 50Mb/s
int rc = zmq_setsockopt (s, ZMQ_RATE, &pgm_rate, sizeof (pgm_rate));
assert (rc == 0);
 
HTH

Yes you are right, in 0MQ II there is no zmq_server at all.

malo

  ----- Original Message ----- 
  From: Yuri Finkelstein 
  To: zeromq-dev at lists.zeromq.org 
  Sent: Wednesday, November 04, 2009 11:26 PM
  Subject: [zeromq-dev] is pgm transport working in alpha3?


  I'm trying to run the perf test using openpgm multicast and can't get it to work:

  machine 1: 

   sudo ./perf/cpp/local_thr "udp://eth0;226.0.0.1:5555" 1024 100000

  machine 2
   sudo ./perf/cpp/remote_thr "udp://eth0;226.0.0.1:5555" 1024 100000


  the remote_thr process exits silently after few seconds.

  Some time after that tje local_thr process reports:
  ** (process:32674): WARNING **: peer expired, tsi 227.186.205.113.22.215.39440


  No evidence ot packets sent or received. The same works with TCP as expected.

  I tried pgm:// with the same result.

  I do see both processes joining multicast group on their boxes using netstat -g.

  Documentation for 1.0 version says that zmq_server needs to be running in the background for multicast to work. But in 2.0 alpha there is no such process needed anymore. Right?


  What's wrong here?

  Thanks,
  Yuri



------------------------------------------------------------------------------


  _______________________________________________
  zeromq-dev mailing list
  zeromq-dev at lists.zeromq.org
  http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20091105/94e59250/attachment.htm>


More information about the zeromq-dev mailing list