Benchmarks

Hi,

Some more benchmarks of Nginx compared to Apache, Cherokee, Lighttpd and
G-WAN. Non keep-alive so far. If you have any pointers about how to
improve further, please let me know.

Regards,
Fredrik

thanks for sharing, trying installing weighttp myself but fails to
install on centos 6.0 64bit

[root@centos6 weighttp-master]# yum list libevent*
Loaded plugins: fastestmirror, refresh-packagekit
Loading mirror speeds from cached hostfile

[root@centos6 weighttp-master]# python -V
Python 2.7.2

[root@centos6 weighttp-master]# ./waf configure -vv
Checking for program gcc,cc : ok /usr/bin/gcc
Checking for program cpp : ok /usr/bin/cpp
Checking for program ar : ok /usr/bin/ar
Checking for program ranlib : ok /usr/bin/ranlib
Checking for gcc : ok
Checking for library ev : 16:29:51 runner system
command → [‘/usr/bin/gcc’, ‘-std=gnu99’, ‘-Wall’, ‘-Wshadow’, ‘-W’,
‘-pedantic’, ‘-g’, ‘-g2’, ‘-O2’, ‘-Wmissing-declarations’,
‘-Wdeclaration-after-statement’, ‘-Wno-pointer-sign’, ‘-Wcast-align’,
‘-Winline’, ‘-Wsign-compare’, ‘-Wnested-externs’, ‘-Wpointer-arith’,
‘-Wbad-function-cast’, ‘-Wmissing-prototypes’, ‘-fPIC’,
‘-fno-strict-aliasing’, ‘…/test.c’, ‘-c’, ‘-o’, ‘default/test_1.o’]
16:29:51 runner system command → [‘/usr/bin/gcc’, ‘default/test_1.o’,
‘-o’,
‘/usr/local/src/weighttp-master/build/.conf_check_0/testbuild/default/testprog’,
‘-Wl,-Bdynamic’, ‘-lev’]
not found
error: Traceback (most recent call last):
File
“/usr/local/src/weighttp-master/.waf-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Tools/config_c.py”,
line 348, in run_c_code
bld.compile()
File
“/usr/local/src/weighttp-master/.waf-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Build.py”,
line 169, in compile
raise BuildError(self,self.task_manager.tasks_done)
BuildError: Build failed
→ task failed (err #1):
{task: cc_link test_1.o → testprog}

File “./waf”, line 148, in
Scripting.prepare(t, cwd, VERSION, wafdir)
File
“/usr/local/src/weighttp-master/.waf-1.5.9-d1e0349fc8937631a656fb8ea7e99063/wafadmin/Scripting.py”,
line 104, in prepare
error(str(e))

any ideas or tips ?

Posted at Nginx Forum:

On Sat, Oct 08, 2011 at 12:48:25PM +0200, Fredrik Widlund wrote:

Hi,

Some more benchmarks of Nginx compared to Apache, Cherokee, Lighttpd and G-WAN.
Non keep-alive so far. If you have any pointers about how to improve further,
please let me know.

Benchmarking the benchmarks (part 2) | lonewolfer

The worker_cpu_affinity is broken.

Try to set

events {
accept_mutex off;

}


Igor S.