nginx 1.2.0 is slower than 1.1.12?

Maxim Dounin mdounin at mdounin.ru
Fri Apr 27 12:22:41 UTC 2012


Hello!

On Fri, Apr 27, 2012 at 07:06:02PM +0800, Delta Yeh wrote:

> Using built-in specs.
> Target: i486-linux-gnu
> Configured with: ../src/configure -v --with-pkgversion='Debian
> 4.3.5-4' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs
> --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
> --enable-shared --enable-multiarch --enable-linker-build-id
> --with-system-zlib --libexecdir=/usr/lib --without-included-gettext
> --enable-threads=posix --enable-nls
> --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3
> --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc
> --enable-mpfr --enable-targets=all --with-tune=generic
> --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
> --target=i486-linux-gnu
> Thread model: posix
> gcc version 4.3.5 (Debian 4.3.5-4)
> 
> 
> 
> 
> ./nginx  -V
> nginx version: nginx/2.1.2.0

This doesn't looks like vanilla nginx.  Could you please test 
vanilla one, without any patches?

> built by gcc 4.3.5 (Debian 4.3.5-4)
> TLS SNI support enabled
> configure arguments: --prefix=/usr/local/nginx --pid-path=/var
> --with-cpu-opt=pentium4 --with-ipv6 --with-pcre=/usr/local/pcre
> --with-pcre-jit --without-http_autoindex_module
> --without-http_ssi_module --without-http_referer_module
> --without-http_userid_module --without-http_empty_gif_module
> --without-http_limit_req_module --without-http_browser_module
> --without-http_memcached_module --without-http_charset_module
> --without-http_split_clients_module --with-http_stub_status_module
> --with-http_ssl_module --with-http_realip_module
> --with-http_sub_module --with-http_geoip_module -

The output looks truncated (note trailing "-"), is it?

In any case, please provide sample of an actual gcc command as 
used during compilation of nginx object files, it may contain 
various flags not visible in "nginx -V" output.

Maxim Dounin

> 
> 
> 在 2012年4月27日 下午6:57,Maxim Dounin <mdounin at mdounin.ru> 写道:
> > Hello!
> >
> > On Fri, Apr 27, 2012 at 06:51:04PM +0800, Delta Yeh wrote:
> >
> >> After revert svn r4577 of 1.2.0 , I get almost the same benchmark
> >> result with 1.2.0 and 1.1.17.
> >>
> >> So it seems r4577 descrease nginx 1.2.0 performance by 30-40%( a lot
> >> of connect timeout reported by loadrunner) in my test lab.
> >>
> >> nginx box  OS is debian squeeze 32bit, CPU is intel core2 .
> >
> > Which compiler do you use?  Which compiler flags used during
> > compilation?
> >
> > Maxim Dounin
> >
> > _______________________________________________
> > nginx mailing list
> > nginx at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
> 
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list