You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Austin Gonyou <au...@coremetrics.com> on 2000/10/11 16:28:00 UTC

Apache 2.0 on multiproc vs single proc

I'm trying to cost analysis for staying with dual procs vs single proc, 
and in my initial testing, it seems to me that a single running threading 
in apache 2.0 will have limited capacity vs dual procs. Can anyone on 
this list shed some light? Also, does anyone know about ssl in apache 
2.0? No mod_ssl's seem to work with it. 
Austin

Re: Apache 2.0 on multiproc vs single proc

Posted by Greg Ames <gr...@raleigh.ibm.com>.
Sure, go for it :-)  Let us know if you find anything interesting.

Greg

Austin Gonyou wrote:
> 
> Well,
>   I'm planning to do that benchmarking. And as such, I wanted to know if
> I should even persist with wanting to, if it was an easy answer.
> Austin
>

Re: Apache 2.0 on multiproc vs single proc

Posted by Austin Gonyou <au...@coremetrics.com>.
Well,
  I'm planning to do that benchmarking. And as such, I wanted to know if 
I should even persist with wanting to, if it was an easy answer. 
Austin

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 10/11/00, 1:58:45 PM, Greg Ames <gr...@raleigh.ibm.com> wrote 
regarding Re: Apache 2.0 on multiproc vs single proc:


> Austin,

> I believe your choice of OS is going to make more of a difference on
> your Web server's ability to scale with multiple processors than Apache
> will.  I'm thinking here of the serialization (locking) in TCP/IP in the
> Linux kernels prior to 2.4.  I've heard second hand that BSD is better
> than Linux < 2.4 with respect to SMP scalability when you get up to
> around 4 processors.  But with two processors it shouldn't be a big deal
> either way.  A dual processor board with 2 500Mhz CPUs is probably more
> MIPs per buck than a single 1Ghz board + CPU.

> We added additional serialization in the Apache 2.0 threaded MPMs to
> make certain operations thread safe.  I don't think anybody has done any
> serious benchmarking to see how this new stuff in Apache 2.0 affects SMP
> scalability.

> Greg

> Austin Gonyou wrote:
> >
> > Any info on single vs dual procs? I mainly want to know if it's a path
> > that I should pursue.
> >
> > Austin

Re: Apache 2.0 on multiproc vs single proc

Posted by Greg Ames <gr...@raleigh.ibm.com>.
Austin,

I believe your choice of OS is going to make more of a difference on
your Web server's ability to scale with multiple processors than Apache
will.  I'm thinking here of the serialization (locking) in TCP/IP in the
Linux kernels prior to 2.4.  I've heard second hand that BSD is better
than Linux < 2.4 with respect to SMP scalability when you get up to
around 4 processors.  But with two processors it shouldn't be a big deal
either way.  A dual processor board with 2 500Mhz CPUs is probably more
MIPs per buck than a single 1Ghz board + CPU. 

We added additional serialization in the Apache 2.0 threaded MPMs to
make certain operations thread safe.  I don't think anybody has done any
serious benchmarking to see how this new stuff in Apache 2.0 affects SMP
scalability.

Greg

Austin Gonyou wrote:
> 
> Any info on single vs dual procs? I mainly want to know if it's a path
> that I should pursue.
> 
> Austin

Re: Apache 2.0 on multiproc vs single proc

Posted by Austin Gonyou <au...@coremetrics.com>.
Any info on single vs dual procs? I mainly want to know if it's a path 
that I should pursue.

Austin

>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 10/11/00, 10:10:34 AM, <rb...@covalent.net> wrote regarding Re: Apache 2.0 
on multiproc vs single proc:


> On Wed, 11 Oct 2000, Austin Gonyou wrote:

> > I'm trying to cost analysis for staying with dual procs vs single proc,
> > and in my initial testing, it seems to me that a single running threading
> > in apache 2.0 will have limited capacity vs dual procs. Can anyone on
> > this list shed some light? Also, does anyone know about ssl in apache
> > 2.0? No mod_ssl's seem to work with it.

> There are currently no mod_ssl's written for 2.0.  I expect that since 
the
> API is finally calming down a bit (except for input filtering) that 
people
> will start to write ssl modules soon.

> Ryan

> 
_______________________________________________________________________________
> Ryan Bloom                            rbb@apache.org
> 406 29th St.
> San Francisco, CA 94131
> 
-------------------------------------------------------------------------------

Re: Apache 2.0 on multiproc vs single proc

Posted by rb...@covalent.net.
On Wed, 11 Oct 2000, Austin Gonyou wrote:

> I'm trying to cost analysis for staying with dual procs vs single proc, 
> and in my initial testing, it seems to me that a single running threading 
> in apache 2.0 will have limited capacity vs dual procs. Can anyone on 
> this list shed some light? Also, does anyone know about ssl in apache 
> 2.0? No mod_ssl's seem to work with it. 

There are currently no mod_ssl's written for 2.0.  I expect that since the
API is finally calming down a bit (except for input filtering) that people
will start to write ssl modules soon.

Ryan

_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------