[Zope] performance issues

Paul Winkler pw_lists@slinkp.com
Mon, 28 Oct 2002 06:43:21 -0800


On Mon, Oct 28, 2002 at 02:31:55PM +0100, Wolfgang Langner wrote:
> Python doesn't use the second Processor. (see GIL Tread on comp.lang.python)

Yes it does. It just doesn't make *good* use of it - in fact
performance is likely to be worse than on a uniprocessor
machine, as the python process may frequently bounce from one 
processor to another.  Read that thread again.

What's needed is a way to *prevent* python from using more
than one processor, so you can run one (or more) instances
of Zope per processor and bind them to that processor.
This depends on the OS.  IIRC Solaris can do this,
but Linux out-of-the-box cannot.

--PW

-- 

Paul Winkler
http://www.slinkp.com
"Welcome to Muppet Labs, where the future is made - today!"