zope/zeo on multiprocessor machines?
I've been told that zope is not set up to utilize the extra processing power of multiproc machines. I have a new intel x-serve with the dual-core dual-proc setup, and want to get the most I can out of zope. I've read a few articles that mention running more than one zope process as zeo clients sharing a single ZODB. What isn't mentioned is any additional seetup needed to ensure that each zeo client uses a separate processor. Is there any? Or is this automagically handled? Thanks in advance for any answers, Cris
--On 23. Januar 2007 09:24:56 -0800 cristopher pierson ewing <cewing@u.washington.edu> wrote:
I've been told that zope is not set up to utilize the extra processing power of multiproc machines. I have a new intel x-serve with the dual-core dual-proc setup, and want to get the most I can out of zope. I've read a few articles that mention running more than one zope process as zeo clients sharing a single ZODB. What isn't mentioned is any additional seetup needed to ensure that each zeo client uses a separate processor.
You can use "taskset" on Linux (schedutils package). However it is somewhat a mistry about the overhead when you don't tie a process to a particular CPU. The current Linux scheduler tries to keep long-running processes on the same CPU instead of migrating them from one CPU to another one. The basic rule: 1 CPU per major process (ZEO client, ZEO server etc). -aj
cristopher pierson ewing, on 2007-01-23:
I've been told that zope is not set up to utilize the extra processing power of multiproc machines. I have a new intel x-serve with the dual-core dual-proc setup, and want to get the most I can out of zope. I've read a few articles that mention running more than one zope process as zeo clients sharing a single ZODB. What isn't mentioned is any additional seetup needed to ensure that each zeo client uses a separate processor. Is there any? Or is this automagically handled?
A site we (Zest Software) made for a big customer runs on a dual-core server, with some multithreading so it seems like there are 4 processors. With one zeo client, only at most 25 percent of the processing power was used. We added a few zeo clients and saw the processor a lot more active, probably approaching 100 % when all clients are fully active. A big improvement, with no additional setup that I am aware of. So it is automagically handled, yes. -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ "Do not worry about your difficulties in computers, I can assure you mine are still greater."
participants (3)
-
Andreas Jung -
cristopher pierson ewing -
Maurits van Rees