[zeromq-dev] autoconf troubles, and perftest problems.
Martin Sustrik
sustrik at fastmq.com
Tue May 5 10:12:54 CEST 2009
Omri,
> Hi, all. I am trying to build a store&forward daemon using 0MQ & Python
> , and am just learning the ropes.
>
> I have ZMQ 0.6 on a Centos 5 system with Python 2.6. When I run the
> performance tests, I get this:
>
>
> [omri at gort1 zmq]$ python py_remote_lat.py localhost eth0 eth0 1 1024
> [omri at gort1 zmq]$
>
> [omri at gort1 zmq]$ python py_local_lat.py localhost 1 1024
> message size: 1 [B]
> roundtrip count: 1024
> Your average latency is 115 [us]
>
> But up the message size, and this happens:
>
> [omri at gort1 zmq]$ python py_remote_lat.py localhost eth0 eth0 10 1024
> [omri at gort1 zmq]$ python py_local_lat.py localhost 10 1024
> message size: 10 [B]
> roundtrip count: 1024
> Traceback (most recent call last):
> File "py_local_lat.py", line 65, in <module>
> main ()
> File "py_local_lat.py", line 57, in main
> assert msg_size == message_size
> AssertionError
>
> For some reason the incoming messages remain one byte long.
This is a known problem. We've accidentally packaged incorrect python
perf tests with version 0.6. Here's the thread discussing the issue.
Correct perf tests are attached:
http://lists.zeromq.org/pipermail/zeromq-dev/2009-April/000677.html
Sorry for the trouble!
> To look at it further, I checked out the repository, but now it's
> configure that
> gives me grief:
>
> $ ./configure --with-python --with-gnuld --libdir=/usr/local/lib64
> --with-amqp --with-c --with-java --with-sctp
>
> [...]
> checking ifaddrs.h presence... yes
> checking for ifaddrs.h... yes
> checking for pkg-config... yes
> ./configure: line 17483: syntax error near unexpected token `SDL,'
> ./configure: line 17483: ` PKG_CHECK_MODULES(SDL, sdl)'
CentOS 5 has old version of pkgconfig which doesn't define
PKG_CHECK_MODULES macro. We are using version 0.22 which works fine.
HTH
Martin
More information about the zeromq-dev
mailing list