Welcome! Log In Create A New Profile

Advanced

Re: nginx 1.2.0 is slower than 1.1.12?

All files from this thread

File Name File Size   Posted by Date  
nginx-1.1.19.jpg 29.8 KB open | download deltay 04/27/2012 Read message
Maxim Dounin
April 27, 2012 10:02AM
Hello!

On Fri, Apr 27, 2012 at 09:08:45PM +0800, Delta Yeh wrote:

> 在 2012年4月27日 下午8:22,Maxim Dounin <mdounin@mdounin.ru> 写道:
> > 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?
> >
>
> It's an openresty like nginx bundle ,consist of modules for reverse proxy only.
> No thirdparty patch applied except the one "proxy_bind support variable".
> Maxim, I remember it is from you, :)
>
> The major 2 in version string means upstream keepalive feaure only .

Again: it's really good idea to test vanilla nginx, without any
patches and 3rd party modules, especially when debugging such
subtle problems. Even trivial patch might cause unspecified
behaviour e.g. if it applied incorrectly due to context code
changes. And the similar thing applies to 3rd party modules.

> >> 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.
> >
>
> The shell script to build nginx is :

I need a gcc command as shown during "make", like this:

gcc -c -pipe -O -W -Wall -Wpointer-arith -Wno-unused-parameter -Wunused-function -Wunused-variable -Wunused-value -Werror -g -I src/core -I src/event -I src/event/modules -I src/os/unix -I objs \
-o objs/src/core/nginx.o \
src/core/nginx.c

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

nginx 1.2.0 is slower than 1.1.12?

deltay April 26, 2012 05:52AM

Re: nginx 1.2.0 is slower than 1.1.12?

Valentin V. Bartenev April 26, 2012 06:36AM

Re: nginx 1.2.0 is slower than 1.1.12?

deltay April 26, 2012 10:10AM

Re: nginx 1.2.0 is slower than 1.1.12?

Valentin V. Bartenev April 26, 2012 10:28AM

Re: nginx 1.2.0 is slower than 1.1.12?

deltay April 27, 2012 03:14AM

Re: nginx 1.2.0 is slower than 1.1.12?

Sergey Budnevitch April 27, 2012 04:10AM

Re: nginx 1.2.0 is slower than 1.1.12? Attachments

deltay April 27, 2012 04:44AM

Re: nginx 1.2.0 is slower than 1.1.12?

deltay April 27, 2012 06:52AM

Re: nginx 1.2.0 is slower than 1.1.12?

Maxim Dounin April 27, 2012 06:58AM

Re: nginx 1.2.0 is slower than 1.1.12?

deltay April 27, 2012 07:08AM

Re: nginx 1.2.0 is slower than 1.1.12?

Maxim Dounin April 27, 2012 08:24AM

Re: nginx 1.2.0 is slower than 1.1.12?

deltay April 27, 2012 09:10AM

Re: nginx 1.2.0 is slower than 1.1.12?

Maxim Dounin April 27, 2012 10:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 235
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready