[nox-dev] dev/destiny-fast doesn't respond
Hi, I'm trying to reproduce the results posted by David at here[1]. For this purpose, I tried to compile and run dev/destiny-fast as follows. --8---cut here---start-8--- $ mkdir -p ~/usr/src $ cd ~/usr/src $ git clone git://noxrepo.org/nox $ cd nox $ git checkout origin/dev/destiny-fast Note: checking out 'origin/dev/destiny-fast'. ... HEAD is now at e9c3da6... * removed io_service_pool references in src/lib/Makefile.am $ ./boot.sh $ mkdir build $ cd build $ ../configure --enable-ndebug --with-python=no --prefix=$HOME/usr $ make -j 8 # nox-dependencies package was missing # libboost-thread-dev, I needed to install # that manually. $ make install # I needed to replace the occurence of # $(PYTHON) in build/Makefile:install-exec-hook # with python. $ cd $ export LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.0 $ nox_core -i ptcp:6633 switch -l ~/usr/bin/nox -t 1 NOX 0.9.1~full~beta (nox_core), compiled Dec 27 2011 15:03:24 Compiled with OpenFlow 0x01 --8---cut here---end---8--- Ok, so far so good. Now I start the cbench and voila: --8---cut here---start-8--- $ export LD_PRELOAD=/usr/lib/libtcmalloc_minimal.so.0 vyazici@odun:~$ cbench -c localhost -p 6633 -m 1 -l 10 -s 32 -M 100 -t cbench: controller benchmarking tool running in mode 'throughput' connecting to controller at localhost:6633 faking 32 switches :: 10 tests each; 1000 ms per test with 100 unique source MACs per switch starting test with 0 ms delay after features_reply ignoring first 1 warmup and last 0 cooldown loops debugging info is off 32 switches: fmods/sec: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 total = 0.00 per ms 32 switches: fmods/sec: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 total = 0.00 per ms ... --8---cut here---end---8--- What might I be missing? Why doesn't NOX respond to incoming requests? Any helps will be appreciated. Best. [1] http://www.openflow.org/wk/index.php/Controller_Performance_Comparisons ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev
Re: [nox-dev] dev/destiny-fast doesn't respond
Looks like you are already seeing ~3M packet-ins per sec (3k per msec = 3M per sec). Amin On Tue, Dec 27, 2011 at 2:05 PM, Volkan YAZICI volkan.yaz...@gmail.com wrote: Thanks David! You are right, removing tcmalloc for nox_core solved the problem. --8---cut here---start-8--- $ dpkg -l | grep tcmalloc ii libtcmalloc-mi 1.5-1 an efficient thread-caching malloc $ nox_core -i ptcp:6633 switch -l ~/usr/bin/nox -t 7 $ cbench -c localhost -p 6633 -m 1 -l 10 -s 32 -M 100 -t cbench: controller benchmarking tool running in mode 'throughput' connecting to controller at localhost:6633 faking 32 switches :: 10 tests each; 1 ms per test with 100 unique source MACs per switch starting test with 0 ms delay after features_reply ignoring first 1 warmup and last 0 cooldown loops debugging info is off 32 switches: fmods/sec: 630907 ... total = 1977.609403 per ms 32 switches: fmods/sec: 799125 ... total = 2558.905526 per ms 32 switches: fmods/sec: 903720 ... total = 2901.221645 per ms 32 switches: fmods/sec: 900237 ... total = 2868.801376 per ms 32 switches: fmods/sec: 875842 ... total = 2825.217623 per ms ... --8---cut here---end---8--- This is a reasonably powerful machine, that is, --8---cut here---start-8--- $ cat /etc/debian_version 6.0.3 $ uname -a Linux odun 2.6.32-5-amd64 #1 SMP Thu Nov 3 03:41:26 UTC 2011 x86_64 GNU/Linux $ grep ^processor /proc/cpuinfo | wc -l 8 $ grep ^model name /proc/cpuinfo | head -n 1 model name : Intel(R) Xeon(R) CPU E5606 @ 2.13GHz --8---cut here---end---8--- I still couldn't understand how do you get the results at million level in your comparisons. Am I missing something? What should I suspect? Can tcmalloc cause such a 1000x performance impact? Best. On Tue, 27 Dec 2011 10:44:39 -0800, David Erickson writes: What tcmalloc version do you have, and what OS? Try launching without tcmalloc, on some combinations NOX would just hang when a switch connects and you are using tcmalloc. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev