[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modules
Subject: Re: [apache-modules] Modules architecture diff
From: Marco Spinetti <m.spinetti () pisa ! iol ! it>
Date: 2006-03-02 16:35:57
Message-ID: 44071EED.6020706 () pisa ! iol ! it
[Download RAW message or body]
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
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: apache-modules-unsubscribe@covalent.net
For additional commands, e-mail: apache-modules-help@covalent.net
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic