Jump to ID:
Networking

Project Home

Discussions

Wiki

Project Info
Forum Topic - ZeroMQ problems and results: (3 Items)
   
 
 
ZeroMQ problems and results  
Hi,

here are some latency numbers for a local message cycle (send->receive->send->receive):

QNX6.4 (io_pkt)
TCP:              45us
UNIX socket: 37us 

SUSE11.2 (non RT, same machine)
TCP:              17us
UNIX socket: 15us

Why is QNX6.4 network so slow ??

A remaining problem is the abort at termination of the test applications:

(gdb) c
Continuing.
usage: local_lat <bind-to> <message-size> <roundtrip-count>

Program received signal SIGSEGV, Segmentation fault.
0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/lib/libcpp.so.4
(gdb) backtrace
#0  0xb826042f in std::ios_base::~ios_base () from /usr/qnx640/target/qnx6/x86/lib/libcpp.so.4
#1  0xb84051e6 in __tcf_3 () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#2  0xb0329445 in __cxa_finalize () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#3  0xb83fb624 in _btext () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#4  0xb840c149 in _fini () from /usr/qnx640/target/qnx6/x86/lib/libecpp.so.4
#5  0xb033dae6 in fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#6  0xb033dc48 in _do_exit_fini () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#7  0xb03294e1 in _cleanup () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#8  0xb0329bd7 in exit () from /usr/qnx640/target/qnx6/x86/lib/libc.so.3
#9  0x08048830 in _start ()
(gdb)     

What is the reason for that abort??

--Armin
    
PS: ZMQ is available at http://www.zeromq.org


Re: ZeroMQ problems and results  
Hi Armin,

I'd like to raise a PR about the latency issues you've seen and maybe we can do something about them (can't make any 
promises on when but...). Could you provide us with a little more information please? E.g. what board, driver, network 
hardware, etc you've used? And I'll also need to know how to setup and compile ZMQ and how to run the test?

Regards,
/P
Re: ZeroMQ problems and results  
Hi Patrik,

I could send you the archives of the version 2.0.7  and the previous 
beta version of ZeroMQ.
What I need is your e-mail address ... please send me a mail to armin at 
steinhoff de

I did the comparison on a 1.8GHz dual core machine ... the result was 
really surprising.
Ethernet controller was the INTEL 82558 ... but the test was done 
locally on the socket interface.

Regards

--Armin


Patrik Lahti wrote:
> Hi Armin,
>
> I'd like to raise a PR about the latency issues you've seen and maybe we can do something about them (can't make any 
promises on when but...). Could you provide us with a little more information please? E.g. what board, driver, network 
hardware, etc you've used? And I'll also need to know how to setup and compile ZMQ and how to run the test?
>
> Regards,
> /P
>
>
>
>
> _______________________________________________
>
> Technology
> http://community.qnx.com/sf/go/post56518
>
>
>