Tuning ØMQ

This page provides information on tuning ØMQ to make it run better and faster on your operating system. It's a work in progress - if you have tips, join this site and edit this page!

Linux

  • The Ubuntu default file limit per process is 1024 (ulimit -n to show). Raise it by editing /etc/security/limits.conf and add "* - nofile 10000", or some other high value. Logout and login to affect the change.
  • Installing on a naive Ubuntu server (v 11.10 in this case), running ./configure raises an error that it can not find install-sh,install.sh,… . These commands enabled ./configure and make to complete successfully:
$ libtoolize --force
$ aclocal
$ autoheader
$ automake --force-missing --add-missing
$ autoconf
$ ./configure

OS X

  • Mac OSX uses DYLD_LIBRARY_PATH instead of unix LD_LIBRARY_PATH. You may also want to take a good look at https://github.com/zeromq/jzmq/issues/29.
  • The default file limit per process is 256. Raise it by running ulimit -n 1200 for bash, or in tcsh run limit descriptors 1200

FreeBSD

No tips yet Be the first to add one.

Windows

  • Default FD_SETSIZE is 1024 in project. This will limit large-scale simulations. Increase this in the project. Recommended value would be 4096. E.g.
-DFD_SETSIZE=4096

AIX

Building on AIX requires the standard complications: being able to ./configure and make. This alone will present a challenge given that it's AIX in the first place.

Build Notes: Requirements include: automake, make, autoconf, m4, tar, libtool, gcc, g++, and possibly IBM's compiler XLC. Your mileage may vary. If you have a build script, please blog about it or make a note here, as this is important info for the rest of us.

OSL running on MCST-R CPU (Rus: ОС «Эльбрус»)

Autodetection of poller on OSL doesn't work. You need to specify it during configure phase:

./configure --with-poller=poll

No tips yet Be the first to add one.

Add your OS here

No tips yet Be the first to add one.