[Zope] CPU architecture and Zope
Dieter Maurer
dieter at handshake.de
Fri Jan 13 16:19:49 EST 2006
Andreas Jung wrote at 2006-1-10 06:59 +0100:
> ...
>A single Python process also a multi-threaded Python application can never
>run on multiple CPUs.
This means as long as it continues executing Python code.
However, Python often calls non Python code (e.g. "C" or "C++" implemented
extensions) and it may release the "GIL" (Global Interpreter Lock)
to allow multiple CPUs to be exploited.
It happens not to frequently that such C extensions are CPU bound.
Nevertheless, a dual core CPU might be an advantage, if your Zope
needs additional services such as Apache, Squid or (especially) databases.
The second CPU can then be used to run these services while Zope occupies
a single one.
And, as other already suggested, you can have 2 Zopes and a ZEO on
your dual core host.
--
Dieter
More information about the Zope
mailing list