You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Marco Spinetti <m....@pisa.iol.it> on 2006/03/02 17:35:57 UTC

Re: [apache-modules] Modules architecture diff

Any hints?


Marco Spinetti wrote:

> Hi all,
> I'm experimentig some strange performance results for my modules and I 
> hope you can explain me why.
> I made a test between two modules architecture: my modules have to 
> connect to variuos external sources simultaneously. So I tries these 
> two architectures:
>
> 1) No Blocking IO: I 'm using apr poll (apr_pollset_poll)
> 2) Multi threads: I'im using apr threads;
>
> I'm using apache 1.3.34 and my host is RHEL 3 (Linux version 
> 2.4.21-9.0.3.ELsmp) with 2 CPU and 2GB memory.
>
> I was expecting that multi-threads architecture was better because 
> with apr_poll you read from opened descriptors a lot of times.
> In architecture 2) I'm using apr pool for all my memory allocations, 
> while in the first architecture I'm using apache pool too.
>
> Analyzing (with gsl) the distribution, the mean, variance and standard 
> deviation of reply time the No Blocking IO is much better: in the 
> multi-threads architecture the variance is greater by a factor of 10.
>
> Any ideas about these differences?
> Were my expectations wrong?
>
> Thanks for the support
>
> Bye
>
> --Marco
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
> For additional commands, e-mail: apache-modules-help@covalent.net
>
>

Re: [apache-modules] Win64 Port of HTTPd

Posted by "William A. Rowe, Jr." <wr...@rowe-clan.net>.
-bing swen- wrote:
> Hi,
>     Sorry that I didn't make it clear. With VC++2005, we could make a WIN64
> build by copying the Win32 project settings, with lots of warnings. So I'm
> wondering how long we can expect a "clean" and "native" (x64 API) WIN64
> porting.

To build httpd-2 64-bit clean, you need 64-bit clean APR and APR-UTIL.  Those
have been in the works almost 3 years, although I've never had a Win64 install
to actually test the changes.

The next version of apr 1.3, and perhaps 1.2.3, will build 64bit clean.

Then we have apr-util, and it has the subdependencies of apr-iconv and libexpat.
That project I've only just started, although it's much cleaner now.

Finally before building httpd we also need pcre 64 bit clean, and I'm working
on that before 2.2.1 if I'm very lucky.

Note that you shouldn't expect httpd-2.0 to ever build 64 bit clean.  Personally
I'm not investing the energy to 'touching up' apr-0.9 - it's at the end of it's
life cycle.  So most of the work is on apr trunk, and httpd trunk, with a desire
to backport the safe changes to apr-1.2.x branch and httpd-2.2 branch.

Good luck on your efforts!

Bill