Sunday July 3, 2011

[Time] NameMessage
[11:30] Canuck178 Hi guys. I've been trying to install the java binding for use on ubuntu. I've gone thro the instructions on, and now am facing a probloem when I try the "Example command line for running a Java test program on Linux" || I get an error msg: "Exception in thread "main" java.lang.NoClassDefFoundError: tcp://127/0/0/1:5555 Caused by: java.lang.ClassNotFoundException: tcp:.. "
[11:31] Canuck178 I think it maybe due to the fact that the classpath for jzmq is not right.
[11:31] Canuck178 I've tried searching for "jzmq" on ubuntu, but there are no results.
[11:32] Canuck178 Could someone kindly help me out and tell me where the jzmq lib is installed in the linux system?
[11:39] Canuck178 Hello? anybody yhere to answer my above question ^ ? Help is kindly appreciated :)
[11:41] CIA-32 libzmq: 03Martin Sustrik 07master * r7c0c798 10/ (7 files in 2 dirs): Command are now stored in ypipes instead of in socketpairs ...
[11:42] sustrik Canuck178: i would guess it's in /usr/local/lib by default
[11:46] CIA-32 libzmq: 03Martin Sustrik 07master * rda26134 10/ (tests/test_pair_inproc.cpp tests/test_reqrep_inproc.cpp): Inproc tests need no I/O threads ...
[11:49] Canuck178 sustrik: unfortunately, only the is in /usr/local/lib, not jzmq.
[11:49] Canuck178 btw, I'm trying out the example of "$ java -Djava.library.path=/usr/local/lib -classpath /home/user/zeromq/libjzmq/:./local_lat tcp:// 1 100 "
[11:50] Canuck178 This is the example shown on the page.
[11:50] sustrik why nor scan the HD for libjzmq?
[12:06] Canuck178 i've searched for libjzmq - its nowhere to be found :(
[12:12] CIA-32 libzmq: 03Martin Sustrik 07master * rc687c7e 10/ (builds/msvc/libzmq/libzmq.vcproj src/signaler.cpp): Fix MSVC build ...
[12:48] sustrik mikko: hi
[13:33] CIA-32 libzmq: 03Martin Sustrik 07master * r9a9a0cf 10/ (src/signaler.cpp src/signaler.hpp): eventfd implementation of the signaler ...
[13:33] CIA-32 libzmq: 03Martin Sustrik 07master * r6ae1be1 10/ src/signaler.cpp : Race condition in eventfd signaler fixed ...
[13:33] CIA-32 libzmq: 03Martin Sustrik 07master * r8fb9d3c 10/ (builds/msvc/libzmq/libzmq.vcproj src/signaler.cpp): Merge branch 'master' of -
[13:49] mikko sustrik: hi
[13:50] sustrik hi mikko
[13:50] sustrik i've just added support for eventfd into master
[13:50] sustrik however, i am not sure about the autotools part of it
[13:50] sustrik this is how it was done back in 2.0.6:
[13:50] mikko you mean checks if it's available on the platform?
[13:50] sustrik yes
[13:51] sustrik
[13:51] sustrik i guess lot of that is not needed anymore
[13:53] mikko you can even skip ac_run_ifelse if the headers are not valid
[13:54] sustrik all i need is:
[13:55] sustrik if there's an header and --disable-eventfd is not defined then define ZMQ_HAVE_EVENTFD
[13:55] sustrik what's the minimal script to do that?
[13:55] mikko do you need/want to test the runtime as well?
[13:55] sustrik nope
[13:55] sustrik it doesn't work with cross-compilation anyway
[13:57] mikko
[13:57] mikko this might do the trick
[13:58] mikko
[13:59] sustrik ok, let me try
[14:08] sustrik ok, it looks like it's working
[14:08] sustrik thanks!
[14:09] mikko cool
[14:09] sustrik do you want to send the patch to the ml or should I?
[14:09] mikko you've been busy it seems
[14:09] mikko you can send a patch
[14:09] mikko i'm not in place to do heavy lifting atm
[14:09] sustrik yeah, this annoying mailbox assert are gone, afaics
[14:10] mikko just started holidays and over-indulged on alcohol yesterday
[14:10] mikko thats good
[14:10] sustrik no more resizing system socket buffers
[14:10] mikko i think the latency increase is acceptable
[14:10] sustrik :)
[14:10] sustrik i think so
[14:10] sustrik moreover, the eventfd patch decreases latency by 3-4 us
[14:10] sustrik which compensates for 0.5us drop
[14:10] sustrik at least on linux
[14:11] mikko that's pretty nice
[14:13] CIA-32 libzmq: 03Martin Sustrik 07master * r8d96036 10/ : Build system checks for presence of eventfd.h header ...
[19:54] meatpile hi, quick question: one of the introduction videos by Mr Hintjens says that zeromq is not ready for web deployment yet because of asserting bugs or some such? As in easy to crash a server? is this still the case or how old is that video?
[20:06] sustrik it's still the case
[20:06] sustrik some problems have been fixed
[20:07] sustrik but there are definitely some remaining
[20:07] sustrik no large-scale fuzzing was done
[20:07] sustrik the video is from february iirc
[20:13] meatpile thanks for the info