can MapServer run on multiple cpu machines?

James Lindstorff jlindstorff at GMAIL.COM
Mon Nov 21 11:21:37 EST 2005


Don't know your OS but if you run apache in prefork-mode to will
happen "automatically" in that your OS will schedule the instances to
run on an idle CPU.

On 11/21/05, Xin <crazygecko at gmail.com> wrote:
> James,
>
>  Thanks for the reply.
>
>  I see what you're saying.  Having multiple instances of MapServer taking
> advantage of multiple CPUs is great, just what I'm looking for.  Will this
> be done automatically?  That is to say, will new MapServer instances
> automatically use other CPUs, or does it require manual setup.  Perhaps
> Apache 2.0's multithreading abilities will handle this.
>
>  Thanks,
>  Xin
>
> On 21/11/05, James Lindstorff <jlindstorff at gmail.com> wrote:
> > The single mapserver process will not be able to take advantage of a
> > multi cpu machine.
> >
> > On the other hand if it's through put you need more instances of
> > mapserver can run simultanious om multiple CPU. That is you can serve
> > for instance two request at the same time, but the single mapserver
> > instance will not gain anything directly by multiple CPU's.
> >
> >
> >
> > On 11/21/05, Xin <crazygecko at gmail.com > wrote:
> > > Hi,
> > >
> > >  Can MapServer run on multiple cpu machines?  This would save us some
> money
> > > by buying dual cpu machines, rather than single ones.  Since we'll be
> able
> > > to have a lot more processing power for less machines.  I was just on
> the
> > > phone to people at Rackspace, and they tell me the application has to be
> > > multithreaded.  Is MapServer multithreaded?
> > >
> > >  Also, can mapserver take full advantage of dual cores?  I read
> somewhere
> > > that they are different to dual cpus.  Forgive me if they are!
> > >
> > >  Appreciate the help.
> > >
> > >  Cheers,
> > >  Xin
> > >
> >
>
>



More information about the mapserver-users mailing list