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 10000 -l 10 -s 32 -M 1000000 -t > cbench: controller benchmarking tool > running in mode 'throughput' > connecting to controller at localhost:6633 > faking 32 switches :: 10 tests each; 10000 ms per test > with 1000000 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