Forum: NGINX I hope the codes can compiled under MingW

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
郭振立 (Guest)
on 2009-02-17 18:36
(Received via mailing list)
Subject: I hope the codes can compiled under MingWDate: Wed, 18 Feb 2009
00:06:15 +0800

Cause MingW will compile the codes to native banary,I hope some day I
can get this kind of code.I think it's better than the one compiled
under Cygwin.
Igor S. (Guest)
on 2009-02-17 19:56
(Received via mailing list)
On Wed, Feb 18, 2009 at 12:16:47AM +0800, ?????? wrote:

> Cause MingW will compile the codes to native banary,I hope some day I can get this kind 
of code.I think it's better than the one compiled under Cygwin.

I have non-public and unready for production Win32 sources,
they are built by MSVC 6/7/8, Borland C 5.5, and OpenWatcom.
Now I use this for warning testing only, so I did not create
a build procedure for MinGW as various gcc versions are available on
Unix.
郭振立 (Guest)
on 2009-02-18 04:07
(Received via mailing list)
> Date: Tue, 17 Feb 2009 19:32:54 +0300> From: removed_email_address@domain.invalid> To: 
removed_email_address@domain.invalid> Subject: Re: I hope the codes can compiled under 
MingW> > On Wed, Feb 18, 2009 at 12:16:47AM +0800, ?????? wrote:> > > Cause MingW will 
compile the codes to native binary,I hope some day I can get this kind of codes.I think 
it's better than the one compiled under Cygwin.> > I have non-public and unready for 
production Win32 sources,> they are built by MSVC 6/7/8, Borland C 5.5, and OpenWatcom.> 
Now I use this for warning testing only, so I did not create> a build procedure for MinGW 
as various gcc versions are available on Unix.> > > -- > Igor S.> http://sysoev.ru/en/>
That's sound like good! But I feel that MinGW/gcc may make something
different than MSVC/Borland C and others.
I think supporting and maintaining the codes for MinGW/gcc is more
easier than for MSVC/Borland C and others.
I'd tried to compile nginx under MinGW and found that I had to change so
much codes to fit MinGW's lack of included headers. I think it's easy to
fixed on you side.
I think that binaries compiled by MinGW/gcc is pretty similar with
MSVC/Borland C and others compiled, because they all are Windows native
binaries.
As you see, now many opensource projects are planned to support
compiling under MinGW/gcc but not MSVC/Borland C and others.
郭振立 (Guest)
on 2009-02-19 08:29
(Received via mailing list)
I just take some time to do it for fun.

================================================

Server Side:
A notebook, Celeron CPU 1.06GHz, SD-RAM 256Mb,
Windows XP SP2, Nginx 0.7.35 under Cygwin 1.7.0 compiled by gcc 4.4
In nginx.conf: worker_processes  5; worker_connections  40000;

Client Side:
PC, Celeron CPU 2.40GHz, DDR-RAM 1Gb,
Windows 2003 SP2, ApacheBench 2.0.41-dev.

Internat:
10Mbps bandwith to connect each other.
================================================
C:\>ab.exe -c 64 -n 1000 http://192.168.8.3/lc365_index.html
This is ApacheBench, Version 2.0.41-dev <$Revision: 1.121.2.12 $>
apache-2.0
Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd,
http://www.zeustech.net/
Copyright (c) 1998-2002 The Apache Software Foundation,
http://www.apache.org/

Benchmarking 192.168.8.3 (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Finished 1000 requests


Server Software:        nginx/0.7.35
Server Hostname:        192.168.8.3
Server Port:            80

Document Path:          /lc365_index.html
Document Length:        112492 bytes

Concurrency Level:      64
Time taken for tests:   188.78125 seconds
Complete requests:      1000
Failed requests:        0
Write errors:           0
Total transferred:      112729000 bytes
HTML transferred:       112492000 bytes
Requests per second:    5.32 [#/sec] (mean)
Time per request:       12037.000 [ms] (mean)
Time per request:       188.078 [ms] (mean, across all concurrent
requests)
Transfer rate:          585.32 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0  101 329.2     46    3015
Processing:  3188 11771 3441.3  11453   62187
Waiting:      328 1268 911.0   1046   10765
Total:       3453 11872 3444.2  11531   62312

Percentage of the requests served within a certain time (ms)
  50%  11531
  66%  12265
  75%  13234
  80%  13734
  90%  15953
  95%  16640
  98%  18937
  99%  21312
 100%  62312 (longest request)
郭振立 (Guest)
on 2009-02-19 09:46
(Received via mailing list)
Sorry for my subject, not under MingW/GCC4.4 but under Cygwin/GCC4.4
Tiger L. (Guest)
on 2009-02-23 04:15
It seemed that the Cherokee Web Server has a windows edition builded
under MingW.But it's outdated.
See http://www.cherokee-project.com/download/windows/
This topic is locked and can not be replied to.