RE: [Zope] Global Interpreter Lock and four processors...
-----Original Message----- From: Tony McDonald [mailto:tony.mcdonald@ncl.ac.uk] Sent: Tuesday, November 23, 1999 4:37 AM To: Zope List Subject: [Zope] Global Interpreter Lock and four processors...
Hi all, We have a four processor Sun box (each processor scores about 2400 pystones, whereas a 500 MHz P3 gets about 5400 pystones).
I have three zope installations running, one of which is hosting three subsites. If I create four *binary* installations of Zope (complete with the thread-safe MySQL adaptor and all the other python libraries necessary to run a Zope site), will I run into the global interpreter lock?
You *allways* run into the interpreter lock. (*Nobody* expects the spanish inquisition!)
What I'm saying is if I *don't* use /usr/local/bin/python for my Zope installations, but instead rely on ZOPE_HOME/bin/python, will I be able to spread my Zope sites out over the four processors, or is there a nasty sting in the tail in doing this?
Depends on the OS. some OSes will tend to prefer one process to one processor, and associate a cost with moving processes between processors, but threading may throw a wrench in that whole plan. Perhaps there is a a Solaris command to bind a process to one specific processor? -Michel
On Tue, Nov 23, 1999 at 10:26:05AM -0500, Michel Pelletier wrote:
Perhaps there is a a Solaris command to bind a process to one specific processor?
See psrset(1M). You can bind processes to sets of processors. -- Dom Mitchell -- Palmer & Harvey McLane -- Unix Systems Administrator "vi has two modes the one in which it beeps and the one in which it doesnt." -- Anon. -- ********************************************************************** This email and any files transmitted with it are intended solely for the use of the individual or entity to whom they are addressed. The email has been swept by MIMEsweeper for the presence of computer viruses. www.palmerharvey.co.uk **********************************************************************
participants (2)
-
Dom.Mitchellï¼ palmerharvey.co.uk -
Michel Pelletier